Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_MultiSum",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum,fileNamePrefix="Buildings_latest_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 10.0.0-master/package.mo): time 2.209/2.209, allocations: 390.5 MB / 398 MB, free: 10.91 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.001031/0.001031, allocations: 180.8 kB / 491.2 MB, free: 1.555 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.607/1.607, allocations: 221.5 MB / 0.7868 GB, free: 13.29 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.001177/0.001177, allocations: 94.81 kB / 0.9269 GB, free: 13.8 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.598e-05/2.6e-05, allocations: 8.562 kB / 1.073 GB, free: 181.9 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3557/0.3557, allocations: 143 MB / 1.212 GB, free: 39.4 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9796/1.335, allocations: 149.3 MB / 1.358 GB, free: 17.66 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002206/1.336, allocations: 63.44 kB / 1.358 GB, free: 17.66 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.006848/1.343, allocations: 2.005 MB / 1.36 GB, free: 33.26 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.673e-06/1.343, allocations: 0 / 1.36 GB, free: 33.26 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.234e-05/1.343, allocations: 0 / 1.36 GB, free: 33.26 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.0006127/1.343, allocations: 437 kB / 1.361 GB, free: 32.88 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.207e-05/1.343, allocations: 13.17 kB / 1.361 GB, free: 32.88 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.975e-05/1.343, allocations: 7.75 kB / 1.361 GB, free: 32.88 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001934/1.344, allocations: 209.9 kB / 1.361 GB, free: 32.66 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.639e-05/1.344, allocations: 6.812 kB / 1.361 GB, free: 32.66 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.909e-05/1.344, allocations: 7.625 kB / 1.361 GB, free: 32.66 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001716/1.344, allocations: 76.52 kB / 1.361 GB, free: 32.66 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001713/1.344, allocations: 103.5 kB / 1.361 GB, free: 32.62 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.935e-06/1.344, allocations: 0 / 1.361 GB, free: 32.62 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.8e-05/1.344, allocations: 0.7969 kB / 1.361 GB, free: 32.62 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.06e-05/1.344, allocations: 3.875 kB / 1.361 GB, free: 32.62 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006035/1.345, allocations: 391.9 kB / 1.361 GB, free: 32.36 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005532/1.345, allocations: 129.1 kB / 1.362 GB, free: 32.34 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.497e-05/1.345, allocations: 49.95 kB / 1.362 GB, free: 32.32 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.458e-05/1.345, allocations: 7.312 kB / 1.362 GB, free: 32.32 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.377e-05/1.345, allocations: 30.56 kB / 1.362 GB, free: 32.29 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=10): time 1.132e-06/1.345, allocations: 0 / 1.362 GB, free: 32.29 MB / 0.8386 GB Notification: Performance of matching and sorting (n=10): time 0.0002558/1.346, allocations: 125.8 kB / 1.362 GB, free: 32.24 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.988e-05/1.346, allocations: 53.33 kB / 1.362 GB, free: 32.18 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.466e-05/1.346, allocations: 133.1 kB / 1.362 GB, free: 32.08 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.608e-05/1.346, allocations: 25.7 kB / 1.362 GB, free: 32.05 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 4.798e-05/1.346, allocations: 106.8 kB / 1.362 GB, free: 31.96 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.765e-05/1.346, allocations: 28.53 kB / 1.362 GB, free: 31.94 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.092e-05/1.346, allocations: 0 / 1.362 GB, free: 31.94 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 9.312e-05/1.346, allocations: 328.5 kB / 1.362 GB, free: 31.62 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.145e-05/1.346, allocations: 34.45 kB / 1.362 GB, free: 31.62 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.401e-05/1.346, allocations: 36.66 kB / 1.363 GB, free: 31.62 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.303e-05/1.346, allocations: 36.06 kB / 1.363 GB, free: 31.62 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/1.346, allocations: 0 / 1.363 GB, free: 31.62 MB / 0.8386 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001803/1.346, allocations: 126.1 kB / 1.363 GB, free: 31.58 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.292e-05/1.346, allocations: 11.72 kB / 1.363 GB, free: 31.58 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.538e-06/1.346, allocations: 0 / 1.363 GB, free: 31.58 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.32e-05/1.346, allocations: 0 / 1.363 GB, free: 31.58 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002577/1.347, allocations: 52.11 kB / 1.363 GB, free: 31.57 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.029e-06/1.347, allocations: 3.984 kB / 1.363 GB, free: 31.57 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001742/1.347, allocations: 31.16 kB / 1.363 GB, free: 31.57 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.421e-05/1.347, allocations: 1.453 kB / 1.363 GB, free: 31.57 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 7.631e-05/1.347, allocations: 110.1 kB / 1.363 GB, free: 31.46 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001911/1.347, allocations: 133.8 kB / 1.363 GB, free: 31.41 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.022e-05/1.347, allocations: 7.75 kB / 1.363 GB, free: 31.41 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.89e-05/1.347, allocations: 17.11 kB / 1.363 GB, free: 31.4 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.895e-06/1.347, allocations: 7.984 kB / 1.363 GB, free: 31.39 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/1.347, allocations: 0 / 1.363 GB, free: 31.39 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/1.347, allocations: 1.266 kB / 1.363 GB, free: 31.39 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001814/1.347, allocations: 210.1 kB / 1.363 GB, free: 31.23 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/1.347, allocations: 0 / 1.363 GB, free: 31.23 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002388/1.348, allocations: 42.03 kB / 1.363 GB, free: 31.23 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/1.348, allocations: 1.453 kB / 1.363 GB, free: 31.23 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.493e-05/1.348, allocations: 9.344 kB / 1.363 GB, free: 31.23 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/1.348, allocations: 0 / 1.363 GB, free: 31.23 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/1.348, allocations: 0 / 1.363 GB, free: 31.23 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002194/1.348, allocations: 227.2 kB / 1.363 GB, free: 31.08 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 3.011e-05/1.348, allocations: 90.44 kB / 1.364 GB, free: 30.98 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.444e-05/1.348, allocations: 3.938 kB / 1.364 GB, free: 30.98 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002073/1.348, allocations: 35.2 kB / 1.364 GB, free: 30.97 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.36e-05/1.348, allocations: 26.09 kB / 1.364 GB, free: 30.97 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.326e-05/1.348, allocations: 11.05 kB / 1.364 GB, free: 30.97 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 6.447e-05/1.348, allocations: 102.1 kB / 1.364 GB, free: 30.9 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.41e-07/1.348, allocations: 0 / 1.364 GB, free: 30.9 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002446/1.349, allocations: 23.09 kB / 1.364 GB, free: 30.9 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.0005433/1.349, allocations: 0.7719 MB / 1.365 GB, free: 30.22 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001779/1.349, allocations: 88.55 kB / 1.365 GB, free: 30.22 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/1.349, allocations: 192 / 1.365 GB, free: 30.22 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 9.422e-05/1.35, allocations: 69.03 kB / 1.365 GB, free: 30.21 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002193/1.35, allocations: 7.688 kB / 1.365 GB, free: 30.21 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005197/1.35, allocations: 208.6 kB / 1.365 GB, free: 30.08 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003219/1.351, allocations: 0.7091 MB / 1.366 GB, free: 29.38 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0001136/1.351, allocations: 21.16 kB / 1.366 GB, free: 29.38 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.696e-05/1.351, allocations: 43.53 kB / 1.366 GB, free: 29.37 MB / 0.8386 GB Notification: Performance of SimCode: time 5.11e-07/1.351, allocations: 0 / 1.366 GB, free: 29.37 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02115/1.372, allocations: 2.81 MB / 1.368 GB, free: 29.23 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001694/1.372, allocations: 146.8 kB / 1.369 GB, free: 29.05 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.611/2.983, allocations: 3.938 kB / 1.369 GB, free: 29.04 MB / 0.8386 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_MultiSum_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_MultiSum.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum_res.mat does not exist to compare? outputFormat=mat