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.298/2.298, allocations: 387.4 MB / 394.9 MB, free: 13.42 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.001009/0.00101, allocations: 180.8 kB / 487.4 MB, free: 5.062 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.604/1.604, allocations: 221.5 MB / 0.7824 GB, free: 0.9766 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008817/0.0008816, allocations: 91.91 kB / 0.9219 GB, free: 2.219 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.426e-05/2.42e-05, allocations: 4 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2418/0.2419, allocations: 142.4 MB / 1.206 GB, free: 43.87 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9959/1.238, allocations: 152.6 MB / 1.355 GB, free: 17.93 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002359/1.238, allocations: 75.77 kB / 1.355 GB, free: 17.93 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.02801/1.266, allocations: 11.04 MB / 1.366 GB, free: 33.05 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.823e-06/1.266, allocations: 0 / 1.366 GB, free: 33.05 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 2.935e-05/1.266, allocations: 11.41 kB / 1.366 GB, free: 33.05 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0006519/1.267, allocations: 0.5276 MB / 1.367 GB, free: 32.6 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.757e-05/1.267, allocations: 11.5 kB / 1.367 GB, free: 32.6 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.876e-05/1.267, allocations: 30.91 kB / 1.367 GB, free: 32.59 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006297/1.268, allocations: 400.3 kB / 1.367 GB, free: 32.35 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.059e-05/1.268, allocations: 3.781 kB / 1.367 GB, free: 32.35 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.944e-05/1.268, allocations: 3.938 kB / 1.367 GB, free: 32.35 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001202/1.268, allocations: 55.45 kB / 1.367 GB, free: 32.35 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001516/1.268, allocations: 105 kB / 1.367 GB, free: 32.31 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.011e-05/1.268, allocations: 8 kB / 1.367 GB, free: 32.3 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.625e-05/1.268, allocations: 0 / 1.367 GB, free: 32.3 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/1.268, allocations: 0 / 1.367 GB, free: 32.3 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007185/1.269, allocations: 496.7 kB / 1.368 GB, free: 32.05 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001691/1.269, allocations: 121 kB / 1.368 GB, free: 32.02 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.105e-05/1.269, allocations: 44.44 kB / 1.368 GB, free: 32.02 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.866e-05/1.269, allocations: 3.672 kB / 1.368 GB, free: 32.02 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001546/1.269, allocations: 106.9 kB / 1.368 GB, free: 31.97 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=13): time 1.453e-06/1.269, allocations: 0 / 1.368 GB, free: 31.97 MB / 0.8386 GB Notification: Performance of matching and sorting (n=13): time 0.0002817/1.27, allocations: 173.8 kB / 1.368 GB, free: 31.91 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.429e-05/1.27, allocations: 58.5 kB / 1.368 GB, free: 31.84 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004285/1.27, allocations: 455.2 kB / 1.368 GB, free: 31.73 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.723e-05/1.27, allocations: 29.27 kB / 1.369 GB, free: 31.7 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001043/1.27, allocations: 163.7 kB / 1.369 GB, free: 31.61 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.11e-05/1.27, allocations: 35.61 kB / 1.369 GB, free: 31.6 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.682e-05/1.27, allocations: 0 / 1.369 GB, free: 31.6 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001156/1.27, allocations: 348.5 kB / 1.369 GB, free: 31.29 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001326/1.27, allocations: 112.4 kB / 1.369 GB, free: 31.28 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001447/1.271, allocations: 141.5 kB / 1.369 GB, free: 31.25 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003048/1.271, allocations: 134.7 kB / 1.369 GB, free: 31.25 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/1.271, allocations: 0 / 1.369 GB, free: 31.25 MB / 0.8386 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.000533/1.271, allocations: 352.8 kB / 1.37 GB, free: 31.19 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.616e-05/1.272, allocations: 11.88 kB / 1.37 GB, free: 31.18 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/1.272, allocations: 3.938 kB / 1.37 GB, free: 31.18 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.582e-05/1.272, allocations: 3.875 kB / 1.37 GB, free: 31.18 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002151/1.272, allocations: 48.88 kB / 1.37 GB, free: 31.18 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.082e-05/1.272, allocations: 7.828 kB / 1.37 GB, free: 31.17 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001378/1.272, allocations: 22.14 kB / 1.37 GB, free: 31.16 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.961e-05/1.272, allocations: 13.61 kB / 1.37 GB, free: 31.16 MB / 0.8386 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 () * 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 8.822e-05/1.272, allocations: 113.3 kB / 1.37 GB, free: 31.05 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.000204/1.272, allocations: 168.3 kB / 1.37 GB, free: 31 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.628e-05/1.272, allocations: 38.89 kB / 1.37 GB, free: 30.98 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002724/1.273, allocations: 196 kB / 1.37 GB, free: 30.93 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.036e-06/1.273, allocations: 2.766 kB / 1.37 GB, free: 30.93 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/1.273, allocations: 0 / 1.37 GB, free: 30.93 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.576e-06/1.273, allocations: 0 / 1.37 GB, free: 30.93 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000195/1.273, allocations: 276 kB / 1.371 GB, free: 30.77 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/1.273, allocations: 0 / 1.371 GB, free: 30.77 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.615e-05/1.273, allocations: 14.92 kB / 1.371 GB, free: 30.77 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.125e-06/1.273, allocations: 7.875 kB / 1.371 GB, free: 30.77 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.301e-05/1.273, allocations: 3.312 kB / 1.371 GB, free: 30.77 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/1.273, allocations: 0 / 1.371 GB, free: 30.77 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/1.273, allocations: 3.953 kB / 1.371 GB, free: 30.76 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002232/1.273, allocations: 210 kB / 1.371 GB, free: 30.67 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 7.581e-05/1.273, allocations: 118.1 kB / 1.371 GB, free: 30.56 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.679e-05/1.273, allocations: 7.688 kB / 1.371 GB, free: 30.56 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001023/1.273, allocations: 10.61 kB / 1.371 GB, free: 30.55 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.677e-05/1.274, allocations: 17.36 kB / 1.371 GB, free: 30.55 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.455e-05/1.274, allocations: 10.86 kB / 1.371 GB, free: 30.55 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0002765/1.274, allocations: 297.7 kB / 1.371 GB, free: 30.47 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.3e-07/1.274, allocations: 0 / 1.371 GB, free: 30.47 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0003019/1.274, allocations: 72.52 kB / 1.371 GB, free: 30.45 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: 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) * 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.001277/1.275, allocations: 1.007 MB / 1.372 GB, free: 29.72 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.000255/1.276, allocations: 179.2 kB / 1.373 GB, free: 29.71 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/1.276, allocations: 0 / 1.373 GB, free: 29.71 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 8.629e-05/1.276, allocations: 67.83 kB / 1.373 GB, free: 29.71 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000426/1.276, allocations: 87.95 kB / 1.373 GB, free: 29.7 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008198/1.277, allocations: 0.5001 MB / 1.373 GB, free: 29.5 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003462/1.277, allocations: 0.8077 MB / 1.374 GB, free: 28.79 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0001478/1.278, allocations: 51.02 kB / 1.374 GB, free: 28.79 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001362/1.278, allocations: 109.4 kB / 1.374 GB, free: 28.78 MB / 0.8386 GB Notification: Performance of SimCode: time 3e-07/1.278, allocations: 3.844 kB / 1.374 GB, free: 28.78 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02647/1.304, allocations: 6.491 MB / 1.38 GB, free: 27.08 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001962/1.304, allocations: 168.7 kB / 1.381 GB, free: 26.89 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.088/3.392, allocations: 3.938 kB / 1.381 GB, free: 26.88 MB / 0.8386 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