Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.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.Abs,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Integers_Validation_Abs",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Abs,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Integers_Validation_Abs",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.238/2.238, allocations: 390.3 MB / 405.3 MB, free: 13.49 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.001133/0.001133, allocations: 165.1 kB / 498.1 MB, free: 5.754 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.471/1.471, allocations: 223.2 MB / 0.7948 GB, free: 17.85 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.0008687/0.0008689, allocations: 101.9 kB / 0.9346 GB, free: 6.164 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003958/0.0003958, allocations: 13.47 kB / 1.084 GB, free: 221.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2768/0.2772, allocations: 142.3 MB / 1.223 GB, free: 114.1 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1752/0.4524, allocations: 149 MB / 1.368 GB, free: 12.91 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002308/0.4527, allocations: 71.94 kB / 1.369 GB, free: 12.84 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.00264/0.4553, allocations: 0.926 MB / 1.369 GB, free: 11.92 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.024e-06/0.4554, allocations: 8 kB / 1.369 GB, free: 11.91 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 5.46e-06/0.4554, allocations: 0 / 1.369 GB, free: 11.91 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004364/0.4558, allocations: 359.2 kB / 1.37 GB, free: 11.51 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.563e-05/0.4559, allocations: 8.031 kB / 1.37 GB, free: 11.5 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.188e-05/0.4559, allocations: 34.56 kB / 1.37 GB, free: 11.46 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.862e-05/0.456, allocations: 0 / 1.37 GB, free: 11.46 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001526/0.4561, allocations: 174.9 kB / 1.37 GB, free: 11.25 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.743e-05/0.4562, allocations: 8 kB / 1.37 GB, free: 11.24 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.21e-05/0.4562, allocations: 4 kB / 1.37 GB, free: 11.24 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002127/0.4564, allocations: 73.64 kB / 1.37 GB, free: 11.16 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.854e-06/0.4564, allocations: 0 / 1.37 GB, free: 11.16 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.174e-05/0.4564, allocations: 3.984 kB / 1.37 GB, free: 11.16 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.987e-06/0.4564, allocations: 0 / 1.37 GB, free: 11.16 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002182/0.4567, allocations: 63.95 kB / 1.37 GB, free: 11.09 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004199/0.4571, allocations: 292.7 kB / 1.37 GB, free: 10.76 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002072/0.4573, allocations: 74.53 kB / 1.371 GB, free: 10.68 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.207e-05/0.4573, allocations: 0 / 1.371 GB, free: 10.68 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.272e-05/0.4574, allocations: 34.59 kB / 1.371 GB, free: 10.63 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=4): time 8.32e-07/0.4574, allocations: 0 / 1.371 GB, free: 10.63 MB / 0.8698 GB Notification: Performance of matching and sorting (n=4): time 0.0004197/0.4578, allocations: 129.6 kB / 1.371 GB, free: 10.5 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.65e-05/0.4578, allocations: 59.36 kB / 1.371 GB, free: 10.43 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.488e-05/0.4579, allocations: 96.98 kB / 1.371 GB, free: 10.33 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.589e-05/0.4579, allocations: 25.7 kB / 1.371 GB, free: 10.3 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 5.16e-05/0.458, allocations: 96.08 kB / 1.371 GB, free: 10.2 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 1.547e-05/0.458, allocations: 3.906 kB / 1.371 GB, free: 10.2 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.92e-06/0.458, allocations: 0 / 1.371 GB, free: 10.2 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001133/0.4581, allocations: 326.8 kB / 1.371 GB, free: 9.867 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001031/0.4583, allocations: 23.98 kB / 1.371 GB, free: 9.844 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.677e-05/0.4584, allocations: 35.97 kB / 1.371 GB, free: 9.809 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001039/0.4585, allocations: 31.97 kB / 1.371 GB, free: 9.777 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.4585, allocations: 0 / 1.371 GB, free: 9.777 MB / 0.8698 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002463/0.4587, allocations: 97.5 kB / 1.371 GB, free: 9.676 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.573e-05/0.4588, allocations: 8 kB / 1.371 GB, free: 9.668 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.4588, allocations: 0 / 1.371 GB, free: 9.668 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.731e-05/0.4588, allocations: 0 / 1.371 GB, free: 9.668 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000131/0.4589, allocations: 15.98 kB / 1.371 GB, free: 9.652 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.58e-06/0.4589, allocations: 0 / 1.371 GB, free: 9.652 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.895e-05/0.459, allocations: 15.94 kB / 1.371 GB, free: 9.637 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.844e-06/0.459, allocations: 4 kB / 1.371 GB, free: 9.633 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: 2 (abs1.u,abs1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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.761e-05/0.4591, allocations: 109.8 kB / 1.372 GB, free: 9.516 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.755e-05/0.4592, allocations: 7.984 kB / 1.372 GB, free: 9.508 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.794e-05/0.4592, allocations: 7.906 kB / 1.372 GB, free: 9.492 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.854e-06/0.4592, allocations: 0 / 1.372 GB, free: 9.492 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.4592, allocations: 0 / 1.372 GB, free: 9.492 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.21e-06/0.4592, allocations: 4 kB / 1.372 GB, free: 9.488 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001621/0.4594, allocations: 177.8 kB / 1.372 GB, free: 9.266 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.885e-06/0.4594, allocations: 4 kB / 1.372 GB, free: 9.262 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001061/0.4595, allocations: 23.92 kB / 1.372 GB, free: 9.238 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.774e-06/0.4595, allocations: 0 / 1.372 GB, free: 9.238 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.271e-05/0.4595, allocations: 4 kB / 1.372 GB, free: 9.234 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.223e-06/0.4595, allocations: 3.938 kB / 1.372 GB, free: 9.23 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.963e-06/0.4595, allocations: 4 kB / 1.372 GB, free: 9.227 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002902/0.4598, allocations: 191.8 kB / 1.372 GB, free: 9.023 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 3.546e-05/0.4599, allocations: 81.14 kB / 1.372 GB, free: 8.926 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.567e-05/0.4599, allocations: 4 kB / 1.372 GB, free: 8.922 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001033/0.46, allocations: 7.984 kB / 1.372 GB, free: 8.914 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.094e-05/0.4601, allocations: 11.98 kB / 1.372 GB, free: 8.902 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.873e-06/0.4601, allocations: 4 kB / 1.372 GB, free: 8.898 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 4.195e-05/0.4601, allocations: 91.27 kB / 1.372 GB, free: 8.809 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4602, allocations: 0 / 1.372 GB, free: 8.809 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0002103/0.4604, allocations: 8 kB / 1.372 GB, free: 8.801 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: 2 (abs1.u,abs1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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.0005797/0.461, allocations: 0.7472 MB / 1.373 GB, free: 8.023 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0002508/0.4612, allocations: 63.94 kB / 1.373 GB, free: 7.961 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.4612, allocations: 4 kB / 1.373 GB, free: 7.957 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001225/0.4614, allocations: 43.91 kB / 1.373 GB, free: 7.914 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001869/0.4615, allocations: 7.938 kB / 1.373 GB, free: 7.906 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009325/0.4625, allocations: 480.7 kB / 1.373 GB, free: 7.391 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002263/0.4627, allocations: 0.6848 MB / 1.374 GB, free: 6.68 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 4.643e-05/0.4628, allocations: 4 kB / 1.374 GB, free: 6.676 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.588e-05/0.4628, allocations: 15.42 kB / 1.374 GB, free: 6.66 MB / 0.8698 GB Notification: Performance of SimCode: time 3.81e-07/0.4628, allocations: 0 / 1.374 GB, free: 6.66 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01321/0.4761, allocations: 1.467 MB / 1.376 GB, free: 5.316 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001774/0.4763, allocations: 180.3 kB / 1.376 GB, free: 5.074 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.525/2.001, allocations: 0 / 1.376 GB, free: 5.074 MB / 0.8698 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Abs_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Integers_Validation_Abs_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Integers_Validation_Abs.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Abs_res.mat does not exist to compare? outputFormat=mat