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.499/2.499, allocations: 393.5 MB / 408.4 MB, free: 10.93 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.00136/0.00136, allocations: 176 kB / 0.4901 GB, free: 2.094 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.527/1.527, allocations: 223.1 MB / 0.7992 GB, free: 14.63 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.0009415/0.0009413, allocations: 102 kB / 0.9396 GB, free: 1.805 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003653/0.0003653, allocations: 11.44 kB / 1.09 GB, free: 216.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3115/0.3119, allocations: 143 MB / 1.229 GB, free: 105.5 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1932/0.5051, allocations: 150.1 MB / 1.376 GB, free: 3.258 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002374/0.5054, allocations: 71.95 kB / 1.376 GB, free: 3.188 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.006835/0.5122, allocations: 2.005 MB / 1.378 GB, free: 1.18 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.655e-06/0.5123, allocations: 0 / 1.378 GB, free: 1.18 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 1.162e-05/0.5123, allocations: 4 kB / 1.378 GB, free: 1.176 MB / 0.8698 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.000772/0.5131, allocations: 456.7 kB / 1.378 GB, free: 0.6836 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.71e-05/0.5131, allocations: 12.5 kB / 1.378 GB, free: 0.6719 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.168e-05/0.5132, allocations: 42.55 kB / 1.378 GB, free: 0.6211 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.657e-05/0.5132, allocations: 15.77 kB / 1.378 GB, free: 0.6055 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002394/0.5135, allocations: 195.4 kB / 1.379 GB, free: 380 kB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.795e-05/0.5135, allocations: 12 kB / 1.379 GB, free: 368 kB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.23e-05/0.5135, allocations: 8 kB / 1.379 GB, free: 360 kB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004701/0.514, allocations: 174.6 kB / 1.379 GB, free: 180 kB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.967e-06/0.514, allocations: 0 / 1.379 GB, free: 180 kB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.936e-05/0.5141, allocations: 4 kB / 1.379 GB, free: 176 kB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.522e-06/0.5141, allocations: 3.984 kB / 1.379 GB, free: 172 kB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005911/0.5147, allocations: 187.8 kB / 1.379 GB, free: 15.98 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007088/0.5154, allocations: 412.5 kB / 1.379 GB, free: 15.53 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008698/0.5163, allocations: 190.5 kB / 1.379 GB, free: 15.34 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 2.786e-05/0.5163, allocations: 4 kB / 1.379 GB, free: 15.33 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.416e-05/0.5163, allocations: 38.69 kB / 1.38 GB, free: 15.29 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=10): time 2.003e-06/0.5164, allocations: 4.031 kB / 1.38 GB, free: 15.28 MB / 0.8855 GB Notification: Performance of matching and sorting (n=10): time 0.001/0.5174, allocations: 325.5 kB / 1.38 GB, free: 14.96 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.281e-05/0.5174, allocations: 59.36 kB / 1.38 GB, free: 14.89 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001316/0.5176, allocations: 136.6 kB / 1.38 GB, free: 14.74 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 2.409e-05/0.5176, allocations: 25.7 kB / 1.38 GB, free: 14.71 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 7.923e-05/0.5177, allocations: 108 kB / 1.38 GB, free: 14.6 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 3.489e-05/0.5177, allocations: 27.94 kB / 1.38 GB, free: 14.57 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.157e-05/0.5177, allocations: 8 kB / 1.38 GB, free: 14.57 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001652/0.5179, allocations: 318.8 kB / 1.38 GB, free: 14.25 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003014/0.5182, allocations: 95.92 kB / 1.381 GB, free: 14.15 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002695/0.5185, allocations: 87.86 kB / 1.381 GB, free: 14.07 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002806/0.5188, allocations: 95.86 kB / 1.381 GB, free: 13.97 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.5188, allocations: 4 kB / 1.381 GB, free: 13.97 MB / 0.8855 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0006559/0.5195, allocations: 233.4 kB / 1.381 GB, free: 13.73 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.941e-05/0.5195, allocations: 4 kB / 1.381 GB, free: 13.73 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.08e-06/0.5195, allocations: 0 / 1.381 GB, free: 13.73 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.886e-05/0.5195, allocations: 0 / 1.381 GB, free: 13.73 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002838/0.5198, allocations: 51.88 kB / 1.381 GB, free: 13.68 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.056e-06/0.5198, allocations: 4 kB / 1.381 GB, free: 13.68 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001923/0.52, allocations: 35.92 kB / 1.381 GB, free: 13.64 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.711e-05/0.5201, allocations: 4 kB / 1.381 GB, free: 13.64 MB / 0.8855 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 () * Number of clocked 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 0.0001251/0.5202, allocations: 117.8 kB / 1.381 GB, free: 13.51 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.787e-05/0.5202, allocations: 15.89 kB / 1.381 GB, free: 13.5 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.85e-05/0.5203, allocations: 16.72 kB / 1.381 GB, free: 13.48 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.769e-06/0.5203, allocations: 4 kB / 1.381 GB, free: 13.47 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.033e-06/0.5203, allocations: 4 kB / 1.381 GB, free: 13.47 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.5203, allocations: 0 / 1.381 GB, free: 13.47 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000271/0.5206, allocations: 241.4 kB / 1.381 GB, free: 13.18 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.5206, allocations: 0 / 1.381 GB, free: 13.18 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002698/0.5209, allocations: 43.95 kB / 1.382 GB, free: 13.14 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.477e-06/0.5209, allocations: 4 kB / 1.382 GB, free: 13.14 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.817e-05/0.5209, allocations: 4 kB / 1.382 GB, free: 13.13 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.556e-06/0.5209, allocations: 0 / 1.382 GB, free: 13.13 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.5209, allocations: 3.938 kB / 1.382 GB, free: 13.13 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007013/0.5217, allocations: 335.5 kB / 1.382 GB, free: 12.79 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 5.426e-05/0.5217, allocations: 88.95 kB / 1.382 GB, free: 12.68 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.717e-05/0.5218, allocations: 11.92 kB / 1.382 GB, free: 12.67 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000247/0.522, allocations: 27.97 kB / 1.382 GB, free: 12.64 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001134/0.5221, allocations: 27.97 kB / 1.382 GB, free: 12.61 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.456e-05/0.5221, allocations: 7.984 kB / 1.382 GB, free: 12.61 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 8.032e-05/0.5222, allocations: 107.8 kB / 1.382 GB, free: 12.5 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.21e-07/0.5222, allocations: 0 / 1.382 GB, free: 12.5 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0002658/0.5225, allocations: 39.83 kB / 1.382 GB, free: 12.46 MB / 0.8855 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 () * Number of clocked 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.00112/0.5236, allocations: 0.8731 MB / 1.383 GB, free: 11.56 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0006249/0.5243, allocations: 199.8 kB / 1.383 GB, free: 11.37 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 4.979e-06/0.5243, allocations: 4 kB / 1.383 GB, free: 11.36 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0003105/0.5246, allocations: 115.8 kB / 1.383 GB, free: 11.25 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002105/0.5248, allocations: 15.98 kB / 1.383 GB, free: 11.23 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001984/0.5268, allocations: 0.92 MB / 1.384 GB, free: 10.26 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002967/0.5271, allocations: 0.7121 MB / 1.385 GB, free: 9.52 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.000125/0.5273, allocations: 32.36 kB / 1.385 GB, free: 9.488 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001095/0.5274, allocations: 39.41 kB / 1.385 GB, free: 9.449 MB / 0.8855 GB Notification: Performance of SimCode: time 4.41e-07/0.5274, allocations: 4 kB / 1.385 GB, free: 9.445 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0148/0.5422, allocations: 3.19 MB / 1.388 GB, free: 6.406 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00021/0.5425, allocations: 192.1 kB / 1.388 GB, free: 6.168 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.731/2.273, allocations: 0 / 1.388 GB, free: 6.168 MB / 0.8855 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