Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Obsolete.Controls.Continuous.Examples.PIDHysteresis.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: translateModel(Buildings.Obsolete.Controls.Continuous.Examples.PIDHysteresis,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|con.u_s|con.u_m|con.y",fileNamePrefix="Buildings_9_Buildings.Obsolete.Controls.Continuous.Examples.PIDHysteresis") translateModel(Buildings.Obsolete.Controls.Continuous.Examples.PIDHysteresis,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|con.u_s|con.u_m|con.y",fileNamePrefix="Buildings_9_Buildings.Obsolete.Controls.Continuous.Examples.PIDHysteresis") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.263/2.263, allocations: 387.1 MB / 399.7 MB, free: 9.488 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.001253/0.001253, allocations: 176.9 kB / 492.3 MB, free: 0.6133 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.604/1.604, allocations: 221.3 MB / 0.7872 GB, free: 12.86 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.0009386/0.0009387, allocations: 102.5 kB / 0.9267 GB, free: 13.93 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.052e-05/3.054e-05, allocations: 5.797 kB / 1.073 GB, free: 180.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2765/0.2766, allocations: 142.3 MB / 1.212 GB, free: 38.51 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9153/1.192, allocations: 156.5 MB / 1.365 GB, free: 19.09 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002075/1.192, allocations: 90.11 kB / 1.365 GB, free: 19.09 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01532/1.207, allocations: 6.889 MB / 1.372 GB, free: 34.32 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.384e-06/1.208, allocations: 0 / 1.372 GB, free: 34.32 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 2.735e-05/1.208, allocations: 9.156 kB / 1.372 GB, free: 34.32 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: 72 * Number of variables: 72 Notification: Performance of Generate backend data structure: time 0.0006639/1.208, allocations: 0.5978 MB / 1.373 GB, free: 33.87 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.71e-05/1.208, allocations: 11.12 kB / 1.373 GB, free: 33.87 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.723e-05/1.208, allocations: 54.45 kB / 1.373 GB, free: 33.84 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004184/1.209, allocations: 378 kB / 1.373 GB, free: 33.59 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.216e-05/1.209, allocations: 21.75 kB / 1.373 GB, free: 33.59 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.704e-05/1.209, allocations: 31.39 kB / 1.373 GB, free: 33.59 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004319/1.209, allocations: 341.2 kB / 1.373 GB, free: 33.47 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.307e-05/1.209, allocations: 3.969 kB / 1.373 GB, free: 33.47 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.977e-05/1.209, allocations: 9.375 kB / 1.373 GB, free: 33.47 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.223e-06/1.209, allocations: 7.719 kB / 1.373 GB, free: 33.47 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003001/1.21, allocations: 204.4 kB / 1.374 GB, free: 33.46 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001214/1.211, allocations: 1.245 MB / 1.375 GB, free: 32.81 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000381/1.211, allocations: 236.8 kB / 1.375 GB, free: 32.78 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001514/1.211, allocations: 108.1 kB / 1.375 GB, free: 32.77 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.926e-05/1.211, allocations: 192 / 1.375 GB, free: 32.77 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.448e-05/1.211, allocations: 40.89 kB / 1.375 GB, free: 32.73 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=22): time 1.012e-06/1.212, allocations: 0 / 1.375 GB, free: 32.73 MB / 0.8386 GB Notification: Performance of matching and sorting (n=22): time 0.000333/1.212, allocations: 221.9 kB / 1.375 GB, free: 32.67 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.465e-05/1.212, allocations: 158.1 kB / 1.376 GB, free: 32.48 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002392/1.212, allocations: 304.2 kB / 1.376 GB, free: 32.38 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.251e-05/1.212, allocations: 33.17 kB / 1.376 GB, free: 32.34 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001037/1.212, allocations: 207.2 kB / 1.376 GB, free: 32.22 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 4.414e-05/1.212, allocations: 78.72 kB / 1.376 GB, free: 32.18 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.169e-05/1.212, allocations: 6.562 kB / 1.376 GB, free: 32.18 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001003/1.212, allocations: 349 kB / 1.376 GB, free: 31.86 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001018/1.213, allocations: 70.81 kB / 1.377 GB, free: 31.86 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001486/1.213, allocations: 150.6 kB / 1.377 GB, free: 31.78 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001282/1.213, allocations: 80.19 kB / 1.377 GB, free: 31.78 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/1.213, allocations: 0 / 1.377 GB, free: 31.78 MB / 0.8386 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0003602/1.213, allocations: 264.7 kB / 1.377 GB, free: 31.71 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.838e-05/1.213, allocations: 3.094 kB / 1.377 GB, free: 31.71 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.135e-06/1.213, allocations: 6.359 kB / 1.377 GB, free: 31.71 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.605e-05/1.213, allocations: 3.953 kB / 1.377 GB, free: 31.7 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002214/1.214, allocations: 52.17 kB / 1.377 GB, free: 31.7 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.143e-05/1.214, allocations: 6.359 kB / 1.377 GB, free: 31.7 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002098/1.214, allocations: 48.3 kB / 1.377 GB, free: 31.68 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.927e-05/1.214, allocations: 11.28 kB / 1.377 GB, free: 31.68 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 3 ($PRE.con.hys.y,con.hys.y,con.PID.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 29 * 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 9.557e-05/1.214, allocations: 114.7 kB / 1.377 GB, free: 31.57 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.811e-05/1.214, allocations: 38.59 kB / 1.377 GB, free: 31.55 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.144e-05/1.214, allocations: 41.19 kB / 1.377 GB, free: 31.55 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.298e-06/1.214, allocations: 7.875 kB / 1.377 GB, free: 31.55 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.474e-06/1.214, allocations: 3.953 kB / 1.377 GB, free: 31.54 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.162e-06/1.214, allocations: 2.625 kB / 1.377 GB, free: 31.54 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004083/1.214, allocations: 412.6 kB / 1.378 GB, free: 31.35 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/1.214, allocations: 3.906 kB / 1.378 GB, free: 31.35 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002166/1.215, allocations: 47.52 kB / 1.378 GB, free: 31.34 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/1.215, allocations: 0 / 1.378 GB, free: 31.34 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.014e-05/1.215, allocations: 10.5 kB / 1.378 GB, free: 31.34 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/1.215, allocations: 0 / 1.378 GB, free: 31.34 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/1.215, allocations: 0 / 1.378 GB, free: 31.34 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004405/1.215, allocations: 426.4 kB / 1.378 GB, free: 31.18 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 9.959e-05/1.215, allocations: 136 kB / 1.378 GB, free: 31.07 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.12e-05/1.215, allocations: 7.875 kB / 1.378 GB, free: 31.07 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002042/1.216, allocations: 27.77 kB / 1.378 GB, free: 31.07 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.588e-05/1.216, allocations: 24.31 kB / 1.378 GB, free: 31.06 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.401e-05/1.216, allocations: 7.828 kB / 1.378 GB, free: 31.06 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0001994/1.216, allocations: 244.5 kB / 1.379 GB, free: 30.97 MB / 0.8386 GB Notification: Performance of sort global known variables: time 7.11e-07/1.216, allocations: 0 / 1.379 GB, free: 30.97 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002902/1.216, allocations: 76.44 kB / 1.379 GB, free: 30.96 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (con.PID.I.y,cap.T) * Number of discrete variables: 1 (con.hys.y) * Number of discrete states: 1 (con.hys.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 22 * 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.0001157/1.216, allocations: 106.1 kB / 1.379 GB, free: 30.87 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0002815/1.217, allocations: 196.3 kB / 1.379 GB, free: 30.86 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/1.217, allocations: 0 / 1.379 GB, free: 30.86 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0001165/1.217, allocations: 103.6 kB / 1.379 GB, free: 30.85 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004008/1.217, allocations: 64.92 kB / 1.379 GB, free: 30.84 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008399/1.218, allocations: 0.5065 MB / 1.38 GB, free: 30.62 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003118/1.218, allocations: 0.7994 MB / 1.38 GB, free: 29.91 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0001457/1.218, allocations: 35.97 kB / 1.38 GB, free: 29.9 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.644e-05/1.219, allocations: 28.83 kB / 1.381 GB, free: 29.89 MB / 0.8386 GB Notification: Performance of SimCode: time 2.4e-07/1.219, allocations: 0 / 1.381 GB, free: 29.89 MB / 0.8386 GB Notification: Performance of Templates: time 0.006229/1.225, allocations: 3.334 MB / 1.384 GB, free: 29.29 MB / 0.8386 GB make -j1 -f Buildings_9_Buildings.Obsolete.Controls.Continuous.Examples.PIDHysteresis.makefile (rm -f Buildings_9_Buildings.Obsolete.Controls.Continuous.Examples.PIDHysteresis.pipe ; mkfifo Buildings_9_Buildings.Obsolete.Controls.Continuous.Examples.PIDHysteresis.pipe ; head -c 1048576 < Buildings_9_Buildings.Obsolete.Controls.Continuous.Examples.PIDHysteresis.pipe >> ../files/Buildings_9_Buildings.Obsolete.Controls.Continuous.Examples.PIDHysteresis.sim & ./Buildings_9_Buildings.Obsolete.Controls.Continuous.Examples.PIDHysteresis -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Obsolete.Controls.Continuous.Examples.PIDHysteresis.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Obsolete.Controls.Continuous.Examples.PIDHysteresis_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Obsolete_Controls_Continuous_Examples_PIDHysteresis.csv","../files/Buildings_9_Buildings.Obsolete.Controls.Continuous.Examples.PIDHysteresis.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches