Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Integers_Validation_MultiSum",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Integers_Validation_MultiSum",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.328/2.328, allocations: 387.1 MB / 399.7 MB, free: 9.539 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009959/0.0009959, allocations: 184.1 kB / 492.3 MB, free: 0.6211 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.592/1.592, allocations: 221.3 MB / 0.7871 GB, free: 12.96 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001006/0.001006, allocations: 97.61 kB / 0.9267 GB, free: 14.02 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.288e-05/3.292e-05, allocations: 4 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3274/0.3275, allocations: 142.4 MB / 1.213 GB, free: 38.39 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.071/1.398, allocations: 149.2 MB / 1.358 GB, free: 19 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002239/1.399, allocations: 73.45 kB / 1.358 GB, free: 19 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.007419/1.406, allocations: 2.005 MB / 1.36 GB, free: 34.59 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.866e-06/1.406, allocations: 2.906 kB / 1.36 GB, free: 34.59 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.685e-05/1.406, allocations: 3.969 kB / 1.36 GB, free: 34.59 MB / 0.8386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0007449/1.407, allocations: 433.9 kB / 1.361 GB, free: 34.21 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.051e-05/1.407, allocations: 15.53 kB / 1.361 GB, free: 34.21 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.709e-05/1.407, allocations: 40.11 kB / 1.361 GB, free: 34.17 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.108e-05/1.407, allocations: 11.59 kB / 1.361 GB, free: 34.17 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002292/1.407, allocations: 198.5 kB / 1.361 GB, free: 33.96 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.835e-05/1.407, allocations: 7.469 kB / 1.361 GB, free: 33.96 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.589e-05/1.407, allocations: 7.75 kB / 1.361 GB, free: 33.96 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002561/1.408, allocations: 112.8 kB / 1.361 GB, free: 33.92 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.428e-06/1.408, allocations: 7.531 kB / 1.361 GB, free: 33.92 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.835e-05/1.408, allocations: 3.953 kB / 1.361 GB, free: 33.91 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.892e-06/1.408, allocations: 0 / 1.361 GB, free: 33.91 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001778/1.408, allocations: 87.08 kB / 1.361 GB, free: 33.91 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007095/1.409, allocations: 419.9 kB / 1.362 GB, free: 33.63 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006319/1.409, allocations: 133.5 kB / 1.362 GB, free: 33.61 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.417e-05/1.409, allocations: 48.09 kB / 1.362 GB, free: 33.6 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.682e-05/1.409, allocations: 11.72 kB / 1.362 GB, free: 33.59 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.006e-05/1.409, allocations: 30.56 kB / 1.362 GB, free: 33.55 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=10): time 1.393e-06/1.409, allocations: 4 kB / 1.362 GB, free: 33.55 MB / 0.8386 GB Notification: Performance of matching and sorting (n=10): time 0.0003216/1.41, allocations: 129.6 kB / 1.362 GB, free: 33.51 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.885e-05/1.41, allocations: 55.62 kB / 1.362 GB, free: 33.44 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001303/1.41, allocations: 138.5 kB / 1.362 GB, free: 33.34 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.062e-05/1.41, allocations: 29.08 kB / 1.362 GB, free: 33.31 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 6.908e-05/1.41, allocations: 103.4 kB / 1.362 GB, free: 33.22 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.452e-05/1.41, allocations: 32.53 kB / 1.362 GB, free: 33.2 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.939e-06/1.41, allocations: 0 / 1.362 GB, free: 33.2 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001032/1.41, allocations: 329 kB / 1.363 GB, free: 32.89 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.372e-05/1.41, allocations: 36.16 kB / 1.363 GB, free: 32.89 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.599e-05/1.41, allocations: 39.67 kB / 1.363 GB, free: 32.89 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.863e-05/1.41, allocations: 33.23 kB / 1.363 GB, free: 32.89 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/1.41, allocations: 0 / 1.363 GB, free: 32.89 MB / 0.8386 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002224/1.411, allocations: 133.9 kB / 1.363 GB, free: 32.85 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 2.211e-05/1.411, allocations: 5.578 kB / 1.363 GB, free: 32.85 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/1.411, allocations: 0 / 1.363 GB, free: 32.85 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.295e-05/1.411, allocations: 3.969 kB / 1.363 GB, free: 32.85 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000272/1.411, allocations: 46.73 kB / 1.363 GB, free: 32.84 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.969e-06/1.411, allocations: 4.484 kB / 1.363 GB, free: 32.84 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001939/1.411, allocations: 39.3 kB / 1.363 GB, free: 32.83 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.709e-05/1.411, allocations: 2.016 kB / 1.363 GB, free: 32.83 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 (add1.u[1],add1.u[2],add1.u[3],add1.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.209e-05/1.411, allocations: 113.8 kB / 1.363 GB, free: 32.72 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.784e-05/1.411, allocations: 7.781 kB / 1.363 GB, free: 32.71 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.669e-05/1.411, allocations: 19.97 kB / 1.363 GB, free: 32.71 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.577e-06/1.411, allocations: 1.359 kB / 1.363 GB, free: 32.71 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.013e-06/1.411, allocations: 3.844 kB / 1.363 GB, free: 32.71 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.007e-06/1.411, allocations: 288 / 1.363 GB, free: 32.71 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002322/1.412, allocations: 231.8 kB / 1.363 GB, free: 32.52 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/1.412, allocations: 1.406 kB / 1.363 GB, free: 32.52 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002387/1.412, allocations: 50.59 kB / 1.363 GB, free: 32.52 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.358e-06/1.412, allocations: 0 / 1.363 GB, free: 32.52 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.792e-05/1.412, allocations: 2.578 kB / 1.363 GB, free: 32.52 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.785e-06/1.412, allocations: 3.844 kB / 1.363 GB, free: 32.52 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.345e-06/1.412, allocations: 0 / 1.363 GB, free: 32.52 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002809/1.412, allocations: 237.4 kB / 1.363 GB, free: 32.37 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 3.399e-05/1.412, allocations: 89.91 kB / 1.364 GB, free: 32.27 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.847e-05/1.412, allocations: 8.734 kB / 1.364 GB, free: 32.26 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002107/1.413, allocations: 24.06 kB / 1.364 GB, free: 32.26 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001049/1.413, allocations: 37.33 kB / 1.364 GB, free: 32.26 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.433e-05/1.413, allocations: 5.312 kB / 1.364 GB, free: 32.26 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 8.66e-05/1.413, allocations: 115.9 kB / 1.364 GB, free: 32.18 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.4e-07/1.413, allocations: 0 / 1.364 GB, free: 32.18 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002504/1.413, allocations: 26.22 kB / 1.364 GB, free: 32.18 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 (add1.u[1],add1.u[2],add1.u[3],add1.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005916/1.414, allocations: 0.7714 MB / 1.365 GB, free: 31.5 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0002316/1.414, allocations: 98.19 kB / 1.365 GB, free: 31.5 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.624e-06/1.414, allocations: 4 kB / 1.365 GB, free: 31.5 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0001163/1.414, allocations: 66.8 kB / 1.365 GB, free: 31.49 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002069/1.414, allocations: 12.92 kB / 1.365 GB, free: 31.49 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005831/1.415, allocations: 224.1 kB / 1.365 GB, free: 31.34 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00029/1.415, allocations: 0.7114 MB / 1.366 GB, free: 30.64 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0001192/1.415, allocations: 19.05 kB / 1.366 GB, free: 30.64 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001008/1.415, allocations: 40.8 kB / 1.366 GB, free: 30.63 MB / 0.8386 GB Notification: Performance of SimCode: time 8.62e-07/1.415, allocations: 0 / 1.366 GB, free: 30.63 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01393/1.429, allocations: 3.206 MB / 1.369 GB, free: 30.39 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002421/1.43, allocations: 155.2 kB / 1.369 GB, free: 30.16 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.573/3.003, allocations: 3.938 kB / 1.369 GB, free: 30.16 MB / 0.8386 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Integers_Validation_MultiSum_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Integers_Validation_MultiSum.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum_res.mat does not exist to compare? outputFormat=mat