Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Greater.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.Continuous.Validation.Greater,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_Greater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Greater,fileNamePrefix="Buildings_latest_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/Buildings 10.0.0-master/package.mo): time 2.257/2.257, allocations: 390.3 MB / 402.8 MB, free: 6.656 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.001288/0.001288, allocations: 180.9 kB / 496.1 MB, free: 12.86 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.568/1.568, allocations: 221.3 MB / 0.7915 GB, free: 5.422 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.0009943/0.0009946, allocations: 84.02 kB / 0.9317 GB, free: 5.738 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.838e-05/4.854e-05, allocations: 7.984 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3041/0.3042, allocations: 143 MB / 1.219 GB, free: 13.4 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9574/1.262, allocations: 154.2 MB / 1.369 GB, free: 15.88 MB / 0.8386 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002/1.262, allocations: 77.83 kB / 1.37 GB, free: 15.84 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 0.02143/1.283, allocations: 7.693 MB / 1.377 GB, free: 9.309 MB / 0.8386 GB Notification: Performance of FrontEnd: time 3.467e-06/1.283, allocations: 4 kB / 1.377 GB, free: 9.305 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 2.288e-05/1.283, allocations: 7.984 kB / 1.377 GB, free: 9.297 MB / 0.8386 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.0008078/1.284, allocations: 0.5282 MB / 1.378 GB, free: 8.734 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 6.156e-05/1.284, allocations: 12.03 kB / 1.378 GB, free: 8.723 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.444e-05/1.284, allocations: 37.98 kB / 1.378 GB, free: 8.68 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.942e-05/1.284, allocations: 31.67 kB / 1.378 GB, free: 8.648 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006511/1.285, allocations: 342.3 kB / 1.378 GB, free: 8.305 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.25e-05/1.285, allocations: 11.38 kB / 1.378 GB, free: 8.297 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.78e-05/1.285, allocations: 15 kB / 1.378 GB, free: 8.285 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000226/1.285, allocations: 113.3 kB / 1.378 GB, free: 8.199 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.046e-05/1.285, allocations: 0 / 1.378 GB, free: 8.199 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.731e-05/1.285, allocations: 4 kB / 1.378 GB, free: 8.195 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.122e-06/1.286, allocations: 0 / 1.378 GB, free: 8.195 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001502/1.286, allocations: 73 kB / 1.378 GB, free: 8.148 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008276/1.286, allocations: 0.5096 MB / 1.379 GB, free: 7.668 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002624/1.287, allocations: 119.8 kB / 1.379 GB, free: 7.57 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.015e-05/1.287, allocations: 42.84 kB / 1.379 GB, free: 7.539 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.99e-05/1.287, allocations: 0 / 1.379 GB, free: 7.539 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001693/1.287, allocations: 105.5 kB / 1.379 GB, free: 7.441 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=10): time 1.273e-06/1.287, allocations: 0 / 1.379 GB, free: 7.441 MB / 0.8386 GB Notification: Performance of matching and sorting (n=10): time 0.0003047/1.287, allocations: 133.1 kB / 1.379 GB, free: 7.328 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.816e-05/1.287, allocations: 55.41 kB / 1.379 GB, free: 7.262 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003716/1.288, allocations: 343.3 kB / 1.379 GB, free: 6.98 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.312e-05/1.288, allocations: 29.14 kB / 1.38 GB, free: 6.949 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 9.09e-05/1.288, allocations: 145.5 kB / 1.38 GB, free: 6.84 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.688e-05/1.288, allocations: 38.05 kB / 1.38 GB, free: 6.809 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.346e-05/1.288, allocations: 0 / 1.38 GB, free: 6.809 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001209/1.288, allocations: 344 kB / 1.38 GB, free: 6.477 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001335/1.288, allocations: 73.92 kB / 1.38 GB, free: 6.43 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001471/1.288, allocations: 108.8 kB / 1.38 GB, free: 6.344 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001263/1.289, allocations: 78.91 kB / 1.38 GB, free: 6.293 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/1.289, allocations: 4 kB / 1.38 GB, free: 6.289 MB / 0.8386 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003631/1.289, allocations: 237.8 kB / 1.38 GB, free: 6.102 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.798e-05/1.289, allocations: 5.406 kB / 1.38 GB, free: 6.098 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.245e-06/1.289, allocations: 0 / 1.38 GB, free: 6.098 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.687e-05/1.289, allocations: 7.938 kB / 1.381 GB, free: 6.09 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002145/1.289, allocations: 43.66 kB / 1.381 GB, free: 6.051 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.286e-06/1.289, allocations: 0 / 1.381 GB, free: 6.051 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001894/1.289, allocations: 27.28 kB / 1.381 GB, free: 6.027 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.391e-05/1.289, allocations: 11.94 kB / 1.381 GB, free: 6.016 MB / 0.8386 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 () * 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 8.912e-05/1.29, allocations: 114.9 kB / 1.381 GB, free: 5.902 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.544e-05/1.29, allocations: 27.72 kB / 1.381 GB, free: 5.875 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002871/1.29, allocations: 164.6 kB / 1.381 GB, free: 5.742 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/1.29, allocations: 0 / 1.381 GB, free: 5.742 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/1.29, allocations: 0 / 1.381 GB, free: 5.742 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.895e-06/1.29, allocations: 0 / 1.381 GB, free: 5.742 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002383/1.29, allocations: 287.6 kB / 1.381 GB, free: 5.449 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/1.29, allocations: 0 / 1.381 GB, free: 5.449 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001147/1.29, allocations: 15.98 kB / 1.381 GB, free: 5.434 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/1.29, allocations: 4.094 kB / 1.381 GB, free: 5.43 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.985e-05/1.29, allocations: 15.17 kB / 1.381 GB, free: 5.418 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/1.29, allocations: 3.938 kB / 1.381 GB, free: 5.414 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/1.29, allocations: 0 / 1.381 GB, free: 5.414 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002534/1.291, allocations: 169.4 kB / 1.381 GB, free: 5.258 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 8.886e-05/1.291, allocations: 100.8 kB / 1.381 GB, free: 5.141 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.486e-05/1.291, allocations: 3.438 kB / 1.381 GB, free: 5.141 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001689/1.291, allocations: 30.84 kB / 1.381 GB, free: 5.113 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.26e-05/1.291, allocations: 19.28 kB / 1.381 GB, free: 5.098 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.64e-05/1.291, allocations: 7.984 kB / 1.382 GB, free: 5.09 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0002423/1.291, allocations: 232.9 kB / 1.382 GB, free: 4.906 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.4e-07/1.291, allocations: 0 / 1.382 GB, free: 4.906 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002871/1.292, allocations: 59.28 kB / 1.382 GB, free: 4.855 MB / 0.8386 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 (greHys.greHys.y,ram.tab.nextTimeEvent,ram.tab.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 9 * 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.001371/1.293, allocations: 0.9953 MB / 1.383 GB, free: 3.988 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.000257/1.293, allocations: 141.2 kB / 1.383 GB, free: 3.891 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/1.293, allocations: 0 / 1.383 GB, free: 3.891 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 9.603e-05/1.293, allocations: 48.25 kB / 1.383 GB, free: 3.859 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003028/1.294, allocations: 54.77 kB / 1.383 GB, free: 3.812 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007631/1.294, allocations: 415 kB / 1.383 GB, free: 3.418 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003183/1.295, allocations: 0.7595 MB / 1.384 GB, free: 2.637 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0001219/1.295, allocations: 34.08 kB / 1.384 GB, free: 2.605 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001298/1.295, allocations: 80.33 kB / 1.384 GB, free: 2.574 MB / 0.8386 GB Notification: Performance of SimCode: time 3.4e-07/1.295, allocations: 0 / 1.384 GB, free: 2.574 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01636/1.311, allocations: 5.678 MB / 1.39 GB, free: 13.07 MB / 0.8542 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002415/1.312, allocations: 208 kB / 1.39 GB, free: 12.84 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.869/3.181, allocations: 0 / 1.39 GB, free: 12.84 MB / 0.8542 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Greater.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Greater.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Greater.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Greater.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Greater_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_Greater_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_Greater.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Greater.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Greater_res.mat does not exist to compare? outputFormat=mat