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.001638/0.001638, allocations: 111.1 kB / 16.42 MB, free: 6.469 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.001924/0.001924, allocations: 187.9 kB / 17.35 MB, free: 5.715 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.31/1.31, allocations: 222.9 MB / 241 MB, free: 15.07 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.202/2.202, allocations: 390.2 MB / 0.6655 GB, free: 0.6211 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001363/0.001363, allocations: 67.88 kB / 0.9515 GB, free: 7.672 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.766/0.7674, allocations: 140.4 MB / 1.089 GB, free: 5.516 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Validation.LimPIDReset): time 0.005101/0.7725, allocations: 4.335 MB / 1.093 GB, free: 2.387 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.003162/0.7757, allocations: 1.581 MB / 1.094 GB, free: 1.238 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005531/0.7763, allocations: 34.91 kB / 1.094 GB, free: 1.227 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0004127/0.7767, allocations: 165.9 kB / 1.095 GB, free: 1.105 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0006444/0.7774, allocations: 242.5 kB / 1.095 GB, free: 0.9336 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001365/0.7788, allocations: 0.6721 MB / 1.095 GB, free: 0.5586 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001519/0.7803, allocations: 1.237 MB / 1.097 GB, free: 15.93 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009552/0.7813, allocations: 0.4998 MB / 1.097 GB, free: 15.65 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008016/0.7821, allocations: 479.7 kB / 1.098 GB, free: 15.4 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005755/0.7827, allocations: 466.1 kB / 1.098 GB, free: 15.13 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0001974/0.7829, allocations: 102.5 kB / 1.098 GB, free: 15.13 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001903/0.7831, allocations: 102.6 kB / 1.098 GB, free: 15.13 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0002332/0.7833, allocations: 231.5 kB / 1.098 GB, free: 14.97 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0004377/0.7838, allocations: 489.4 kB / 1.099 GB, free: 14.61 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.001362/0.7851, allocations: 1.159 MB / 1.1 GB, free: 14.06 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.7851, allocations: 0 / 1.1 GB, free: 14.06 MB / 0.8731 GB Notification: Performance of FrontEnd: time 2.124e-06/0.7852, allocations: 1.344 kB / 1.1 GB, free: 14.06 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 1.429e-05/0.7852, allocations: 0 / 1.1 GB, free: 14.06 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.002684/0.7879, allocations: 1.398 MB / 1.101 GB, free: 13.14 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.426e-05/0.7879, allocations: 9.266 kB / 1.101 GB, free: 13.14 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002213/0.7881, allocations: 123.4 kB / 1.102 GB, free: 13.08 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00141/0.7896, allocations: 0.7621 MB / 1.102 GB, free: 12.59 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001245/0.7897, allocations: 78.77 kB / 1.102 GB, free: 12.54 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001237/0.7898, allocations: 70.97 kB / 1.102 GB, free: 12.51 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001444/0.7913, allocations: 0.7356 MB / 1.103 GB, free: 12.14 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.687e-05/0.7913, allocations: 0.8125 kB / 1.103 GB, free: 12.14 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.887e-05/0.7914, allocations: 30.25 kB / 1.103 GB, free: 12.12 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.194e-05/0.7914, allocations: 16.89 kB / 1.103 GB, free: 12.12 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001244/0.7927, allocations: 0.5176 MB / 1.104 GB, free: 11.94 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004112/0.7968, allocations: 2.258 MB / 1.106 GB, free: 10.59 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001518/0.7983, allocations: 0.6154 MB / 1.106 GB, free: 10.35 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000558/0.7989, allocations: 277.8 kB / 1.107 GB, free: 10.24 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 4.907e-05/0.7989, allocations: 7.906 kB / 1.107 GB, free: 10.24 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006959/0.7997, allocations: 317.5 kB / 1.107 GB, free: 10.1 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=60): time 2.815e-06/0.7997, allocations: 0 / 1.107 GB, free: 10.1 MB / 0.8731 GB Notification: Performance of matching and sorting (n=60): time 0.001769/0.8014, allocations: 0.7501 MB / 1.108 GB, free: 9.789 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.13e-05/0.8015, allocations: 85.27 kB / 1.108 GB, free: 9.695 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001074/0.8026, allocations: 0.7647 MB / 1.109 GB, free: 9.367 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 7.172e-05/0.8027, allocations: 40.45 kB / 1.109 GB, free: 9.324 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004128/0.8031, allocations: 441.4 kB / 1.109 GB, free: 8.98 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001851/0.8033, allocations: 206.2 kB / 1.109 GB, free: 8.816 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001789/0.8035, allocations: 110.6 kB / 1.109 GB, free: 8.758 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001349/0.8036, allocations: 326.7 kB / 1.11 GB, free: 8.445 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004929/0.8041, allocations: 211.9 kB / 1.11 GB, free: 8.363 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005769/0.8047, allocations: 301 kB / 1.11 GB, free: 8.188 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001024/0.8057, allocations: 0.5093 MB / 1.111 GB, free: 7.898 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.666e-06/0.8058, allocations: 0 / 1.111 GB, free: 7.898 MB / 0.8731 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.00133/0.8071, allocations: 0.6575 MB / 1.111 GB, free: 7.609 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.977e-05/0.8071, allocations: 7.219 kB / 1.111 GB, free: 7.609 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.566e-06/0.8071, allocations: 2.188 kB / 1.111 GB, free: 7.609 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.957e-05/0.8072, allocations: 5.125 kB / 1.111 GB, free: 7.609 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006835/0.8078, allocations: 147.3 kB / 1.111 GB, free: 7.594 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.301e-05/0.8079, allocations: 6.625 kB / 1.111 GB, free: 7.594 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004718/0.8084, allocations: 76.62 kB / 1.112 GB, free: 7.547 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.702e-05/0.8084, allocations: 24.58 kB / 1.112 GB, free: 7.539 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000652/0.8091, allocations: 351.3 kB / 1.112 GB, free: 7.344 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005963/0.8097, allocations: 297.6 kB / 1.112 GB, free: 7.16 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00103/0.8107, allocations: 496.3 kB / 1.113 GB, free: 6.883 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.196e-06/0.8107, allocations: 1.406 kB / 1.113 GB, free: 6.883 MB / 0.8731 GB Notification: Performance of matching and sorting (n=76) (initialization_lambda0): time 0.001306/0.812, allocations: 0.6261 MB / 1.113 GB, free: 6.602 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.281e-05/0.8121, allocations: 10.25 kB / 1.113 GB, free: 6.598 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.8121, allocations: 1.594 kB / 1.113 GB, free: 6.598 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.456e-06/0.8121, allocations: 6.094 kB / 1.113 GB, free: 6.598 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006327/0.8127, allocations: 139.2 kB / 1.113 GB, free: 6.586 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.404e-05/0.8127, allocations: 9.281 kB / 1.113 GB, free: 6.582 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004578/0.8132, allocations: 55.44 kB / 1.114 GB, free: 6.551 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.534e-05/0.8133, allocations: 24.78 kB / 1.114 GB, free: 6.543 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.0002613/0.8135, allocations: 220.7 kB / 1.114 GB, free: 6.332 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000146/0.8137, allocations: 95.84 kB / 1.114 GB, free: 6.281 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000249/0.8139, allocations: 101.2 kB / 1.114 GB, free: 6.215 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.927e-06/0.814, allocations: 3.859 kB / 1.114 GB, free: 6.215 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/0.814, allocations: 0.6562 kB / 1.114 GB, free: 6.215 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003269/0.8143, allocations: 224.1 kB / 1.114 GB, free: 6.027 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001086/0.8144, allocations: 17.19 kB / 1.114 GB, free: 6.016 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004407/0.8149, allocations: 35.44 kB / 1.114 GB, free: 6.004 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001167/0.815, allocations: 35.12 kB / 1.114 GB, free: 6 MB / 0.8731 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001669/0.8167, allocations: 0.6672 MB / 1.115 GB, free: 5.695 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001873/0.8185, allocations: 1.076 MB / 1.116 GB, free: 5.109 MB / 0.8731 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000544/0.8191, allocations: 259.9 kB / 1.116 GB, free: 5.012 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0007499/0.8199, allocations: 0.5215 MB / 1.117 GB, free: 4.793 MB / 0.8731 GB Notification: Performance of Backend: time 7.02e-07/0.8199, allocations: 3.938 kB / 1.117 GB, free: 4.789 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001805/0.8217, allocations: 0.6867 MB / 1.117 GB, free: 4.512 MB / 0.8731 GB Notification: Performance of SimCode: time 0.003231/0.8249, allocations: 2.024 MB / 1.119 GB, free: 3.215 MB / 0.8731 GB Notification: Performance of Templates: time 0.02948/0.8544, allocations: 12.91 MB / 1.132 GB, free: 2.074 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