Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.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.Equal,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Integers_Validation_Equal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Equal,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Integers_Validation_Equal",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.351/2.351, allocations: 390.3 MB / 405.3 MB, free: 13.54 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.001041/0.001042, allocations: 173 kB / 498.1 MB, free: 5.762 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.523/1.523, allocations: 223.2 MB / 0.7948 GB, free: 18.95 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.000895/0.000895, allocations: 106.7 kB / 0.9346 GB, free: 7.238 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004337/0.0004339, allocations: 14.95 kB / 1.084 GB, free: 212.7 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2849/0.2854, allocations: 142.4 MB / 1.223 GB, free: 89.5 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1909/0.4763, allocations: 153.4 MB / 1.373 GB, free: 15.93 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002427/0.4766, allocations: 79.95 kB / 1.373 GB, free: 15.85 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.03011/0.5067, allocations: 11.15 MB / 1.384 GB, free: 4.68 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.754e-06/0.5068, allocations: 0 / 1.384 GB, free: 4.68 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 3.062e-05/0.5068, allocations: 4 kB / 1.384 GB, free: 4.676 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.001053/0.5079, allocations: 0.6187 MB / 1.384 GB, free: 4.008 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.35e-05/0.508, allocations: 8.031 kB / 1.384 GB, free: 4 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.214e-05/0.508, allocations: 42.55 kB / 1.384 GB, free: 3.949 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.633e-05/0.5081, allocations: 35.58 kB / 1.384 GB, free: 3.914 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007759/0.5089, allocations: 405.1 kB / 1.385 GB, free: 3.48 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.709e-05/0.5089, allocations: 4 kB / 1.385 GB, free: 3.477 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.154e-05/0.509, allocations: 12 kB / 1.385 GB, free: 3.465 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002587/0.5092, allocations: 109.5 kB / 1.385 GB, free: 3.352 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.697e-06/0.5093, allocations: 0 / 1.385 GB, free: 3.352 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.55e-05/0.5093, allocations: 4 kB / 1.385 GB, free: 3.348 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.007e-06/0.5093, allocations: 0 / 1.385 GB, free: 3.348 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001954/0.5095, allocations: 71.91 kB / 1.385 GB, free: 3.277 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009102/0.5104, allocations: 0.5159 MB / 1.385 GB, free: 2.711 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003333/0.5108, allocations: 142.7 kB / 1.386 GB, free: 2.562 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 1.815e-05/0.5108, allocations: 4 kB / 1.386 GB, free: 2.559 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002322/0.511, allocations: 115.3 kB / 1.386 GB, free: 2.434 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=13): time 1.904e-06/0.511, allocations: 0 / 1.386 GB, free: 2.434 MB / 0.8855 GB Notification: Performance of matching and sorting (n=13): time 0.0005348/0.5116, allocations: 232.8 kB / 1.386 GB, free: 2.203 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.414e-05/0.5116, allocations: 51.41 kB / 1.386 GB, free: 2.141 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005745/0.5122, allocations: 484.7 kB / 1.386 GB, free: 1.664 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 2.118e-05/0.5122, allocations: 29.7 kB / 1.386 GB, free: 1.629 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001304/0.5124, allocations: 168.4 kB / 1.387 GB, free: 1.461 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 4.003e-05/0.5124, allocations: 35.55 kB / 1.387 GB, free: 1.426 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.859e-05/0.5124, allocations: 8 kB / 1.387 GB, free: 1.418 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001407/0.5126, allocations: 346.8 kB / 1.387 GB, free: 1.07 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002216/0.5128, allocations: 116.7 kB / 1.387 GB, free: 0.9531 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002377/0.5131, allocations: 155.6 kB / 1.387 GB, free: 0.793 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002251/0.5133, allocations: 136.9 kB / 1.387 GB, free: 0.6602 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/0.5133, allocations: 0 / 1.387 GB, free: 0.6602 MB / 0.8855 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005992/0.5139, allocations: 361 kB / 1.388 GB, free: 308 kB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.157e-05/0.5139, allocations: 12.73 kB / 1.388 GB, free: 296 kB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.514, allocations: 3.938 kB / 1.388 GB, free: 292 kB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.849e-05/0.514, allocations: 0 / 1.388 GB, free: 292 kB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002201/0.5142, allocations: 55.97 kB / 1.388 GB, free: 236 kB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.444e-06/0.5142, allocations: 4 kB / 1.388 GB, free: 232 kB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001426/0.5144, allocations: 19.84 kB / 1.388 GB, free: 212 kB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.066e-05/0.5144, allocations: 19.98 kB / 1.388 GB, free: 192 kB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition2,$PRE.timTabLin1.tab.nextTimeEvent,$whenCondition1,$PRE.timTabLin.tab.nextTimeEvent,intEqu.u1,intEqu.u2,intEqu.y,timTabLin.tab.nextTimeEvent,$PRE.timTabLin.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEvent,$PRE.timTabLin1.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 33 * 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.0001813/0.5146, allocations: 177.8 kB / 1.388 GB, free: 4 kB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.364e-05/0.5147, allocations: 31.8 kB / 1.388 GB, free: 15.97 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004166/0.5151, allocations: 216.4 kB / 1.388 GB, free: 15.74 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.935e-06/0.5151, allocations: 0 / 1.388 GB, free: 15.74 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.127e-06/0.5151, allocations: 0 / 1.388 GB, free: 15.74 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.051e-06/0.5151, allocations: 3.984 kB / 1.388 GB, free: 15.74 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002853/0.5154, allocations: 309.4 kB / 1.389 GB, free: 15.39 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.784e-06/0.5154, allocations: 0 / 1.389 GB, free: 15.39 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.779e-05/0.5155, allocations: 15.98 kB / 1.389 GB, free: 15.37 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.006e-06/0.5155, allocations: 0 / 1.389 GB, free: 15.37 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.648e-05/0.5155, allocations: 4 kB / 1.389 GB, free: 15.37 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.981e-06/0.5156, allocations: 7.938 kB / 1.389 GB, free: 15.36 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.5156, allocations: 3.984 kB / 1.389 GB, free: 15.36 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003701/0.5159, allocations: 224.6 kB / 1.389 GB, free: 15.12 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001401/0.5161, allocations: 120.7 kB / 1.389 GB, free: 14.98 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.987e-05/0.5161, allocations: 0 / 1.389 GB, free: 14.98 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001012/0.5163, allocations: 8 kB / 1.389 GB, free: 14.97 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.31e-05/0.5163, allocations: 23.92 kB / 1.389 GB, free: 14.95 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.497e-05/0.5164, allocations: 7.984 kB / 1.389 GB, free: 14.94 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.0003646/0.5167, allocations: 327.1 kB / 1.389 GB, free: 14.62 MB / 0.9011 GB Notification: Performance of sort global known variables: time 2.1e-07/0.5167, allocations: 3.938 kB / 1.389 GB, free: 14.62 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0003151/0.5171, allocations: 71.84 kB / 1.389 GB, free: 14.55 MB / 0.9011 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition2,$whenCondition1,intEqu.u1,intEqu.u2,intEqu.y,timTabLin.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEvent,timTabLin1.tab.nextTimeEventScaled) * Number of discrete states: 4 (timTabLin.tab.nextTimeEvent,timTabLin1.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001627/0.5187, allocations: 1.085 MB / 1.39 GB, free: 13.6 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.0004093/0.5191, allocations: 206.4 kB / 1.391 GB, free: 13.4 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 3.847e-06/0.5191, allocations: 0 / 1.391 GB, free: 13.4 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0001571/0.5193, allocations: 71.84 kB / 1.391 GB, free: 13.33 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004065/0.5197, allocations: 86.02 kB / 1.391 GB, free: 13.25 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001503/0.5212, allocations: 1.206 MB / 1.392 GB, free: 11.98 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004258/0.5217, allocations: 0.7988 MB / 1.393 GB, free: 11.15 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0001649/0.5218, allocations: 54.94 kB / 1.393 GB, free: 11.1 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001821/0.522, allocations: 111.4 kB / 1.393 GB, free: 10.99 MB / 0.9011 GB Notification: Performance of SimCode: time 5.81e-07/0.522, allocations: 0 / 1.393 GB, free: 10.99 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02103/0.5431, allocations: 7.025 MB / 1.4 GB, free: 4.129 MB / 0.9011 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002214/0.5433, allocations: 220.5 kB / 1.4 GB, free: 3.883 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.05/2.593, allocations: 4 kB / 1.4 GB, free: 3.879 MB / 0.9011 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Equal_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Integers_Validation_Equal_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Integers_Validation_Equal.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Equal_res.mat does not exist to compare? outputFormat=mat