Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LessEqualThreshold.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: translateModel(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LessEqualThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|lesEquThr.u|lesEquThr.y",fileNamePrefix="Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LessEqualThreshold") translateModel(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LessEqualThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|lesEquThr.u|lesEquThr.y",fileNamePrefix="Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LessEqualThreshold") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.373/2.373, allocations: 390.3 MB / 402.8 MB, free: 6.676 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.0009867/0.0009866, allocations: 184 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.552/1.552, allocations: 221.3 MB / 0.7915 GB, free: 5.457 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.001322/0.001322, allocations: 103.9 kB / 0.9317 GB, free: 5.758 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.015e-05/3.037e-05, allocations: 4 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3052/0.3052, allocations: 143 MB / 1.219 GB, free: 13.51 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.004/1.309, allocations: 150 MB / 1.365 GB, free: 3.961 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003241/1.309, allocations: 87.25 kB / 1.365 GB, free: 3.91 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.001971/1.311, allocations: 0.6369 MB / 1.366 GB, free: 3.316 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.963e-06/1.311, allocations: 0 / 1.366 GB, free: 3.316 MB / 0.823 GB Notification: Performance of Transformations before backend: time 9.097e-06/1.311, allocations: 0 / 1.366 GB, free: 3.316 MB / 0.823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004294/1.312, allocations: 330.5 kB / 1.366 GB, free: 2.949 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 5.149e-05/1.312, allocations: 12.03 kB / 1.366 GB, free: 2.938 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.987e-05/1.312, allocations: 0.625 kB / 1.366 GB, free: 2.938 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000168/1.312, allocations: 174.9 kB / 1.367 GB, free: 2.727 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.783e-05/1.312, allocations: 4 kB / 1.367 GB, free: 2.723 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.648e-05/1.312, allocations: 3.688 kB / 1.367 GB, free: 2.723 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001169/1.312, allocations: 35.33 kB / 1.367 GB, free: 2.688 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.939e-06/1.312, allocations: 4 kB / 1.367 GB, free: 2.684 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.137e-05/1.312, allocations: 0 / 1.367 GB, free: 2.684 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.26e-06/1.312, allocations: 4 kB / 1.367 GB, free: 2.68 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.795e-05/1.312, allocations: 11.12 kB / 1.367 GB, free: 2.672 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005132/1.313, allocations: 266.7 kB / 1.367 GB, free: 2.371 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 6.761e-05/1.313, allocations: 29.58 kB / 1.367 GB, free: 2.336 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.205e-05/1.313, allocations: 12.05 kB / 1.367 GB, free: 2.324 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.636e-05/1.313, allocations: 0 / 1.367 GB, free: 2.324 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.976e-05/1.313, allocations: 30.56 kB / 1.367 GB, free: 2.285 MB / 0.823 GB Notification: Performance of pre-optimization done (n=2): time 1.122e-06/1.313, allocations: 0 / 1.367 GB, free: 2.285 MB / 0.823 GB Notification: Performance of matching and sorting (n=2): time 0.0001757/1.313, allocations: 48.94 kB / 1.367 GB, free: 2.234 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.881e-05/1.313, allocations: 51.44 kB / 1.367 GB, free: 2.172 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.637e-05/1.313, allocations: 102 kB / 1.367 GB, free: 2.07 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.934e-05/1.313, allocations: 25.7 kB / 1.367 GB, free: 2.039 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 9.805e-05/1.313, allocations: 87.52 kB / 1.367 GB, free: 1.953 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 2.448e-05/1.314, allocations: 3.906 kB / 1.367 GB, free: 1.949 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.619e-06/1.314, allocations: 0 / 1.367 GB, free: 1.949 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001729/1.314, allocations: 317.9 kB / 1.367 GB, free: 1.633 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.38e-05/1.314, allocations: 4 kB / 1.367 GB, free: 1.629 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.655e-05/1.314, allocations: 7.188 kB / 1.368 GB, free: 1.625 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.858e-05/1.314, allocations: 4.062 kB / 1.368 GB, free: 1.621 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.946e-06/1.314, allocations: 7.938 kB / 1.368 GB, free: 1.613 MB / 0.823 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000136/1.314, allocations: 41.08 kB / 1.368 GB, free: 1.57 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 2.497e-05/1.314, allocations: 4 kB / 1.368 GB, free: 1.566 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.055e-06/1.314, allocations: 0 / 1.368 GB, free: 1.566 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.099e-05/1.314, allocations: 4 kB / 1.368 GB, free: 1.562 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001509/1.314, allocations: 7.984 kB / 1.368 GB, free: 1.555 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.313e-05/1.314, allocations: 4 kB / 1.368 GB, free: 1.551 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.234e-05/1.314, allocations: 12.02 kB / 1.368 GB, free: 1.539 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.674e-05/1.314, allocations: 7.953 kB / 1.368 GB, free: 1.531 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (lesEquThr.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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.145e-05/1.315, allocations: 105.6 kB / 1.368 GB, free: 1.426 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.377e-05/1.315, allocations: 0 / 1.368 GB, free: 1.426 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.872e-05/1.315, allocations: 7.109 kB / 1.368 GB, free: 1.422 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.953e-06/1.315, allocations: 4 kB / 1.368 GB, free: 1.418 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.621e-06/1.315, allocations: 0 / 1.368 GB, free: 1.418 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/1.315, allocations: 4 kB / 1.368 GB, free: 1.414 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001739/1.315, allocations: 165.2 kB / 1.368 GB, free: 1.211 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/1.315, allocations: 3.938 kB / 1.368 GB, free: 1.207 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.255e-05/1.315, allocations: 11.98 kB / 1.368 GB, free: 1.195 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/1.315, allocations: 0 / 1.368 GB, free: 1.195 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.883e-06/1.315, allocations: 0 / 1.368 GB, free: 1.195 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.023e-06/1.315, allocations: 0 / 1.368 GB, free: 1.195 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/1.315, allocations: 0 / 1.368 GB, free: 1.195 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001345/1.315, allocations: 149.9 kB / 1.368 GB, free: 1.039 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 5.944e-05/1.315, allocations: 85.03 kB / 1.368 GB, free: 0.9375 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.76e-05/1.315, allocations: 4 kB / 1.368 GB, free: 0.9336 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001049/1.315, allocations: 4 kB / 1.368 GB, free: 0.9297 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.253e-05/1.315, allocations: 11.61 kB / 1.368 GB, free: 0.9219 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.448e-06/1.315, allocations: 0 / 1.368 GB, free: 0.9219 MB / 0.823 GB Notification: Performance of sorting global known variables: time 6.508e-05/1.315, allocations: 79.28 kB / 1.368 GB, free: 0.8438 MB / 0.823 GB Notification: Performance of sort global known variables: time 2.21e-07/1.315, allocations: 4.031 kB / 1.368 GB, free: 0.8398 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.000239/1.316, allocations: 4 kB / 1.368 GB, free: 0.8359 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (lesEquThr.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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.0001783/1.316, allocations: 98.94 kB / 1.368 GB, free: 0.7305 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0001065/1.316, allocations: 15.44 kB / 1.368 GB, free: 0.7188 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 4.449e-06/1.316, allocations: 0 / 1.368 GB, free: 0.7188 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 2.424e-05/1.316, allocations: 7.938 kB / 1.368 GB, free: 0.7109 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002214/1.316, allocations: 15.75 kB / 1.368 GB, free: 0.6992 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002814/1.317, allocations: 60.81 kB / 1.368 GB, free: 0.6211 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004067/1.317, allocations: 0.6848 MB / 1.369 GB, free: 15.91 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 3.57e-05/1.317, allocations: 0 / 1.369 GB, free: 15.91 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.554e-05/1.317, allocations: 7.438 kB / 1.369 GB, free: 15.9 MB / 0.8386 GB Notification: Performance of SimCode: time 3.41e-07/1.317, allocations: 3.938 kB / 1.369 GB, free: 15.9 MB / 0.8386 GB Notification: Performance of Templates: time 0.003042/1.32, allocations: 394.1 kB / 1.369 GB, free: 15.54 MB / 0.8386 GB make -j1 -f Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LessEqualThreshold.makefile (rm -f Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LessEqualThreshold.pipe ; mkfifo Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LessEqualThreshold.pipe ; head -c 1048576 < Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LessEqualThreshold.pipe >> ../files/Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LessEqualThreshold.sim & ./Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LessEqualThreshold -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LessEqualThreshold.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LessEqualThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_LessEqualThreshold.csv","../files/Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LessEqualThreshold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches