Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Greater.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) 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) 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Greater,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Greater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Greater,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Greater",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009907/0.0009912, allocations: 90.75 kB / 15.06 MB, free: 1.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001061/0.001061, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.379/1.379, allocations: 223.2 MB / 240 MB, free: 5.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.465/2.465, allocations: 390.4 MB / 0.6655 GB, free: 2.898 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003124/0.0003124, allocations: 12 kB / 0.8149 GB, free: 14.07 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.772/0.7724, allocations: 142.3 MB / 0.9539 GB, free: 8.043 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Greater): time 0.002367/0.7748, allocations: 1.663 MB / 0.9555 GB, free: 6.727 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001853/0.7767, allocations: 1.065 MB / 0.9565 GB, free: 5.895 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002222/0.7769, allocations: 7.281 kB / 0.9566 GB, free: 5.891 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0004401/0.7774, allocations: 103.4 kB / 0.9567 GB, free: 5.832 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0003133/0.7777, allocations: 79.22 kB / 0.9567 GB, free: 5.781 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005011/0.7782, allocations: 133.7 kB / 0.9569 GB, free: 5.691 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002845/0.7785, allocations: 222.2 kB / 0.9571 GB, free: 5.555 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001814/0.7787, allocations: 52.7 kB / 0.9571 GB, free: 5.527 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001368/0.7788, allocations: 89.38 kB / 0.9572 GB, free: 5.477 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001365/0.779, allocations: 101.4 kB / 0.9573 GB, free: 5.414 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.462e-05/0.779, allocations: 4.844 kB / 0.9573 GB, free: 5.414 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001384/0.7791, allocations: 53.08 kB / 0.9574 GB, free: 5.395 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 7.343e-05/0.7792, allocations: 61.77 kB / 0.9574 GB, free: 5.355 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.927e-05/0.7793, allocations: 58.98 kB / 0.9575 GB, free: 5.301 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002516/0.7795, allocations: 238.2 kB / 0.9577 GB, free: 5.137 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.7796, allocations: 0 / 0.9577 GB, free: 5.137 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.533e-06/0.7796, allocations: 0 / 0.9577 GB, free: 5.137 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.26e-06/0.7796, allocations: 0 / 0.9577 GB, free: 5.137 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0008456/0.7804, allocations: 0.5513 MB / 0.9582 GB, free: 4.621 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.382e-05/0.7805, allocations: 8.969 kB / 0.9582 GB, free: 4.621 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.298e-05/0.7805, allocations: 46.45 kB / 0.9583 GB, free: 4.57 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.252e-05/0.7806, allocations: 32.89 kB / 0.9583 GB, free: 4.551 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003226/0.7809, allocations: 294.7 kB / 0.9586 GB, free: 4.277 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.818e-05/0.7809, allocations: 8.438 kB / 0.9586 GB, free: 4.273 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.128e-05/0.781, allocations: 15.19 kB / 0.9586 GB, free: 4.266 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002908/0.7813, allocations: 136.8 kB / 0.9588 GB, free: 4.176 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.828e-06/0.7813, allocations: 0 / 0.9588 GB, free: 4.176 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.445e-05/0.7813, allocations: 1.719 kB / 0.9588 GB, free: 4.176 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.375e-06/0.7813, allocations: 5.672 kB / 0.9588 GB, free: 4.172 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002798/0.7816, allocations: 111.5 kB / 0.9589 GB, free: 4.121 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007186/0.7823, allocations: 0.4978 MB / 0.9594 GB, free: 3.676 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003549/0.7827, allocations: 139.2 kB / 0.9595 GB, free: 3.598 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001473/0.7828, allocations: 63.06 kB / 0.9595 GB, free: 3.562 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.946e-05/0.7829, allocations: 1.375 kB / 0.9595 GB, free: 3.562 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002332/0.7831, allocations: 111.1 kB / 0.9597 GB, free: 3.477 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=10): time 1.493e-06/0.7831, allocations: 0 / 0.9597 GB, free: 3.477 MB / 0.7169 GB Notification: Performance of matching and sorting (n=10): time 0.0005643/0.7837, allocations: 223.5 kB / 0.9599 GB, free: 3.359 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.784e-05/0.7837, allocations: 56.94 kB / 0.9599 GB, free: 3.293 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003849/0.7841, allocations: 366.9 kB / 0.9603 GB, free: 3.066 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.752e-05/0.7842, allocations: 31.7 kB / 0.9603 GB, free: 3.031 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 8.279e-05/0.7842, allocations: 149 kB / 0.9604 GB, free: 2.895 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.175e-05/0.7843, allocations: 32.36 kB / 0.9605 GB, free: 2.867 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.38e-05/0.7843, allocations: 5.031 kB / 0.9605 GB, free: 2.863 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 7.593e-05/0.7844, allocations: 353.7 kB / 0.9608 GB, free: 2.516 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002053/0.7846, allocations: 79.83 kB / 0.9609 GB, free: 2.484 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000211/0.7848, allocations: 99.58 kB / 0.961 GB, free: 2.434 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001988/0.785, allocations: 89.47 kB / 0.9611 GB, free: 2.395 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.785, allocations: 0.9688 kB / 0.9611 GB, free: 2.395 MB / 0.7169 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004785/0.7855, allocations: 256.9 kB / 0.9613 GB, free: 2.266 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.689e-05/0.7855, allocations: 4.75 kB / 0.9613 GB, free: 2.266 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/0.7856, allocations: 0.75 kB / 0.9613 GB, free: 2.266 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.457e-05/0.7856, allocations: 1.688 kB / 0.9613 GB, free: 2.266 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001934/0.7858, allocations: 40.41 kB / 0.9614 GB, free: 2.254 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.254e-06/0.7858, allocations: 0.8125 kB / 0.9614 GB, free: 2.254 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001528/0.7859, allocations: 32.66 kB / 0.9614 GB, free: 2.238 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.519e-05/0.786, allocations: 9.281 kB / 0.9614 GB, free: 2.234 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,$PRE.ram.tab.nextTimeEvent,gre.y,$PRE.greHys.greHys.y,greHys.greHys.y,ram.tab.nextTimeEvent,$PRE.ram.tab.nextTimeEventScaled,ram.tab.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (21): * Single equations (assignments): 21 * 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.0001368/0.7861, allocations: 159.2 kB / 0.9616 GB, free: 2.094 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.305e-05/0.7862, allocations: 26.64 kB / 0.9616 GB, free: 2.078 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.44e-05/0.7862, allocations: 27.03 kB / 0.9616 GB, free: 2.062 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-06/0.7862, allocations: 6.062 kB / 0.9616 GB, free: 2.059 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.249e-06/0.7862, allocations: 0 / 0.9616 GB, free: 2.059 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.005e-06/0.7862, allocations: 4 kB / 0.9616 GB, free: 2.055 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001869/0.7864, allocations: 278 kB / 0.9619 GB, free: 1.781 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.193e-06/0.7864, allocations: 0 / 0.9619 GB, free: 1.781 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000103/0.7866, allocations: 25.81 kB / 0.9619 GB, free: 1.77 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.497e-06/0.7866, allocations: 0 / 0.9619 GB, free: 1.77 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.24e-05/0.7866, allocations: 5.219 kB / 0.9619 GB, free: 1.766 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.7866, allocations: 0.9688 kB / 0.9619 GB, free: 1.766 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.7866, allocations: 0.8438 kB / 0.9619 GB, free: 1.766 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003755/0.787, allocations: 204.1 kB / 0.9621 GB, free: 1.629 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 5.289e-05/0.787, allocations: 102 kB / 0.9622 GB, free: 1.52 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.642e-05/0.7871, allocations: 1.969 kB / 0.9622 GB, free: 1.52 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001407/0.7872, allocations: 31.16 kB / 0.9622 GB, free: 1.504 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.905e-05/0.7873, allocations: 19.41 kB / 0.9623 GB, free: 1.492 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.374e-05/0.7873, allocations: 7.266 kB / 0.9623 GB, free: 1.488 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0002036/0.7875, allocations: 228.9 kB / 0.9625 GB, free: 1.348 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7875, allocations: 0 / 0.9625 GB, free: 1.348 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002648/0.7878, allocations: 46.27 kB / 0.9625 GB, free: 1.336 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,gre.y,greHys.greHys.y,ram.tab.nextTimeEvent,ram.tab.nextTimeEventScaled) * Number of discrete states: 3 (ram.tab.nextTimeEventScaled,greHys.greHys.y,ram.tab.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001363/0.7892, allocations: 1.058 MB / 0.9636 GB, free: 0.5547 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003905/0.7896, allocations: 171 kB / 0.9637 GB, free: 496 kB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.7896, allocations: 0 / 0.9637 GB, free: 496 kB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001773/0.7898, allocations: 67.5 kB / 0.9638 GB, free: 468 kB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003348/0.7901, allocations: 49.52 kB / 0.9638 GB, free: 440 kB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002407/0.7925, allocations: 1.606 MB / 0.9654 GB, free: 15.46 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003543/0.7929, allocations: 0.7573 MB / 0.9661 GB, free: 14.72 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.000128/0.793, allocations: 34.25 kB / 0.9662 GB, free: 14.71 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001377/0.7932, allocations: 80.89 kB / 0.9663 GB, free: 14.64 MB / 0.7325 GB Notification: Performance of SimCode: time 3.41e-07/0.7932, allocations: 0 / 0.9663 GB, free: 14.64 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01691/0.8101, allocations: 5.623 MB / 0.9717 GB, free: 11.99 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002848/0.8104, allocations: 226 kB / 0.972 GB, free: 11.76 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.852/2.663, allocations: 0 / 0.972 GB, free: 11.76 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Greater.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Greater.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Greater.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Greater.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Greater_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Greater_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Greater.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Greater.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Greater_res.mat does not exist to compare? outputFormat=mat