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.001327/0.001327, allocations: 99.55 kB / 15.05 MB, free: 1.105 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.001401/0.001401, allocations: 177.3 kB / 15.94 MB, free: 228 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.422/1.422, allocations: 223.2 MB / 239.9 MB, free: 5.262 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.503/2.503, allocations: 390.3 MB / 0.6653 GB, free: 2.926 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003901/0.0003907, allocations: 12 kB / 0.8146 GB, free: 14.14 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7014/0.7018, allocations: 142.3 MB / 0.9536 GB, free: 8.113 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Greater): time 0.001938/0.7038, allocations: 1.673 MB / 0.9552 GB, free: 6.793 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001482/0.7053, allocations: 1.051 MB / 0.9563 GB, free: 5.98 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001559/0.7054, allocations: 10.41 kB / 0.9563 GB, free: 5.973 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0003131/0.7058, allocations: 93.81 kB / 0.9564 GB, free: 5.922 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002637/0.706, allocations: 88.31 kB / 0.9564 GB, free: 5.863 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004304/0.7065, allocations: 137.2 kB / 0.9566 GB, free: 5.773 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0003258/0.7068, allocations: 152.4 kB / 0.9567 GB, free: 5.672 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001766/0.707, allocations: 56.89 kB / 0.9568 GB, free: 5.641 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002003/0.7072, allocations: 95.5 kB / 0.9569 GB, free: 5.582 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001691/0.7074, allocations: 96.27 kB / 0.957 GB, free: 5.523 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.716e-05/0.7075, allocations: 8.688 kB / 0.957 GB, free: 5.52 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001642/0.7076, allocations: 44.27 kB / 0.957 GB, free: 5.504 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 7.601e-05/0.7077, allocations: 57.95 kB / 0.9571 GB, free: 5.469 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.955e-05/0.7078, allocations: 58.64 kB / 0.9571 GB, free: 5.414 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002954/0.7081, allocations: 241.5 kB / 0.9574 GB, free: 5.246 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.036e-06/0.7081, allocations: 0 / 0.9574 GB, free: 5.246 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.565e-06/0.7081, allocations: 1.75 kB / 0.9574 GB, free: 5.246 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.214e-05/0.7081, allocations: 0 / 0.9574 GB, free: 5.246 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.0009426/0.7091, allocations: 0.5424 MB / 0.9579 GB, free: 4.738 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.542e-05/0.7091, allocations: 9.094 kB / 0.9579 GB, free: 4.738 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.329e-05/0.7092, allocations: 46.33 kB / 0.9579 GB, free: 4.688 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.576e-05/0.7092, allocations: 32.3 kB / 0.958 GB, free: 4.668 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000421/0.7097, allocations: 304.5 kB / 0.9583 GB, free: 4.387 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.038e-05/0.7097, allocations: 11.78 kB / 0.9583 GB, free: 4.379 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.251e-05/0.7097, allocations: 6.594 kB / 0.9583 GB, free: 4.379 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003056/0.71, allocations: 132.2 kB / 0.9584 GB, free: 4.293 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.043e-06/0.7101, allocations: 0 / 0.9584 GB, free: 4.293 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.704e-05/0.7101, allocations: 5.375 kB / 0.9584 GB, free: 4.289 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.142e-06/0.7101, allocations: 6.703 kB / 0.9584 GB, free: 4.285 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002787/0.7104, allocations: 106.2 kB / 0.9585 GB, free: 4.238 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007456/0.7111, allocations: 0.4914 MB / 0.959 GB, free: 3.801 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003801/0.7115, allocations: 146.2 kB / 0.9591 GB, free: 3.715 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.787e-05/0.7116, allocations: 5.312 kB / 0.9591 GB, free: 3.711 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002515/0.7118, allocations: 119.5 kB / 0.9593 GB, free: 3.617 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=10): time 1.453e-06/0.7118, allocations: 0 / 0.9593 GB, free: 3.617 MB / 0.7169 GB Notification: Performance of matching and sorting (n=10): time 0.000623/0.7125, allocations: 214.8 kB / 0.9595 GB, free: 3.508 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.081e-05/0.7125, allocations: 56.72 kB / 0.9595 GB, free: 3.441 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004654/0.713, allocations: 372 kB / 0.9599 GB, free: 3.211 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.122e-05/0.713, allocations: 35.02 kB / 0.9599 GB, free: 3.172 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 9.127e-05/0.7131, allocations: 145.7 kB / 0.96 GB, free: 3.039 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.232e-05/0.7131, allocations: 35.67 kB / 0.9601 GB, free: 3.008 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.137e-05/0.7132, allocations: 1.375 kB / 0.9601 GB, free: 3.008 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 7.633e-05/0.7132, allocations: 341.6 kB / 0.9604 GB, free: 2.672 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002009/0.7134, allocations: 84.08 kB / 0.9605 GB, free: 2.637 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002207/0.7137, allocations: 108.2 kB / 0.9606 GB, free: 2.578 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002158/0.7139, allocations: 84.8 kB / 0.9607 GB, free: 2.543 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.556e-06/0.7139, allocations: 0.875 kB / 0.9607 GB, free: 2.543 MB / 0.7169 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0005817/0.7145, allocations: 255.3 kB / 0.9609 GB, free: 2.414 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.079e-05/0.7145, allocations: 5.656 kB / 0.9609 GB, free: 2.414 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/0.7145, allocations: 8.031 kB / 0.9609 GB, free: 2.406 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.628e-05/0.7146, allocations: 1.688 kB / 0.9609 GB, free: 2.406 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002054/0.7148, allocations: 39.62 kB / 0.961 GB, free: 2.395 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.014e-05/0.7148, allocations: 1.031 kB / 0.961 GB, free: 2.395 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001959/0.715, allocations: 28.45 kB / 0.961 GB, free: 2.383 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.248e-05/0.715, allocations: 8.891 kB / 0.961 GB, free: 2.379 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.00016/0.7152, allocations: 164.7 kB / 0.9612 GB, free: 2.234 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.332e-05/0.7152, allocations: 21.41 kB / 0.9612 GB, free: 2.223 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.506e-05/0.7153, allocations: 31.58 kB / 0.9612 GB, free: 2.203 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.516e-06/0.7153, allocations: 1 kB / 0.9612 GB, free: 2.203 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/0.7153, allocations: 1.062 kB / 0.9612 GB, free: 2.203 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.26e-06/0.7153, allocations: 384 / 0.9612 GB, free: 2.203 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002577/0.7156, allocations: 285.7 kB / 0.9615 GB, free: 1.922 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.7156, allocations: 0 / 0.9615 GB, free: 1.922 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001097/0.7157, allocations: 21.39 kB / 0.9615 GB, free: 1.914 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.757e-06/0.7158, allocations: 4.938 kB / 0.9615 GB, free: 1.91 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.656e-05/0.7158, allocations: 5.016 kB / 0.9615 GB, free: 1.906 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.795e-06/0.7158, allocations: 0.9688 kB / 0.9615 GB, free: 1.906 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.7158, allocations: 0 / 0.9615 GB, free: 1.906 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004094/0.7162, allocations: 204.5 kB / 0.9617 GB, free: 1.77 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 7.361e-05/0.7163, allocations: 102.6 kB / 0.9618 GB, free: 1.66 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.175e-05/0.7163, allocations: 5.156 kB / 0.9618 GB, free: 1.656 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001498/0.7165, allocations: 23.16 kB / 0.9618 GB, free: 1.648 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.514e-05/0.7166, allocations: 23.62 kB / 0.9619 GB, free: 1.633 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.533e-05/0.7166, allocations: 3.688 kB / 0.9619 GB, free: 1.633 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0002268/0.7168, allocations: 236.3 kB / 0.9621 GB, free: 1.484 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.31e-07/0.7168, allocations: 0 / 0.9621 GB, free: 1.484 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003057/0.7171, allocations: 50.41 kB / 0.9621 GB, free: 1.469 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.00145/0.7186, allocations: 1.052 MB / 0.9632 GB, free: 0.6914 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0004163/0.719, allocations: 171.2 kB / 0.9633 GB, free: 0.6211 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.265e-06/0.719, allocations: 0 / 0.9633 GB, free: 0.6211 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001726/0.7192, allocations: 67.14 kB / 0.9634 GB, free: 0.5938 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003132/0.7195, allocations: 49.48 kB / 0.9634 GB, free: 0.5664 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001219/0.7208, allocations: 0.8769 MB / 0.9643 GB, free: 15.82 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003967/0.7212, allocations: 0.759 MB / 0.965 GB, free: 15.09 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001348/0.7213, allocations: 30.14 kB / 0.9651 GB, free: 15.08 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001568/0.7215, allocations: 80.7 kB / 0.9651 GB, free: 15.02 MB / 0.7325 GB Notification: Performance of SimCode: time 4.61e-07/0.7215, allocations: 0 / 0.9651 GB, free: 15.02 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01733/0.7388, allocations: 5.5 MB / 0.9705 GB, free: 12.42 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001685/0.739, allocations: 234.1 kB / 0.9707 GB, free: 12.18 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.804/2.543, allocations: 7.938 kB / 0.9707 GB, free: 12.17 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