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.108/2.108, allocations: 387.4 MB / 394.9 MB, free: 13.33 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.0009676/0.0009673, allocations: 188.8 kB / 487.4 MB, free: 5.016 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.325/1.325, allocations: 221.5 MB / 0.7824 GB, free: 0.9648 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008656/0.0008655, allocations: 91.89 kB / 0.9219 GB, free: 2.211 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.314e-05/1.317e-05, allocations: 4 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2351/0.2351, allocations: 142.4 MB / 1.206 GB, free: 43.96 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7724/1.008, allocations: 155.8 MB / 1.358 GB, free: 18.33 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002298/1.008, allocations: 90.12 kB / 1.358 GB, free: 18.33 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01522/1.023, allocations: 6.829 MB / 1.365 GB, free: 33.58 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.565e-06/1.023, allocations: 0 / 1.365 GB, free: 33.58 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 2.926e-05/1.023, allocations: 9.219 kB / 1.365 GB, free: 33.58 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.0007703/1.024, allocations: 0.5932 MB / 1.365 GB, free: 33.12 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.524e-05/1.024, allocations: 8.281 kB / 1.365 GB, free: 33.12 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.082e-05/1.024, allocations: 54.3 kB / 1.366 GB, free: 33.1 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004585/1.024, allocations: 378.6 kB / 1.366 GB, free: 32.85 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.209e-05/1.025, allocations: 16.31 kB / 1.366 GB, free: 32.84 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.569e-05/1.025, allocations: 15.38 kB / 1.366 GB, free: 32.84 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003433/1.025, allocations: 188 kB / 1.366 GB, free: 32.84 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004087/1.025, allocations: 293.7 kB / 1.366 GB, free: 32.73 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.463e-05/1.025, allocations: 7.906 kB / 1.366 GB, free: 32.73 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.841e-05/1.025, allocations: 0 / 1.366 GB, free: 32.73 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.338e-06/1.025, allocations: 7.844 kB / 1.366 GB, free: 32.73 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001384/1.027, allocations: 1.178 MB / 1.368 GB, free: 32.11 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003778/1.027, allocations: 226.8 kB / 1.368 GB, free: 32.07 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001236/1.027, allocations: 98.39 kB / 1.368 GB, free: 32.06 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 3.512e-05/1.027, allocations: 11.97 kB / 1.368 GB, free: 32.05 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.836e-05/1.027, allocations: 30.75 kB / 1.368 GB, free: 32.02 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=22): time 1.212e-06/1.027, allocations: 0 / 1.368 GB, free: 32.02 MB / 0.8386 GB Notification: Performance of matching and sorting (n=22): time 0.0003386/1.028, allocations: 206.4 kB / 1.368 GB, free: 31.96 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.012e-05/1.028, allocations: 161.1 kB / 1.368 GB, free: 31.77 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002371/1.028, allocations: 263.5 kB / 1.368 GB, free: 31.68 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.344e-05/1.028, allocations: 25.7 kB / 1.369 GB, free: 31.64 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001207/1.028, allocations: 215.8 kB / 1.369 GB, free: 31.52 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 4.132e-05/1.028, allocations: 78.25 kB / 1.369 GB, free: 31.47 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.177e-05/1.028, allocations: 224 / 1.369 GB, free: 31.47 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.000124/1.028, allocations: 344 kB / 1.369 GB, free: 31.16 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.519e-05/1.029, allocations: 74.12 kB / 1.369 GB, free: 31.15 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000125/1.029, allocations: 141 kB / 1.369 GB, free: 31.07 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001055/1.029, allocations: 77.48 kB / 1.369 GB, free: 31.07 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/1.029, allocations: 0 / 1.369 GB, free: 31.07 MB / 0.8386 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0002788/1.029, allocations: 228.7 kB / 1.37 GB, free: 31.01 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.596e-05/1.029, allocations: 6.219 kB / 1.37 GB, free: 31.01 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.835e-06/1.029, allocations: 3.875 kB / 1.37 GB, free: 31.01 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.513e-05/1.029, allocations: 8.062 kB / 1.37 GB, free: 31 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002122/1.029, allocations: 54.03 kB / 1.37 GB, free: 31 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.495e-06/1.029, allocations: 7.797 kB / 1.37 GB, free: 31 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001916/1.03, allocations: 44.41 kB / 1.37 GB, free: 30.98 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.621e-05/1.03, allocations: 3.656 kB / 1.37 GB, free: 30.98 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 0.0001146/1.03, allocations: 112.3 kB / 1.37 GB, free: 30.88 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.934e-05/1.03, allocations: 34.56 kB / 1.37 GB, free: 30.86 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.654e-05/1.03, allocations: 33.11 kB / 1.37 GB, free: 30.85 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/1.03, allocations: 0 / 1.37 GB, free: 30.85 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.08e-06/1.03, allocations: 3.844 kB / 1.37 GB, free: 30.85 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.961e-06/1.03, allocations: 6.672 kB / 1.37 GB, free: 30.84 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003169/1.03, allocations: 362.6 kB / 1.37 GB, free: 30.68 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/1.03, allocations: 0 / 1.37 GB, free: 30.68 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002156/1.03, allocations: 54.56 kB / 1.37 GB, free: 30.67 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/1.03, allocations: 0 / 1.37 GB, free: 30.67 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.602e-05/1.03, allocations: 0 / 1.37 GB, free: 30.67 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/1.03, allocations: 3.938 kB / 1.37 GB, free: 30.67 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/1.03, allocations: 3.844 kB / 1.37 GB, free: 30.67 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004208/1.031, allocations: 406.6 kB / 1.371 GB, free: 30.51 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 9.099e-05/1.031, allocations: 126.7 kB / 1.371 GB, free: 30.4 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.607e-05/1.031, allocations: 11.16 kB / 1.371 GB, free: 30.4 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001972/1.031, allocations: 24.42 kB / 1.371 GB, free: 30.4 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.533e-05/1.031, allocations: 16.17 kB / 1.371 GB, free: 30.4 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.275e-05/1.031, allocations: 10.09 kB / 1.371 GB, free: 30.4 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0001611/1.031, allocations: 203.6 kB / 1.371 GB, free: 30.32 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.3e-07/1.031, allocations: 0 / 1.371 GB, free: 30.32 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002868/1.032, allocations: 72.81 kB / 1.371 GB, free: 30.3 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.0001263/1.032, allocations: 98.62 kB / 1.371 GB, free: 30.21 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.00026/1.032, allocations: 177.2 kB / 1.371 GB, free: 30.2 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/1.032, allocations: 3.938 kB / 1.371 GB, free: 30.2 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0001022/1.032, allocations: 89.28 kB / 1.372 GB, free: 30.2 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004134/1.033, allocations: 76.69 kB / 1.372 GB, free: 30.18 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008396/1.034, allocations: 0.5006 MB / 1.372 GB, free: 29.96 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003056/1.034, allocations: 0.7997 MB / 1.373 GB, free: 29.26 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0001348/1.034, allocations: 34.95 kB / 1.373 GB, free: 29.25 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.947e-05/1.034, allocations: 28.84 kB / 1.373 GB, free: 29.24 MB / 0.8386 GB Notification: Performance of SimCode: time 3.71e-07/1.034, allocations: 0 / 1.373 GB, free: 29.24 MB / 0.8386 GB Notification: Performance of Templates: time 0.005495/1.04, allocations: 2.998 MB / 1.376 GB, free: 29.04 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