Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.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.Equal,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_Equal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Equal,fileNamePrefix="Buildings_latest_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 10.0.0-master/package.mo): time 2.285/2.285, allocations: 390.5 MB / 398 MB, free: 10.95 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.001023/0.001023, allocations: 180.8 kB / 491.2 MB, free: 1.594 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.611/1.611, allocations: 221.5 MB / 0.7868 GB, free: 13.38 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.0008907/0.0008906, allocations: 95.58 kB / 0.9269 GB, free: 13.88 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.711e-05/3.721e-05, allocations: 4 kB / 1.073 GB, free: 181.9 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3114/0.3114, allocations: 143 MB / 1.212 GB, free: 39.43 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.055/1.366, allocations: 153.4 MB / 1.362 GB, free: 17.3 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002387/1.366, allocations: 76.11 kB / 1.362 GB, free: 17.3 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.0273/1.394, allocations: 11.03 MB / 1.373 GB, free: 32.42 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.263e-06/1.394, allocations: 0 / 1.373 GB, free: 32.42 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.311e-05/1.394, allocations: 11.78 kB / 1.373 GB, free: 32.42 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.0006894/1.394, allocations: 0.5283 MB / 1.374 GB, free: 31.97 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.689e-05/1.394, allocations: 7.844 kB / 1.374 GB, free: 31.97 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.287e-05/1.395, allocations: 34.95 kB / 1.374 GB, free: 31.95 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006297/1.395, allocations: 396.1 kB / 1.374 GB, free: 31.72 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.098e-05/1.395, allocations: 10.44 kB / 1.374 GB, free: 31.71 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.521e-05/1.395, allocations: 6.875 kB / 1.374 GB, free: 31.71 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001301/1.395, allocations: 61.98 kB / 1.374 GB, free: 31.71 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001533/1.396, allocations: 96.66 kB / 1.374 GB, free: 31.67 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.335e-05/1.396, allocations: 3.938 kB / 1.374 GB, free: 31.67 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.671e-05/1.396, allocations: 0 / 1.374 GB, free: 31.67 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.641e-06/1.396, allocations: 3.844 kB / 1.374 GB, free: 31.67 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007894/1.396, allocations: 497.4 kB / 1.375 GB, free: 31.42 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001826/1.397, allocations: 121.8 kB / 1.375 GB, free: 31.39 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.86e-05/1.397, allocations: 45.11 kB / 1.375 GB, free: 31.39 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.36e-05/1.397, allocations: 3.781 kB / 1.375 GB, free: 31.39 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001889/1.397, allocations: 108.9 kB / 1.375 GB, free: 31.33 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=13): time 2.265e-06/1.397, allocations: 3.984 kB / 1.375 GB, free: 31.33 MB / 0.8386 GB Notification: Performance of matching and sorting (n=13): time 0.0003336/1.397, allocations: 167.4 kB / 1.375 GB, free: 31.28 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.499e-05/1.397, allocations: 55.34 kB / 1.375 GB, free: 31.21 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004719/1.398, allocations: 459.5 kB / 1.376 GB, free: 31.1 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.942e-05/1.398, allocations: 25.7 kB / 1.376 GB, free: 31.07 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001139/1.398, allocations: 161.5 kB / 1.376 GB, free: 30.98 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 4.016e-05/1.398, allocations: 39.42 kB / 1.376 GB, free: 30.96 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.756e-05/1.398, allocations: 3.938 kB / 1.376 GB, free: 30.96 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001454/1.398, allocations: 352.6 kB / 1.376 GB, free: 30.64 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001368/1.398, allocations: 108 kB / 1.376 GB, free: 30.64 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001621/1.398, allocations: 139.2 kB / 1.376 GB, free: 30.61 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003274/1.399, allocations: 141.9 kB / 1.377 GB, free: 30.61 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/1.399, allocations: 0 / 1.377 GB, free: 30.61 MB / 0.8386 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.000525/1.399, allocations: 352 kB / 1.377 GB, free: 30.54 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.631e-05/1.399, allocations: 3.844 kB / 1.377 GB, free: 30.54 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.152e-06/1.399, allocations: 3.844 kB / 1.377 GB, free: 30.54 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.803e-05/1.399, allocations: 3.953 kB / 1.377 GB, free: 30.54 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002114/1.4, allocations: 54.41 kB / 1.377 GB, free: 30.54 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.43e-06/1.4, allocations: 3.812 kB / 1.377 GB, free: 30.54 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001312/1.4, allocations: 18.42 kB / 1.377 GB, free: 30.52 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.939e-05/1.4, allocations: 17.84 kB / 1.377 GB, free: 30.52 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 9.489e-05/1.4, allocations: 112.7 kB / 1.377 GB, free: 30.41 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002296/1.4, allocations: 167.7 kB / 1.377 GB, free: 30.36 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.886e-05/1.4, allocations: 31.14 kB / 1.377 GB, free: 30.34 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002807/1.4, allocations: 194.9 kB / 1.377 GB, free: 30.3 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.799e-06/1.4, allocations: 3.906 kB / 1.377 GB, free: 30.3 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.04e-06/1.401, allocations: 0 / 1.377 GB, free: 30.3 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/1.401, allocations: 2.953 kB / 1.377 GB, free: 30.3 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002276/1.401, allocations: 275.2 kB / 1.378 GB, free: 30.14 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/1.401, allocations: 7.938 kB / 1.378 GB, free: 30.13 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.291e-05/1.401, allocations: 14.42 kB / 1.378 GB, free: 30.13 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/1.401, allocations: 0 / 1.378 GB, free: 30.13 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.465e-05/1.401, allocations: 3.844 kB / 1.378 GB, free: 30.13 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.474e-06/1.401, allocations: 3.953 kB / 1.378 GB, free: 30.13 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.377e-06/1.401, allocations: 0 / 1.378 GB, free: 30.13 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002503/1.401, allocations: 211.8 kB / 1.378 GB, free: 30.04 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 7.973e-05/1.401, allocations: 115.7 kB / 1.378 GB, free: 29.93 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.663e-05/1.401, allocations: 15.31 kB / 1.378 GB, free: 29.92 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.836e-05/1.401, allocations: 6.422 kB / 1.378 GB, free: 29.92 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.324e-05/1.401, allocations: 22.84 kB / 1.378 GB, free: 29.92 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.277e-05/1.401, allocations: 6.141 kB / 1.378 GB, free: 29.92 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0002733/1.402, allocations: 298.4 kB / 1.378 GB, free: 29.84 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.6e-07/1.402, allocations: 0 / 1.378 GB, free: 29.84 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002974/1.402, allocations: 68.75 kB / 1.378 GB, free: 29.83 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.403, allocations: 1.013 MB / 1.379 GB, free: 29.09 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0002679/1.404, allocations: 183.8 kB / 1.38 GB, free: 29.08 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/1.404, allocations: 0 / 1.38 GB, free: 29.08 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 8.831e-05/1.404, allocations: 69.7 kB / 1.38 GB, free: 29.07 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004668/1.404, allocations: 78.88 kB / 1.38 GB, free: 29.06 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008479/1.405, allocations: 0.5002 MB / 1.38 GB, free: 28.87 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003777/1.405, allocations: 0.7969 MB / 1.381 GB, free: 28.16 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0001441/1.406, allocations: 60.84 kB / 1.381 GB, free: 28.15 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001432/1.406, allocations: 107.7 kB / 1.381 GB, free: 28.15 MB / 0.8386 GB Notification: Performance of SimCode: time 2.61e-07/1.406, allocations: 0 / 1.381 GB, free: 28.15 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02644/1.432, allocations: 6.492 MB / 1.388 GB, free: 25.57 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001707/1.432, allocations: 179.2 kB / 1.388 GB, free: 25.38 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.028/3.461, allocations: 0 / 1.388 GB, free: 25.38 MB / 0.8386 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Equal_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_Equal_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_Equal.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Equal_res.mat does not exist to compare? outputFormat=mat