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.447/2.447, allocations: 393.5 MB / 408.4 MB, free: 10.82 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.001489/0.001489, allocations: 187.9 kB / 0.4901 GB, free: 2.094 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.564/1.564, allocations: 223.1 MB / 0.7992 GB, free: 15.6 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.0008738/0.0008738, allocations: 97.92 kB / 0.9396 GB, free: 2.746 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004008/0.0004009, allocations: 10 kB / 1.09 GB, free: 212.6 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2964/0.2969, allocations: 143 MB / 1.229 GB, free: 85.34 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2014/0.4983, allocations: 149.8 MB / 1.376 GB, free: 15.3 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002612/0.4986, allocations: 71.95 kB / 1.376 GB, free: 15.23 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.002973/0.5016, allocations: 0.9287 MB / 1.377 GB, free: 14.3 MB / 0.8855 GB Notification: Performance of FrontEnd: time 3.287e-06/0.5016, allocations: 0 / 1.377 GB, free: 14.3 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 1.042e-05/0.5017, allocations: 0 / 1.377 GB, free: 14.3 MB / 0.8855 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.0005287/0.5022, allocations: 355.2 kB / 1.377 GB, free: 13.91 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 6.023e-05/0.5023, allocations: 16.5 kB / 1.377 GB, free: 13.89 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.072e-05/0.5023, allocations: 34.5 kB / 1.377 GB, free: 13.85 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.331e-05/0.5024, allocations: 4 kB / 1.377 GB, free: 13.84 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001866/0.5026, allocations: 174.9 kB / 1.377 GB, free: 13.63 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.319e-05/0.5026, allocations: 11.98 kB / 1.377 GB, free: 13.62 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.429e-05/0.5026, allocations: 4 kB / 1.377 GB, free: 13.62 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002342/0.5029, allocations: 69.66 kB / 1.377 GB, free: 13.54 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.338e-06/0.5029, allocations: 0 / 1.377 GB, free: 13.54 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.402e-05/0.5029, allocations: 0 / 1.377 GB, free: 13.54 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-06/0.5029, allocations: 0 / 1.377 GB, free: 13.54 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002386/0.5032, allocations: 71.89 kB / 1.377 GB, free: 13.47 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004803/0.5037, allocations: 284.8 kB / 1.378 GB, free: 13.14 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002132/0.5039, allocations: 74.53 kB / 1.378 GB, free: 13.06 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 1.7e-05/0.5039, allocations: 0 / 1.378 GB, free: 13.06 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.042e-05/0.5039, allocations: 30.56 kB / 1.378 GB, free: 13.02 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=4): time 1.322e-06/0.504, allocations: 3.938 kB / 1.378 GB, free: 13.02 MB / 0.8855 GB Notification: Performance of matching and sorting (n=4): time 0.000473/0.5044, allocations: 129.7 kB / 1.378 GB, free: 12.89 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.379e-05/0.5045, allocations: 55.36 kB / 1.378 GB, free: 12.82 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.104e-05/0.5046, allocations: 101 kB / 1.378 GB, free: 12.71 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 1.617e-05/0.5046, allocations: 25.7 kB / 1.378 GB, free: 12.68 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 5.623e-05/0.5047, allocations: 88.14 kB / 1.378 GB, free: 12.59 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 2.577e-05/0.5047, allocations: 11.89 kB / 1.378 GB, free: 12.58 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.754e-06/0.5047, allocations: 7.938 kB / 1.378 GB, free: 12.57 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001141/0.5048, allocations: 314.8 kB / 1.378 GB, free: 12.26 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00011/0.5049, allocations: 27.97 kB / 1.378 GB, free: 12.23 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000106/0.5051, allocations: 31.98 kB / 1.378 GB, free: 12.2 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001202/0.5052, allocations: 32.25 kB / 1.378 GB, free: 12.17 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.749e-06/0.5052, allocations: 0 / 1.378 GB, free: 12.17 MB / 0.8855 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002889/0.5055, allocations: 105.5 kB / 1.379 GB, free: 12.06 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.28e-05/0.5055, allocations: 4.625 kB / 1.379 GB, free: 12.05 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.035e-06/0.5055, allocations: 0 / 1.379 GB, free: 12.05 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.917e-05/0.5056, allocations: 0 / 1.379 GB, free: 12.05 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001568/0.5057, allocations: 19.98 kB / 1.379 GB, free: 12.04 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.209e-05/0.5058, allocations: 3.984 kB / 1.379 GB, free: 12.03 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.898e-05/0.5058, allocations: 11.95 kB / 1.379 GB, free: 12.02 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.347e-06/0.5059, allocations: 4 kB / 1.379 GB, free: 12.02 MB / 0.8855 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 0.0001263/0.506, allocations: 113.8 kB / 1.379 GB, free: 11.89 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.328e-05/0.506, allocations: 0 / 1.379 GB, free: 11.89 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.883e-05/0.5061, allocations: 7.906 kB / 1.379 GB, free: 11.89 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.544e-06/0.5061, allocations: 4 kB / 1.379 GB, free: 11.88 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.047e-06/0.5061, allocations: 0 / 1.379 GB, free: 11.88 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.35e-06/0.5061, allocations: 0 / 1.379 GB, free: 11.88 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002298/0.5064, allocations: 177.5 kB / 1.379 GB, free: 11.66 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.5064, allocations: 0 / 1.379 GB, free: 11.66 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001125/0.5065, allocations: 27.92 kB / 1.379 GB, free: 11.63 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.956e-06/0.5065, allocations: 0 / 1.379 GB, free: 11.63 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.796e-05/0.5065, allocations: 4 kB / 1.379 GB, free: 11.63 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.375e-06/0.5065, allocations: 0 / 1.379 GB, free: 11.63 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.5065, allocations: 0 / 1.379 GB, free: 11.63 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003898/0.5069, allocations: 195.5 kB / 1.379 GB, free: 11.42 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 6.511e-05/0.507, allocations: 77.11 kB / 1.379 GB, free: 11.33 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.662e-05/0.5071, allocations: 256 / 1.379 GB, free: 11.33 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001124/0.5072, allocations: 15.92 kB / 1.379 GB, free: 11.31 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.304e-05/0.5073, allocations: 15.98 kB / 1.379 GB, free: 11.3 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.832e-06/0.5073, allocations: 0 / 1.379 GB, free: 11.3 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 7.526e-05/0.5074, allocations: 91.27 kB / 1.379 GB, free: 11.21 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5074, allocations: 0 / 1.379 GB, free: 11.21 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0003146/0.5077, allocations: 15.94 kB / 1.379 GB, free: 11.19 MB / 0.8855 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.000792/0.5085, allocations: 0.7365 MB / 1.38 GB, free: 10.43 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0002947/0.5088, allocations: 63.94 kB / 1.38 GB, free: 10.36 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 3.035e-06/0.5088, allocations: 4 kB / 1.38 GB, free: 10.36 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0001389/0.509, allocations: 43.91 kB / 1.38 GB, free: 10.32 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002617/0.5092, allocations: 7.938 kB / 1.38 GB, free: 10.31 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001178/0.5104, allocations: 474.5 kB / 1.381 GB, free: 9.797 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002795/0.5107, allocations: 0.6848 MB / 1.381 GB, free: 9.086 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 5.685e-05/0.5108, allocations: 4 kB / 1.381 GB, free: 9.082 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.159e-05/0.5109, allocations: 23.36 kB / 1.381 GB, free: 9.062 MB / 0.8855 GB Notification: Performance of SimCode: time 4.71e-07/0.5109, allocations: 0 / 1.381 GB, free: 9.062 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01315/0.524, allocations: 1.487 MB / 1.383 GB, free: 7.711 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001842/0.5243, allocations: 188.4 kB / 1.383 GB, free: 7.465 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.532/2.057, allocations: 0 / 1.383 GB, free: 7.465 MB / 0.8855 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