Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.Continuous.Validation.LimPIDReset.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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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: translateModel(Buildings.Controls.Continuous.Validation.LimPIDReset,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|setPoi.y|mea.y|trigger.y|limPIDDef.y|limPIDDef.controlError|limPIDPar.y|limPIDPar.y_reset|limPIDInp.y|limPIDInp.y_reset_in",fileNamePrefix="Buildings_11_Buildings.Controls.Continuous.Validation.LimPIDReset") translateModel(Buildings.Controls.Continuous.Validation.LimPIDReset,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|setPoi.y|mea.y|trigger.y|limPIDDef.y|limPIDDef.controlError|limPIDPar.y|limPIDPar.y_reset|limPIDInp.y|limPIDInp.y_reset_in",fileNamePrefix="Buildings_11_Buildings.Controls.Continuous.Validation.LimPIDReset") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001828/0.001828, allocations: 107.5 kB / 15.99 MB, free: 6.355 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.001989/0.001989, allocations: 198.8 kB / 16.91 MB, free: 6.195 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.45/1.45, allocations: 222.9 MB / 240.6 MB, free: 13.72 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.808/2.808, allocations: 469.8 MB / 0.7427 GB, free: 3.656 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001882/0.001882, allocations: 69.52 kB / 0.9087 GB, free: 14.27 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3568/0.3587, allocations: 159.1 MB / 1.064 GB, free: 15.15 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Validation.LimPIDReset): time 0.006233/0.365, allocations: 4.326 MB / 1.068 GB, free: 10.8 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.003636/0.3686, allocations: 1.535 MB / 1.07 GB, free: 9.254 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000723/0.3694, allocations: 35.81 kB / 1.07 GB, free: 9.219 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0004472/0.3699, allocations: 118.8 kB / 1.07 GB, free: 9.102 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0007028/0.3706, allocations: 186.8 kB / 1.07 GB, free: 8.918 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.001472/0.3721, allocations: 0.6223 MB / 1.071 GB, free: 8.309 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.001428/0.3735, allocations: 1.226 MB / 1.072 GB, free: 7.078 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007684/0.3743, allocations: 0.4924 MB / 1.072 GB, free: 6.562 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000623/0.3749, allocations: 473.8 kB / 1.073 GB, free: 6.098 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005143/0.3755, allocations: 457.4 kB / 1.073 GB, free: 5.648 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0001433/0.3756, allocations: 104 kB / 1.073 GB, free: 5.547 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001296/0.3758, allocations: 104 kB / 1.074 GB, free: 5.445 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0001989/0.376, allocations: 231.1 kB / 1.074 GB, free: 5.219 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0004112/0.3764, allocations: 497 kB / 1.074 GB, free: 4.73 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0009035/0.3773, allocations: 0.8501 MB / 1.075 GB, free: 3.879 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.3773, allocations: 7.938 kB / 1.075 GB, free: 3.871 MB / 0.8419 GB Notification: Performance of FrontEnd: time 3.647e-06/0.3773, allocations: 0 / 1.075 GB, free: 3.871 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 1.203e-05/0.3773, allocations: 3.938 kB / 1.075 GB, free: 3.867 MB / 0.8419 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 168 * Number of variables: 168 Notification: Performance of Generate backend data structure: time 0.002535/0.3799, allocations: 1.391 MB / 1.076 GB, free: 2.426 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 5.507e-05/0.3799, allocations: 12.02 kB / 1.076 GB, free: 2.414 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002061/0.3801, allocations: 123.4 kB / 1.077 GB, free: 2.293 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001229/0.3814, allocations: 0.7352 MB / 1.077 GB, free: 1.516 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.974e-05/0.3815, allocations: 76.27 kB / 1.077 GB, free: 1.434 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001076/0.3816, allocations: 68.38 kB / 1.077 GB, free: 1.367 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001354/0.383, allocations: 0.7407 MB / 1.078 GB, free: 0.5898 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.852e-05/0.383, allocations: 0 / 1.078 GB, free: 0.5898 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.494e-05/0.3831, allocations: 28 kB / 1.078 GB, free: 0.5625 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.818e-05/0.3831, allocations: 20 kB / 1.078 GB, free: 0.543 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001116/0.3842, allocations: 0.5165 MB / 1.079 GB, free: 28 kB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6064/0.9906, allocations: 2.263 MB / 1.081 GB, free: 21.29 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001536/0.9922, allocations: 0.6237 MB / 1.082 GB, free: 21.06 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005099/0.9927, allocations: 273.1 kB / 1.082 GB, free: 20.95 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 5.682e-05/0.9928, allocations: 9.172 kB / 1.082 GB, free: 20.95 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006925/0.9935, allocations: 322.8 kB / 1.082 GB, free: 20.81 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=60): time 3.086e-06/0.9935, allocations: 0 / 1.082 GB, free: 20.81 MB / 0.8419 GB Notification: Performance of matching and sorting (n=60): time 0.001738/0.9953, allocations: 0.7523 MB / 1.083 GB, free: 20.52 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.383e-05/0.9953, allocations: 84.22 kB / 1.083 GB, free: 20.43 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001054/0.9964, allocations: 0.7586 MB / 1.084 GB, free: 20.11 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 5.472e-05/0.9965, allocations: 36.88 kB / 1.084 GB, free: 20.07 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002976/0.9968, allocations: 443.2 kB / 1.084 GB, free: 19.74 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001493/0.9969, allocations: 204 kB / 1.084 GB, free: 19.58 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001841/0.9971, allocations: 110.6 kB / 1.084 GB, free: 19.52 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 7.529e-05/0.9972, allocations: 329.8 kB / 1.085 GB, free: 19.21 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004689/0.9977, allocations: 207.4 kB / 1.085 GB, free: 19.12 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004975/0.9982, allocations: 316 kB / 1.085 GB, free: 18.94 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009453/0.9991, allocations: 0.5066 MB / 1.086 GB, free: 18.66 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.987e-06/0.9992, allocations: 0.9375 kB / 1.086 GB, free: 18.66 MB / 0.8419 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001396/1.001, allocations: 0.6543 MB / 1.086 GB, free: 18.37 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.399e-05/1.001, allocations: 6 kB / 1.086 GB, free: 18.37 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.077e-05/1.001, allocations: 2.438 kB / 1.086 GB, free: 18.37 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.274e-05/1.001, allocations: 6.047 kB / 1.086 GB, free: 18.37 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007007/1.001, allocations: 142.7 kB / 1.087 GB, free: 18.36 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.677e-05/1.001, allocations: 9.359 kB / 1.087 GB, free: 18.36 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000478/1.002, allocations: 77.8 kB / 1.087 GB, free: 18.31 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.779e-05/1.002, allocations: 20.84 kB / 1.087 GB, free: 18.3 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006574/1.003, allocations: 355 kB / 1.087 GB, free: 18.11 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004761/1.003, allocations: 289.3 kB / 1.087 GB, free: 17.93 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008585/1.004, allocations: 492.8 kB / 1.088 GB, free: 17.66 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.487e-06/1.004, allocations: 4.688 kB / 1.088 GB, free: 17.65 MB / 0.8419 GB Notification: Performance of matching and sorting (n=76) (initialization_lambda0): time 0.001178/1.005, allocations: 0.6346 MB / 1.088 GB, free: 17.36 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.318e-05/1.005, allocations: 6.312 kB / 1.088 GB, free: 17.36 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/1.005, allocations: 1.594 kB / 1.088 GB, free: 17.36 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.143e-06/1.005, allocations: 10.28 kB / 1.088 GB, free: 17.36 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006056/1.006, allocations: 141.4 kB / 1.088 GB, free: 17.35 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.578e-06/1.006, allocations: 5.891 kB / 1.088 GB, free: 17.35 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000418/1.006, allocations: 55.89 kB / 1.089 GB, free: 17.32 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.18e-05/1.006, allocations: 20.73 kB / 1.089 GB, free: 17.31 MB / 0.8419 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,trigger.pulseStart,$PRE.trigger.pulseStart,trigger.y,$whenCondition2,limPIDOri.I.local_reset,limPIDDef.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (76): * Single equations (assignments): 76 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002039/1.006, allocations: 221.5 kB / 1.089 GB, free: 17.1 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001238/1.007, allocations: 95.94 kB / 1.089 GB, free: 17.05 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002325/1.007, allocations: 101.7 kB / 1.089 GB, free: 16.98 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.535e-06/1.007, allocations: 9.312 kB / 1.089 GB, free: 16.98 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.393e-05/1.007, allocations: 0 / 1.089 GB, free: 16.98 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.049e-05/1.007, allocations: 3.188 kB / 1.089 GB, free: 16.98 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002583/1.009, allocations: 1.447 MB / 1.09 GB, free: 16.24 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.61e-06/1.01, allocations: 1.891 kB / 1.09 GB, free: 16.24 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000597/1.01, allocations: 101 kB / 1.09 GB, free: 16.23 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.254e-06/1.01, allocations: 3.031 kB / 1.09 GB, free: 16.23 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.4e-05/1.01, allocations: 14.22 kB / 1.09 GB, free: 16.23 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.119e-06/1.01, allocations: 3.156 kB / 1.09 GB, free: 16.23 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.616e-06/1.01, allocations: 4.5 kB / 1.09 GB, free: 16.22 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001862/1.012, allocations: 0.9572 MB / 1.091 GB, free: 15.75 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002863/1.012, allocations: 228.6 kB / 1.092 GB, free: 15.55 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.095e-05/1.012, allocations: 12.56 kB / 1.092 GB, free: 15.55 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004384/1.013, allocations: 35.48 kB / 1.092 GB, free: 15.54 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001198/1.013, allocations: 35.05 kB / 1.092 GB, free: 15.53 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.157e-05/1.013, allocations: 20.03 kB / 1.092 GB, free: 15.52 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0007886/1.014, allocations: 0.5148 MB / 1.092 GB, free: 15.31 MB / 0.8419 GB Notification: Performance of sort global known variables: time 3.6e-07/1.014, allocations: 1.531 kB / 1.092 GB, free: 15.31 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0009448/1.015, allocations: 278.1 kB / 1.093 GB, free: 15.23 MB / 0.8419 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (limPIDPar.I.y,limPIDPar.D.x,limPIDDef.I.y,limPIDDef.D.x,limPIDInp.I.y,limPIDInp.D.x,limPIDOri.I.y,limPIDOri.D.x) * Number of discrete variables: 4 (trigger.y,$whenCondition2,$whenCondition1,trigger.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (60): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001586/1.015, allocations: 117.3 kB / 1.093 GB, free: 15.12 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.002022/1.017, allocations: 0.8148 MB / 1.093 GB, free: 14.85 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 4.399e-06/1.017, allocations: 0.5625 kB / 1.093 GB, free: 14.85 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0005568/1.018, allocations: 270.3 kB / 1.094 GB, free: 14.76 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001227/1.019, allocations: 266.2 kB / 1.094 GB, free: 14.68 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002937/1.022, allocations: 1.935 MB / 1.096 GB, free: 13.47 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005418/1.022, allocations: 0.9954 MB / 1.097 GB, free: 12.75 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002696/1.023, allocations: 68.44 kB / 1.097 GB, free: 12.74 MB / 0.8419 GB Notification: Performance of SimCode: time 1.122e-06/1.023, allocations: 0 / 1.097 GB, free: 12.74 MB / 0.8419 GB Notification: Performance of Templates: time 0.02804/1.051, allocations: 10.94 MB / 1.108 GB, free: 11.54 MB / 0.8419 GB make -j1 -f Buildings_11_Buildings.Controls.Continuous.Validation.LimPIDReset.makefile (rm -f Buildings_11_Buildings.Controls.Continuous.Validation.LimPIDReset.pipe ; mkfifo Buildings_11_Buildings.Controls.Continuous.Validation.LimPIDReset.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.Continuous.Validation.LimPIDReset.pipe >> ../files/Buildings_11_Buildings.Controls.Continuous.Validation.LimPIDReset.sim & ./Buildings_11_Buildings.Controls.Continuous.Validation.LimPIDReset -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.Continuous.Validation.LimPIDReset.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.Continuous.Validation.LimPIDReset_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_Continuous_Validation_LimPIDReset.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.Continuous.Validation.LimPIDReset.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches