Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.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.Abs,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_Abs",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Abs,fileNamePrefix="Buildings_latest_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 10.0.0-master/package.mo): time 2.414/2.414, allocations: 390.3 MB / 402.8 MB, free: 6.695 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.001472/0.001472, allocations: 176.9 kB / 496.1 MB, free: 12.87 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.608/1.608, allocations: 221.3 MB / 0.7915 GB, free: 5.398 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.001137/0.001137, allocations: 103.6 kB / 0.9317 GB, free: 5.711 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.995e-05/4.017e-05, allocations: 4 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.312/0.3121, allocations: 143 MB / 1.219 GB, free: 13.4 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9715/1.284, allocations: 149.8 MB / 1.365 GB, free: 4.238 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002147/1.284, allocations: 74.36 kB / 1.365 GB, free: 4.199 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.002756/1.287, allocations: 0.9225 MB / 1.366 GB, free: 3.367 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.753e-06/1.287, allocations: 0 / 1.366 GB, free: 3.367 MB / 0.823 GB Notification: Performance of Transformations before backend: time 9.398e-06/1.287, allocations: 4 kB / 1.366 GB, free: 3.363 MB / 0.823 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.0003951/1.287, allocations: 351.7 kB / 1.366 GB, free: 2.98 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.918e-05/1.287, allocations: 8.031 kB / 1.366 GB, free: 2.973 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.847e-05/1.287, allocations: 33.25 kB / 1.366 GB, free: 2.934 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.977e-05/1.287, allocations: 8.688 kB / 1.366 GB, free: 2.926 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001264/1.287, allocations: 167 kB / 1.367 GB, free: 2.723 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.495e-05/1.287, allocations: 0 / 1.367 GB, free: 2.723 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.68e-05/1.287, allocations: 12.3 kB / 1.367 GB, free: 2.715 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001168/1.288, allocations: 57.23 kB / 1.367 GB, free: 2.66 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.905e-06/1.288, allocations: 0 / 1.367 GB, free: 2.66 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.193e-05/1.288, allocations: 0 / 1.367 GB, free: 2.66 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.148e-06/1.288, allocations: 7.938 kB / 1.367 GB, free: 2.652 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.16e-05/1.288, allocations: 30.31 kB / 1.367 GB, free: 2.637 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004048/1.288, allocations: 291 kB / 1.367 GB, free: 2.32 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001064/1.288, allocations: 56.05 kB / 1.367 GB, free: 2.27 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.081e-05/1.288, allocations: 22.92 kB / 1.367 GB, free: 2.25 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.715e-05/1.288, allocations: 4 kB / 1.367 GB, free: 2.246 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.714e-05/1.288, allocations: 30.56 kB / 1.367 GB, free: 2.207 MB / 0.823 GB Notification: Performance of pre-optimization done (n=4): time 1.092e-06/1.288, allocations: 0 / 1.367 GB, free: 2.207 MB / 0.823 GB Notification: Performance of matching and sorting (n=4): time 0.0001814/1.289, allocations: 63.83 kB / 1.367 GB, free: 2.148 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.367e-05/1.289, allocations: 51.41 kB / 1.367 GB, free: 2.086 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.03e-05/1.289, allocations: 96.38 kB / 1.367 GB, free: 1.988 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.372e-05/1.289, allocations: 25.7 kB / 1.367 GB, free: 1.957 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 4.113e-05/1.289, allocations: 87.62 kB / 1.367 GB, free: 1.871 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 2.183e-05/1.289, allocations: 19.31 kB / 1.367 GB, free: 1.855 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.639e-06/1.289, allocations: 0 / 1.367 GB, free: 1.855 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 8.534e-05/1.289, allocations: 310.8 kB / 1.368 GB, free: 1.543 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.174e-05/1.289, allocations: 18.12 kB / 1.368 GB, free: 1.531 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.764e-05/1.289, allocations: 15.42 kB / 1.368 GB, free: 1.52 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.229e-05/1.289, allocations: 7.75 kB / 1.368 GB, free: 1.516 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/1.289, allocations: 0 / 1.368 GB, free: 1.516 MB / 0.823 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001054/1.289, allocations: 62.5 kB / 1.368 GB, free: 1.457 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.549e-05/1.289, allocations: 8 kB / 1.368 GB, free: 1.449 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/1.289, allocations: 4 kB / 1.368 GB, free: 1.445 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.046e-05/1.289, allocations: 0 / 1.368 GB, free: 1.445 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001344/1.289, allocations: 19.97 kB / 1.368 GB, free: 1.426 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.566e-06/1.289, allocations: 3.953 kB / 1.368 GB, free: 1.422 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.186e-05/1.289, allocations: 6.625 kB / 1.368 GB, free: 1.418 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.188e-05/1.289, allocations: 4 kB / 1.368 GB, free: 1.414 MB / 0.823 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 () * 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 6.132e-05/1.289, allocations: 112.8 kB / 1.368 GB, free: 1.297 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.849e-05/1.289, allocations: 11.91 kB / 1.368 GB, free: 1.285 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.936e-05/1.29, allocations: 7.094 kB / 1.368 GB, free: 1.277 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/1.29, allocations: 0 / 1.368 GB, free: 1.277 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/1.29, allocations: 0 / 1.368 GB, free: 1.277 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/1.29, allocations: 4.141 kB / 1.368 GB, free: 1.273 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001616/1.29, allocations: 183.1 kB / 1.368 GB, free: 1.055 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/1.29, allocations: 0 / 1.368 GB, free: 1.055 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001005/1.29, allocations: 15.98 kB / 1.368 GB, free: 1.039 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.921e-06/1.29, allocations: 3.984 kB / 1.368 GB, free: 1.035 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.107e-06/1.29, allocations: 4 kB / 1.368 GB, free: 1.031 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/1.29, allocations: 0 / 1.368 GB, free: 1.031 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.285e-06/1.29, allocations: 3.984 kB / 1.368 GB, free: 1.027 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001493/1.29, allocations: 161 kB / 1.368 GB, free: 0.8672 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 3.439e-05/1.29, allocations: 85.02 kB / 1.368 GB, free: 0.7656 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.472e-05/1.29, allocations: 0 / 1.368 GB, free: 0.7656 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001034/1.29, allocations: 8.859 kB / 1.368 GB, free: 0.7578 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.657e-05/1.29, allocations: 19.05 kB / 1.369 GB, free: 0.7422 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.933e-06/1.29, allocations: 4 kB / 1.369 GB, free: 0.7383 MB / 0.823 GB Notification: Performance of sorting global known variables: time 4.733e-05/1.29, allocations: 82.66 kB / 1.369 GB, free: 0.6602 MB / 0.823 GB Notification: Performance of sort global known variables: time 1.5e-07/1.29, allocations: 0 / 1.369 GB, free: 0.6602 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0002082/1.291, allocations: 8 kB / 1.369 GB, free: 0.6523 MB / 0.823 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 () * 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.0004451/1.291, allocations: 0.7031 MB / 1.369 GB, free: 15.94 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001077/1.291, allocations: 39.86 kB / 1.369 GB, free: 15.91 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/1.291, allocations: 0 / 1.369 GB, free: 15.91 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 4.285e-05/1.291, allocations: 15.31 kB / 1.369 GB, free: 15.9 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001735/1.291, allocations: 3.562 kB / 1.369 GB, free: 15.9 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003834/1.292, allocations: 124.1 kB / 1.369 GB, free: 15.75 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002093/1.292, allocations: 0.6887 MB / 1.37 GB, free: 15.04 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 4.751e-05/1.292, allocations: 4 kB / 1.37 GB, free: 15.03 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.145e-05/1.292, allocations: 14.8 kB / 1.37 GB, free: 15.02 MB / 0.8386 GB Notification: Performance of SimCode: time 9.32e-07/1.292, allocations: 0 / 1.37 GB, free: 15.02 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01236/1.304, allocations: 1.497 MB / 1.372 GB, free: 13.66 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002199/1.305, allocations: 155 kB / 1.372 GB, free: 13.44 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.537/2.842, allocations: 4 kB / 1.372 GB, free: 13.43 MB / 0.8386 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Abs_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_Abs_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_Abs.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Abs_res.mat does not exist to compare? outputFormat=mat