Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer.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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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: translateModel(Buildings.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|con.u_s|con.u_m|con.y",fileNamePrefix="Buildings_latest_Buildings.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer") translateModel(Buildings.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|con.u_s|con.u_m|con.y",fileNamePrefix="Buildings_latest_Buildings.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001142/0.001142, 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.001409/0.001409, 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.465/1.465, allocations: 223.2 MB / 239.9 MB, free: 5.469 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.756/2.756, allocations: 436.5 MB / 0.7104 GB, free: 7.914 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0005864/0.0005865, allocations: 12 kB / 0.8708 GB, free: 4.812 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.049/1.049, allocations: 153.6 MB / 1.021 GB, free: 1.125 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer): time 0.003531/1.053, allocations: 2.659 MB / 1.023 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001693/1.055, allocations: 0.8848 MB / 1.024 GB, free: 13.56 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002621/1.055, allocations: 11.94 kB / 1.024 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 6.61e-05/1.055, allocations: 31.64 kB / 1.024 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0003626/1.055, allocations: 119.6 kB / 1.024 GB, free: 13.4 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004225/1.056, allocations: 182.6 kB / 1.025 GB, free: 13.22 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0004578/1.056, allocations: 336.5 kB / 1.025 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003404/1.057, allocations: 179.6 kB / 1.025 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002105/1.057, allocations: 147.3 kB / 1.025 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001791/1.057, allocations: 147.1 kB / 1.025 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.907e-05/1.057, allocations: 12 kB / 1.025 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 3.874e-05/1.057, allocations: 12 kB / 1.025 GB, free: 12.4 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 6.666e-05/1.057, allocations: 63.62 kB / 1.025 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 8.722e-05/1.057, allocations: 109.4 kB / 1.026 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0003892/1.058, allocations: 432.9 kB / 1.026 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 2.825e-06/1.058, allocations: 0 / 1.026 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.993e-06/1.058, allocations: 0 / 1.026 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 7.264e-06/1.058, allocations: 0 / 1.026 GB, free: 11.8 MB / 0.7794 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 91 * Number of variables: 91 Notification: Performance of Generate backend data structure: time 0.001173/1.059, allocations: 0.6919 MB / 1.027 GB, free: 11.07 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.525e-05/1.059, allocations: 15.98 kB / 1.027 GB, free: 11.05 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001053/1.059, allocations: 59.33 kB / 1.027 GB, free: 10.99 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005924/1.06, allocations: 387.7 kB / 1.027 GB, free: 10.57 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.613e-05/1.06, allocations: 29 kB / 1.027 GB, free: 10.54 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.198e-05/1.06, allocations: 39.94 kB / 1.027 GB, free: 10.5 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006707/1.06, allocations: 401.5 kB / 1.028 GB, free: 10.09 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.826e-05/1.06, allocations: 4 kB / 1.028 GB, free: 10.08 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.352e-05/1.06, allocations: 12 kB / 1.028 GB, free: 10.07 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.069e-05/1.06, allocations: 12 kB / 1.028 GB, free: 10.06 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005297/1.061, allocations: 259.8 kB / 1.028 GB, free: 9.805 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001811/1.063, allocations: 1.336 MB / 1.029 GB, free: 8.395 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006577/1.064, allocations: 312.1 kB / 1.029 GB, free: 8.082 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 3.43e-05/1.064, allocations: 7.984 kB / 1.029 GB, free: 8.074 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004161/1.064, allocations: 181.9 kB / 1.03 GB, free: 7.883 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=33): time 2.404e-06/1.064, allocations: 0 / 1.03 GB, free: 7.883 MB / 0.7794 GB Notification: Performance of matching and sorting (n=33): time 0.0008238/1.065, allocations: 386.6 kB / 1.03 GB, free: 7.5 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.72e-05/1.065, allocations: 85.11 kB / 1.03 GB, free: 7.398 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003734/1.065, allocations: 341.6 kB / 1.03 GB, free: 7.051 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.856e-05/1.065, allocations: 41.69 kB / 1.03 GB, free: 7.004 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001903/1.066, allocations: 232.9 kB / 1.031 GB, free: 6.77 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 8.268e-05/1.066, allocations: 98.56 kB / 1.031 GB, free: 6.672 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.81e-05/1.066, allocations: 8 kB / 1.031 GB, free: 6.664 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001515/1.066, allocations: 354.8 kB / 1.031 GB, free: 6.309 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002161/1.066, allocations: 104.6 kB / 1.031 GB, free: 6.203 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002628/1.066, allocations: 168.4 kB / 1.031 GB, free: 6.012 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002337/1.067, allocations: 113.6 kB / 1.031 GB, free: 5.902 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.087e-06/1.067, allocations: 0 / 1.031 GB, free: 5.902 MB / 0.7794 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0006346/1.067, allocations: 358.8 kB / 1.032 GB, free: 5.547 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.993e-05/1.067, allocations: 4 kB / 1.032 GB, free: 5.543 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.726e-06/1.067, allocations: 4 kB / 1.032 GB, free: 5.539 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.792e-05/1.067, allocations: 4 kB / 1.032 GB, free: 5.535 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002677/1.068, allocations: 63.86 kB / 1.032 GB, free: 5.473 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.024e-05/1.068, allocations: 4 kB / 1.032 GB, free: 5.469 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002202/1.068, allocations: 47.86 kB / 1.032 GB, free: 5.422 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.458e-05/1.068, allocations: 15.98 kB / 1.032 GB, free: 5.406 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 14 ($whenCondition3,$whenCondition2,$whenCondition1,$PRE.con.offHys.entryTime,con.offHys.entryTime,$PRE.con.onTimer.entryTime,con.onTimer.entryTime,$PRE.con.offTimer.entryTime,con.offTimer.entryTime,con.on,$PRE.con.hys.y,con.hys.y,con.greaterEqualThreshold.y,con.con.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 45 * 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.0002038/1.068, allocations: 169.8 kB / 1.032 GB, free: 5.23 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.564e-05/1.068, allocations: 39.53 kB / 1.032 GB, free: 5.191 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.737e-05/1.068, allocations: 40.25 kB / 1.032 GB, free: 5.152 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.33e-06/1.068, allocations: 11.94 kB / 1.032 GB, free: 5.141 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.079e-05/1.068, allocations: 7.953 kB / 1.032 GB, free: 5.133 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.182e-06/1.068, allocations: 3.984 kB / 1.032 GB, free: 5.129 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001148/1.069, allocations: 0.7999 MB / 1.033 GB, free: 4.273 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.354e-06/1.069, allocations: 0 / 1.033 GB, free: 4.273 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002444/1.07, allocations: 51.91 kB / 1.033 GB, free: 4.223 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.775e-06/1.07, allocations: 0 / 1.033 GB, free: 4.223 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.815e-05/1.07, allocations: 11.95 kB / 1.033 GB, free: 4.211 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.434e-06/1.07, allocations: 3.938 kB / 1.033 GB, free: 4.207 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/1.07, allocations: 3.984 kB / 1.033 GB, free: 4.203 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008372/1.071, allocations: 0.5185 MB / 1.034 GB, free: 3.668 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001458/1.071, allocations: 144.5 kB / 1.034 GB, free: 3.508 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.075e-05/1.071, allocations: 4 kB / 1.034 GB, free: 3.504 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001921/1.071, allocations: 23.94 kB / 1.034 GB, free: 3.48 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.662e-05/1.071, allocations: 27.95 kB / 1.034 GB, free: 3.453 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.247e-05/1.071, allocations: 12 kB / 1.034 GB, free: 3.441 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0002501/1.071, allocations: 239.2 kB / 1.034 GB, free: 3.211 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/1.071, allocations: 0 / 1.034 GB, free: 3.211 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003946/1.072, allocations: 95.59 kB / 1.034 GB, free: 3.117 MB / 0.7794 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (con.con.I.y,cap.T) * Number of discrete variables: 9 (con.on,$whenCondition3,$whenCondition2,$whenCondition1,con.offHys.entryTime,con.onTimer.entryTime,con.offTimer.entryTime,con.hys.y,con.greaterEqualThreshold.y) * Number of discrete states: 1 (con.hys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.000168/1.072, allocations: 110.4 kB / 1.034 GB, free: 3.004 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0005756/1.072, allocations: 272 kB / 1.034 GB, free: 2.738 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/1.073, allocations: 0 / 1.034 GB, free: 2.738 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0002532/1.073, allocations: 135.8 kB / 1.035 GB, free: 2.605 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004533/1.073, allocations: 70.77 kB / 1.035 GB, free: 2.543 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001582/1.075, allocations: 0.962 MB / 1.036 GB, free: 1.555 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000392/1.075, allocations: 0.8191 MB / 1.036 GB, free: 0.7109 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0001802/1.075, allocations: 47.2 kB / 1.036 GB, free: 0.6641 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.899e-05/1.076, allocations: 35.42 kB / 1.036 GB, free: 0.6289 MB / 0.7794 GB Notification: Performance of SimCode: time 8.02e-07/1.076, allocations: 0 / 1.036 GB, free: 0.6289 MB / 0.7794 GB Notification: Performance of Templates: time 0.007507/1.083, allocations: 3.237 MB / 1.04 GB, free: 13.41 MB / 0.795 GB make -j1 -f Buildings_latest_Buildings.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer.makefile (rm -f Buildings_latest_Buildings.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer.pipe ; mkfifo Buildings_latest_Buildings.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer.pipe ; head -c 1048576 < Buildings_latest_Buildings.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer.pipe >> ../files/Buildings_latest_Buildings.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer.sim & ./Buildings_latest_Buildings.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Obsolete_Controls_Continuous_Examples_PIDHysteresisTimer.csv","../files/Buildings_latest_Buildings.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches