Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.001319/0.00132, allocations: 101.9 kB / 16.4 MB, free: 6.406 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.001257/0.001257, allocations: 192.2 kB / 17.35 MB, free: 5.695 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.343/1.343, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.296/2.296, allocations: 390.2 MB / 0.6655 GB, free: 0.6484 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001424/0.001424, allocations: 63.89 kB / 0.9515 GB, free: 7.695 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9628/0.9642, allocations: 140.4 MB / 1.089 GB, free: 5.531 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Validation.LimPIDReset): time 0.008049/0.9723, allocations: 4.341 MB / 1.093 GB, free: 2.402 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.004408/0.9768, allocations: 1.579 MB / 1.094 GB, free: 1.254 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001528/0.9783, allocations: 35.22 kB / 1.094 GB, free: 1.242 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0007686/0.9791, allocations: 169.8 kB / 1.095 GB, free: 1.117 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.001541/0.9807, allocations: 234.6 kB / 1.095 GB, free: 0.9531 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.00204/0.9828, allocations: 0.674 MB / 1.095 GB, free: 0.5742 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.002383/0.9852, allocations: 1.236 MB / 1.097 GB, free: 15.95 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001223/0.9864, allocations: 0.5007 MB / 1.097 GB, free: 15.67 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001141/0.9876, allocations: 483.4 kB / 1.098 GB, free: 15.41 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009055/0.9885, allocations: 458 kB / 1.098 GB, free: 15.15 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0004375/0.9889, allocations: 105.7 kB / 1.098 GB, free: 15.14 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003866/0.9893, allocations: 102.7 kB / 1.098 GB, free: 15.14 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.000396/0.9897, allocations: 240.2 kB / 1.098 GB, free: 14.98 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0009861/0.9907, allocations: 485.6 kB / 1.099 GB, free: 14.62 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.002089/0.9928, allocations: 1.159 MB / 1.1 GB, free: 14.07 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/0.9929, allocations: 0 / 1.1 GB, free: 14.07 MB / 0.8731 GB Notification: Performance of FrontEnd: time 2.094e-06/0.9929, allocations: 0 / 1.1 GB, free: 14.07 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 6.852e-05/0.9929, allocations: 0 / 1.1 GB, free: 14.07 MB / 0.8731 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.004021/0.997, allocations: 1.395 MB / 1.101 GB, free: 13.16 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.539e-05/0.997, allocations: 8.656 kB / 1.101 GB, free: 13.16 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004444/0.9975, allocations: 127.6 kB / 1.102 GB, free: 13.09 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002029/0.9995, allocations: 0.7614 MB / 1.102 GB, free: 12.6 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001237/0.9997, allocations: 84.23 kB / 1.102 GB, free: 12.54 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000174/0.9998, allocations: 66.75 kB / 1.102 GB, free: 12.52 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001808/1.002, allocations: 0.7356 MB / 1.103 GB, free: 12.16 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.079e-05/1.002, allocations: 4 kB / 1.103 GB, free: 12.15 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.275e-05/1.002, allocations: 31.94 kB / 1.103 GB, free: 12.13 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.408e-05/1.002, allocations: 16.22 kB / 1.103 GB, free: 12.13 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001415/1.003, allocations: 0.5179 MB / 1.104 GB, free: 11.95 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004938/1.008, allocations: 2.25 MB / 1.106 GB, free: 10.61 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001606/1.01, allocations: 0.6157 MB / 1.106 GB, free: 10.37 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005845/1.01, allocations: 272.4 kB / 1.107 GB, free: 10.26 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 5.436e-05/1.01, allocations: 8.016 kB / 1.107 GB, free: 10.26 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007831/1.011, allocations: 326.4 kB / 1.107 GB, free: 10.11 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=60): time 3.166e-06/1.011, allocations: 0 / 1.107 GB, free: 10.11 MB / 0.8731 GB Notification: Performance of matching and sorting (n=60): time 0.001941/1.013, allocations: 0.746 MB / 1.108 GB, free: 9.805 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.372e-05/1.013, allocations: 85.27 kB / 1.108 GB, free: 9.711 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001482/1.015, allocations: 0.7596 MB / 1.109 GB, free: 9.387 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 9.187e-05/1.015, allocations: 38.59 kB / 1.109 GB, free: 9.348 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004191/1.015, allocations: 440.7 kB / 1.109 GB, free: 9.004 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.000226/1.016, allocations: 205.2 kB / 1.109 GB, free: 8.84 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002142/1.016, allocations: 111 kB / 1.109 GB, free: 8.781 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001292/1.016, allocations: 331.1 kB / 1.11 GB, free: 8.465 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005324/1.016, allocations: 207.4 kB / 1.11 GB, free: 8.387 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000588/1.017, allocations: 308.5 kB / 1.11 GB, free: 8.203 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001047/1.018, allocations: 0.5056 MB / 1.111 GB, free: 7.918 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.202e-06/1.018, allocations: 5.312 kB / 1.111 GB, free: 7.914 MB / 0.8731 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001534/1.02, allocations: 0.6496 MB / 1.111 GB, free: 7.633 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.293e-05/1.02, allocations: 10.94 kB / 1.111 GB, free: 7.629 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.156e-05/1.02, allocations: 2.891 kB / 1.111 GB, free: 7.629 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.532e-05/1.02, allocations: 4.906 kB / 1.111 GB, free: 7.629 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007004/1.02, allocations: 152 kB / 1.111 GB, free: 7.609 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.207e-05/1.021, allocations: 13.34 kB / 1.112 GB, free: 7.602 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006346/1.021, allocations: 72.95 kB / 1.112 GB, free: 7.559 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.957e-05/1.021, allocations: 20.14 kB / 1.112 GB, free: 7.555 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007332/1.022, allocations: 362.4 kB / 1.112 GB, free: 7.348 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006239/1.023, allocations: 286.5 kB / 1.112 GB, free: 7.176 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00105/1.024, allocations: 496.3 kB / 1.113 GB, free: 6.898 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.963e-06/1.024, allocations: 0 / 1.113 GB, free: 6.898 MB / 0.8731 GB Notification: Performance of matching and sorting (n=76) (initialization_lambda0): time 0.001473/1.025, allocations: 0.6347 MB / 1.113 GB, free: 6.609 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.434e-05/1.025, allocations: 5.469 kB / 1.113 GB, free: 6.609 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.6e-06/1.025, allocations: 3.094 kB / 1.113 GB, free: 6.609 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.084e-05/1.025, allocations: 5.719 kB / 1.113 GB, free: 6.609 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006274/1.026, allocations: 138.2 kB / 1.113 GB, free: 6.598 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.592e-05/1.026, allocations: 6.172 kB / 1.113 GB, free: 6.598 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005814/1.026, allocations: 63.66 kB / 1.114 GB, free: 6.559 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.8e-05/1.027, allocations: 21.5 kB / 1.114 GB, free: 6.555 MB / 0.8731 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.0002904/1.027, allocations: 218.8 kB / 1.114 GB, free: 6.344 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002411/1.027, allocations: 91.38 kB / 1.114 GB, free: 6.297 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002894/1.027, allocations: 101.5 kB / 1.114 GB, free: 6.23 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.475e-06/1.027, allocations: 6.719 kB / 1.114 GB, free: 6.23 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.568e-05/1.027, allocations: 9.469 kB / 1.114 GB, free: 6.223 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.426e-06/1.027, allocations: 2.484 kB / 1.114 GB, free: 6.223 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00289/1.03, allocations: 1.437 MB / 1.115 GB, free: 5.469 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.749e-06/1.03, allocations: 0 / 1.115 GB, free: 5.469 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006171/1.031, allocations: 113.8 kB / 1.115 GB, free: 5.449 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.332e-05/1.031, allocations: 2.375 kB / 1.115 GB, free: 5.449 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.096e-05/1.031, allocations: 12.84 kB / 1.115 GB, free: 5.441 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.983e-06/1.031, allocations: 3.109 kB / 1.115 GB, free: 5.441 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/1.031, allocations: 0 / 1.115 GB, free: 5.441 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00195/1.033, allocations: 0.9635 MB / 1.116 GB, free: 4.961 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003967/1.033, allocations: 224.5 kB / 1.117 GB, free: 4.773 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000168/1.034, allocations: 11.39 kB / 1.117 GB, free: 4.766 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005165/1.034, allocations: 36.31 kB / 1.117 GB, free: 4.754 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001151/1.034, allocations: 38.77 kB / 1.117 GB, free: 4.746 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.79e-05/1.034, allocations: 18.69 kB / 1.117 GB, free: 4.742 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0009263/1.035, allocations: 0.5167 MB / 1.117 GB, free: 4.527 MB / 0.8731 GB Notification: Performance of sort global known variables: time 2.41e-07/1.035, allocations: 0 / 1.117 GB, free: 4.527 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.001055/1.036, allocations: 270.5 kB / 1.117 GB, free: 4.457 MB / 0.8731 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.0001963/1.037, allocations: 117.4 kB / 1.118 GB, free: 4.352 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001942/1.038, allocations: 0.7964 MB / 1.118 GB, free: 4.082 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 4.157e-06/1.039, allocations: 4.062 kB / 1.118 GB, free: 4.078 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0005933/1.039, allocations: 270.7 kB / 1.119 GB, free: 3.992 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001488/1.041, allocations: 268.5 kB / 1.119 GB, free: 3.895 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003405/1.044, allocations: 1.574 MB / 1.12 GB, free: 3.031 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007963/1.045, allocations: 0.9925 MB / 1.121 GB, free: 2.32 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003324/1.045, allocations: 68.05 kB / 1.121 GB, free: 2.309 MB / 0.8731 GB Notification: Performance of SimCode: time 8.22e-07/1.045, allocations: 4 kB / 1.121 GB, free: 2.305 MB / 0.8731 GB Notification: Performance of Templates: time 0.02788/1.073, allocations: 11.02 MB / 1.132 GB, free: 1.055 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Controls.Continuous.Validation.LimPIDReset.makefile (rm -f Buildings_9_Buildings.Controls.Continuous.Validation.LimPIDReset.pipe ; mkfifo Buildings_9_Buildings.Controls.Continuous.Validation.LimPIDReset.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.Continuous.Validation.LimPIDReset.pipe >> ../files/Buildings_9_Buildings.Controls.Continuous.Validation.LimPIDReset.sim & ./Buildings_9_Buildings.Controls.Continuous.Validation.LimPIDReset -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.Continuous.Validation.LimPIDReset.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.Continuous.Validation.LimPIDReset_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_Continuous_Validation_LimPIDReset.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.Continuous.Validation.LimPIDReset.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches