Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.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.Subtract,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Integers_Validation_Subtract",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Subtract,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Integers_Validation_Subtract",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.273/2.273, allocations: 390.3 MB / 405.3 MB, free: 13.43 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.001241/0.001241, allocations: 187.2 kB / 498.1 MB, free: 5.676 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.555/1.555, allocations: 223.2 MB / 0.7948 GB, free: 17.87 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.0008949/0.0008952, allocations: 95.95 kB / 0.9346 GB, free: 6.176 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003976/0.0003978, allocations: 14.41 kB / 1.084 GB, free: 221.5 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2541/0.2545, allocations: 142.3 MB / 1.223 GB, free: 114.1 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.177/0.4315, allocations: 149.1 MB / 1.369 GB, free: 12.81 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002548/0.4318, allocations: 67.97 kB / 1.369 GB, free: 12.75 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.00456/0.4364, allocations: 1.438 MB / 1.37 GB, free: 11.31 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.693e-06/0.4364, allocations: 0 / 1.37 GB, free: 11.31 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 7.905e-06/0.4365, allocations: 4 kB / 1.37 GB, free: 11.3 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0005935/0.4371, allocations: 406.9 kB / 1.37 GB, free: 10.86 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.492e-05/0.4371, allocations: 8.031 kB / 1.37 GB, free: 10.85 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.773e-05/0.4372, allocations: 34.56 kB / 1.37 GB, free: 10.81 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.303e-05/0.4372, allocations: 11.84 kB / 1.37 GB, free: 10.8 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001454/0.4374, allocations: 182.9 kB / 1.371 GB, free: 10.58 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.02e-05/0.4374, allocations: 4 kB / 1.371 GB, free: 10.57 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.055e-05/0.4374, allocations: 7.984 kB / 1.371 GB, free: 10.57 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003154/0.4377, allocations: 109.6 kB / 1.371 GB, free: 10.45 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.815e-06/0.4378, allocations: 0 / 1.371 GB, free: 10.45 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.473e-05/0.4378, allocations: 8 kB / 1.371 GB, free: 10.45 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.102e-06/0.4378, allocations: 4 kB / 1.371 GB, free: 10.44 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003918/0.4382, allocations: 115.8 kB / 1.371 GB, free: 10.33 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005045/0.4387, allocations: 348.6 kB / 1.371 GB, free: 9.938 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006281/0.4393, allocations: 130.5 kB / 1.371 GB, free: 9.801 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.955e-05/0.4394, allocations: 4 kB / 1.371 GB, free: 9.797 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.755e-05/0.4394, allocations: 34.56 kB / 1.371 GB, free: 9.754 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=7): time 2.564e-06/0.4394, allocations: 4 kB / 1.371 GB, free: 9.75 MB / 0.8698 GB Notification: Performance of matching and sorting (n=7): time 0.0006889/0.4401, allocations: 209.5 kB / 1.372 GB, free: 9.539 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.319e-05/0.4401, allocations: 51.41 kB / 1.372 GB, free: 9.477 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.514e-05/0.4402, allocations: 124.8 kB / 1.372 GB, free: 9.348 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.465e-05/0.4403, allocations: 29.64 kB / 1.372 GB, free: 9.312 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 4.459e-05/0.4403, allocations: 92.14 kB / 1.372 GB, free: 9.219 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 2.678e-05/0.4403, allocations: 27.84 kB / 1.372 GB, free: 9.191 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.743e-06/0.4404, allocations: 0 / 1.372 GB, free: 9.191 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 9.671e-05/0.4405, allocations: 318.8 kB / 1.372 GB, free: 8.871 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001853/0.4406, allocations: 51.95 kB / 1.372 GB, free: 8.82 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001749/0.4408, allocations: 55.95 kB / 1.372 GB, free: 8.766 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001981/0.441, allocations: 59.95 kB / 1.372 GB, free: 8.707 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.275e-06/0.441, allocations: 0 / 1.372 GB, free: 8.707 MB / 0.8698 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004286/0.4415, allocations: 153.6 kB / 1.373 GB, free: 8.551 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.533e-05/0.4415, allocations: 4 kB / 1.373 GB, free: 8.547 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.099e-06/0.4415, allocations: 4 kB / 1.373 GB, free: 8.543 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.72e-05/0.4415, allocations: 3.953 kB / 1.373 GB, free: 8.539 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001883/0.4417, allocations: 31.91 kB / 1.373 GB, free: 8.508 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.552e-06/0.4417, allocations: 0.5469 kB / 1.373 GB, free: 8.508 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001332/0.4419, allocations: 31.83 kB / 1.373 GB, free: 8.477 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.212e-05/0.4419, allocations: 4 kB / 1.373 GB, free: 8.473 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (sub.y,reaToInt.y,reaToInt1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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.51e-05/0.442, allocations: 119.4 kB / 1.373 GB, free: 8.348 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.967e-05/0.442, allocations: 3.906 kB / 1.373 GB, free: 8.344 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.932e-05/0.4421, allocations: 12.38 kB / 1.373 GB, free: 8.328 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.4421, allocations: 0 / 1.373 GB, free: 8.328 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.354e-06/0.4421, allocations: 11.89 kB / 1.373 GB, free: 8.316 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.505e-06/0.4421, allocations: 3.938 kB / 1.373 GB, free: 8.312 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000197/0.4423, allocations: 201.6 kB / 1.373 GB, free: 8.066 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.432e-06/0.4423, allocations: 0 / 1.373 GB, free: 8.066 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001731/0.4425, allocations: 27.97 kB / 1.373 GB, free: 8.039 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.4425, allocations: 0 / 1.373 GB, free: 8.039 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.337e-05/0.4425, allocations: 4 kB / 1.373 GB, free: 8.035 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.452e-06/0.4425, allocations: 0 / 1.373 GB, free: 8.035 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.4425, allocations: 0 / 1.373 GB, free: 8.035 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004644/0.443, allocations: 271.2 kB / 1.373 GB, free: 7.754 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 3.705e-05/0.443, allocations: 81.11 kB / 1.373 GB, free: 7.656 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.774e-05/0.4431, allocations: 0 / 1.373 GB, free: 7.656 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001571/0.4432, allocations: 23.97 kB / 1.373 GB, free: 7.633 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.393e-05/0.4433, allocations: 19.97 kB / 1.373 GB, free: 7.613 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.028e-05/0.4433, allocations: 4 kB / 1.373 GB, free: 7.609 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 5.464e-05/0.4434, allocations: 99.22 kB / 1.373 GB, free: 7.512 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.41e-07/0.4434, allocations: 0 / 1.373 GB, free: 7.512 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0002773/0.4437, allocations: 24.03 kB / 1.373 GB, free: 7.488 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (sub.y,reaToInt.y,reaToInt1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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.0007733/0.4445, allocations: 0.7903 MB / 1.374 GB, free: 6.672 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0004223/0.4449, allocations: 127.9 kB / 1.374 GB, free: 6.547 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.4449, allocations: 7.938 kB / 1.374 GB, free: 6.539 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002097/0.4451, allocations: 71.89 kB / 1.374 GB, free: 6.469 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002033/0.4453, allocations: 11.98 kB / 1.374 GB, free: 6.457 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001285/0.4466, allocations: 0.6579 MB / 1.375 GB, free: 5.75 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002357/0.4469, allocations: 0.7004 MB / 1.376 GB, free: 5.023 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 7.959e-05/0.447, allocations: 12.19 kB / 1.376 GB, free: 5.008 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.11e-05/0.447, allocations: 23.42 kB / 1.376 GB, free: 4.984 MB / 0.8698 GB Notification: Performance of SimCode: time 4.31e-07/0.447, allocations: 0 / 1.376 GB, free: 4.984 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01465/0.4617, allocations: 2.23 MB / 1.378 GB, free: 2.887 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002062/0.462, allocations: 188.6 kB / 1.378 GB, free: 2.645 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.547/2.009, allocations: 0 / 1.378 GB, free: 2.645 MB / 0.8698 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Integers_Validation_Subtract_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Integers_Validation_Subtract.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract_res.mat does not exist to compare? outputFormat=mat