Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Less.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.Less,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Less",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Less,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Less",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.0009549/0.000955, allocations: 86.56 kB / 15.06 MB, free: 1.09 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.001295/0.001295, allocations: 168.7 kB / 15.95 MB, free: 204 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.528/1.528, allocations: 223.3 MB / 240 MB, free: 5.395 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.466/2.466, allocations: 390.4 MB / 0.6655 GB, free: 3.004 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003309/0.000331, allocations: 8 kB / 0.8149 GB, free: 14.17 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7628/0.7632, allocations: 142.3 MB / 0.9539 GB, free: 8.188 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Less): time 0.0026/0.7658, allocations: 1.77 MB / 0.9556 GB, free: 6.785 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001824/0.7677, allocations: 1.141 MB / 0.9567 GB, free: 5.895 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001424/0.7679, allocations: 7.156 kB / 0.9567 GB, free: 5.891 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0004498/0.7683, allocations: 154.1 kB / 0.9569 GB, free: 5.805 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002854/0.7686, allocations: 130.1 kB / 0.957 GB, free: 5.719 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005062/0.7691, allocations: 188.1 kB / 0.9572 GB, free: 5.602 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0003312/0.7695, allocations: 305.4 kB / 0.9575 GB, free: 5.414 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001619/0.7696, allocations: 66.42 kB / 0.9575 GB, free: 5.379 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000158/0.7698, allocations: 120.7 kB / 0.9576 GB, free: 5.312 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001539/0.77, allocations: 127.1 kB / 0.9578 GB, free: 5.242 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.489e-05/0.77, allocations: 6.312 kB / 0.9578 GB, free: 5.242 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001256/0.7701, allocations: 45.56 kB / 0.9578 GB, free: 5.223 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 8.313e-05/0.7702, allocations: 78.14 kB / 0.9579 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.103e-05/0.7703, allocations: 75.89 kB / 0.958 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002595/0.7705, allocations: 307.2 kB / 0.9583 GB, free: 4.902 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.648e-06/0.7706, allocations: 4 kB / 0.9583 GB, free: 4.898 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.394e-06/0.7706, allocations: 1.375 kB / 0.9583 GB, free: 4.898 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.551e-06/0.7706, allocations: 0 / 0.9583 GB, free: 4.898 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.0007874/0.7714, allocations: 0.6294 MB / 0.9589 GB, free: 4.32 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.465e-05/0.7714, allocations: 13.62 kB / 0.9589 GB, free: 4.316 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.084e-05/0.7715, allocations: 37.31 kB / 0.9589 GB, free: 4.273 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.93e-05/0.7715, allocations: 45 kB / 0.959 GB, free: 4.246 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004542/0.772, allocations: 381.1 kB / 0.9593 GB, free: 3.914 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.969e-05/0.772, allocations: 4.531 kB / 0.9593 GB, free: 3.914 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.13e-05/0.772, allocations: 11.66 kB / 0.9593 GB, free: 3.91 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002362/0.7723, allocations: 115.5 kB / 0.9595 GB, free: 3.832 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.068e-05/0.7723, allocations: 0 / 0.9595 GB, free: 3.832 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.745e-05/0.7723, allocations: 9.922 kB / 0.9595 GB, free: 3.824 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.005e-06/0.7723, allocations: 6.641 kB / 0.9595 GB, free: 3.82 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001555/0.7725, allocations: 67.28 kB / 0.9595 GB, free: 3.789 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008056/0.7733, allocations: 0.5423 MB / 0.9601 GB, free: 3.324 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002984/0.7736, allocations: 125.8 kB / 0.9602 GB, free: 3.25 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.454e-05/0.7737, allocations: 46.64 kB / 0.9602 GB, free: 3.223 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.431e-05/0.7738, allocations: 9.969 kB / 0.9602 GB, free: 3.215 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002196/0.774, allocations: 102.5 kB / 0.9603 GB, free: 3.133 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=12): time 1.853e-06/0.774, allocations: 0 / 0.9603 GB, free: 3.133 MB / 0.7169 GB Notification: Performance of matching and sorting (n=12): time 0.0004376/0.7744, allocations: 209.3 kB / 0.9605 GB, free: 3.016 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.633e-05/0.7745, allocations: 52.38 kB / 0.9606 GB, free: 2.953 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005826/0.7751, allocations: 0.5262 MB / 0.9611 GB, free: 2.656 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.86e-05/0.7751, allocations: 35.67 kB / 0.9611 GB, free: 2.617 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001108/0.7752, allocations: 183.3 kB / 0.9613 GB, free: 2.453 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.01e-05/0.7752, allocations: 34.36 kB / 0.9613 GB, free: 2.426 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.371e-05/0.7753, allocations: 5 kB / 0.9613 GB, free: 2.422 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.576e-05/0.7753, allocations: 353.8 kB / 0.9617 GB, free: 2.078 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001766/0.7755, allocations: 99.58 kB / 0.9618 GB, free: 2.035 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001799/0.7757, allocations: 127.3 kB / 0.9619 GB, free: 1.965 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001697/0.7759, allocations: 103.6 kB / 0.962 GB, free: 1.918 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.935e-06/0.7759, allocations: 3.938 kB / 0.962 GB, free: 1.914 MB / 0.7169 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0004689/0.7764, allocations: 315.1 kB / 0.9623 GB, free: 1.758 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.712e-05/0.7764, allocations: 6.156 kB / 0.9623 GB, free: 1.758 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.7764, allocations: 0 / 0.9623 GB, free: 1.758 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.58e-05/0.7764, allocations: 2.656 kB / 0.9623 GB, free: 1.758 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000205/0.7766, allocations: 47.38 kB / 0.9624 GB, free: 1.746 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.007e-06/0.7767, allocations: 5.844 kB / 0.9624 GB, free: 1.742 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001574/0.7768, allocations: 30.11 kB / 0.9624 GB, free: 1.727 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.833e-05/0.7769, allocations: 8.062 kB / 0.9624 GB, free: 1.727 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition2,$PRE.timTabLin1.tab.nextTimeEvent,$whenCondition1,$PRE.timTabLin.tab.nextTimeEvent,les.y,$PRE.lesHys.lesHys.y,lesHys.lesHys.y,timTabLin.tab.nextTimeEvent,$PRE.timTabLin.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEvent,$PRE.timTabLin1.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 33 * 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.0001542/0.777, allocations: 188.1 kB / 0.9626 GB, free: 1.57 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.389e-05/0.7771, allocations: 39 kB / 0.9626 GB, free: 1.547 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.314e-05/0.7771, allocations: 46.39 kB / 0.9627 GB, free: 1.508 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.7772, allocations: 4.906 kB / 0.9627 GB, free: 1.504 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.902e-06/0.7772, allocations: 1.031 kB / 0.9627 GB, free: 1.504 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.7772, allocations: 0 / 0.9627 GB, free: 1.504 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002213/0.7774, allocations: 311.8 kB / 0.963 GB, free: 1.211 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.7774, allocations: 0 / 0.963 GB, free: 1.211 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.543e-05/0.7774, allocations: 11.3 kB / 0.963 GB, free: 1.207 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.7775, allocations: 0 / 0.963 GB, free: 1.207 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.29e-05/0.7775, allocations: 6.688 kB / 0.963 GB, free: 1.203 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.7775, allocations: 0 / 0.963 GB, free: 1.203 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.7775, allocations: 1.188 kB / 0.963 GB, free: 1.203 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002832/0.7778, allocations: 198.5 kB / 0.9632 GB, free: 1.066 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 6.894e-05/0.7779, allocations: 115.5 kB / 0.9633 GB, free: 0.9492 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.034e-05/0.7779, allocations: 5.469 kB / 0.9633 GB, free: 0.9453 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001151/0.778, allocations: 19.98 kB / 0.9633 GB, free: 0.9375 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.575e-05/0.7781, allocations: 18.25 kB / 0.9633 GB, free: 0.9258 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.455e-05/0.7781, allocations: 7.75 kB / 0.9633 GB, free: 0.9219 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0003109/0.7784, allocations: 327.9 kB / 0.9636 GB, free: 0.7383 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7784, allocations: 0 / 0.9636 GB, free: 0.7383 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003045/0.7787, allocations: 69.67 kB / 0.9637 GB, free: 0.7148 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: 8 ($whenCondition2,$whenCondition1,les.y,lesHys.lesHys.y,timTabLin.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEvent,timTabLin1.tab.nextTimeEventScaled) * Number of discrete states: 5 (timTabLin1.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEventScaled,lesHys.lesHys.y,timTabLin.tab.nextTimeEvent,timTabLin1.tab.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.7801, allocations: 1.048 MB / 0.9647 GB, free: 15.94 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.000339/0.7805, allocations: 187.7 kB / 0.9649 GB, free: 15.86 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.7805, allocations: 0 / 0.9649 GB, free: 15.86 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001303/0.7806, allocations: 52.81 kB / 0.965 GB, free: 15.84 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004498/0.7811, allocations: 79.45 kB / 0.965 GB, free: 15.8 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003395/0.7845, allocations: 2.174 MB / 0.9672 GB, free: 14.55 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003914/0.7849, allocations: 0.7948 MB / 0.9679 GB, free: 13.8 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001758/0.7851, allocations: 58.08 kB / 0.968 GB, free: 13.78 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001699/0.7852, allocations: 114.4 kB / 0.9681 GB, free: 13.69 MB / 0.7325 GB Notification: Performance of SimCode: time 6.71e-07/0.7853, allocations: 0 / 0.9681 GB, free: 13.69 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01981/0.8051, allocations: 7.236 MB / 0.9752 GB, free: 10.27 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002065/0.8053, allocations: 223 kB / 0.9754 GB, free: 10.03 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.841/2.646, allocations: 3.938 kB / 0.9754 GB, free: 10.03 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Less.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Less.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Less.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Less.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Less_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Less_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Less.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Less.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Less_res.mat does not exist to compare? outputFormat=mat