Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001847/0.001847, allocations: 103.9 kB / 15.98 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.002058/0.002058, allocations: 195.3 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.543/1.543, allocations: 222.9 MB / 240.6 MB, free: 13.71 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.521/2.521, allocations: 437.1 MB / 0.7107 GB, free: 4.688 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001898/0.001898, allocations: 63.73 kB / 0.8694 GB, free: 2.582 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2866/0.2885, allocations: 151.6 MB / 1.017 GB, free: 11.01 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Validation.LimPIDReset): time 0.006029/0.2946, allocations: 4.322 MB / 1.022 GB, free: 6.66 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.003102/0.2977, allocations: 1.543 MB / 1.023 GB, free: 5.109 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006508/0.2984, allocations: 35.81 kB / 1.023 GB, free: 5.074 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0004455/0.2989, allocations: 122.9 kB / 1.023 GB, free: 4.953 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0006897/0.2996, allocations: 191.2 kB / 1.024 GB, free: 4.766 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.001356/0.301, allocations: 0.6138 MB / 1.024 GB, free: 4.164 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.00138/0.3024, allocations: 1.226 MB / 1.025 GB, free: 2.938 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007342/0.3031, allocations: 0.4962 MB / 1.026 GB, free: 2.418 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006109/0.3038, allocations: 469.8 kB / 1.026 GB, free: 1.957 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004993/0.3043, allocations: 461.4 kB / 1.027 GB, free: 1.504 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.0001442/0.3044, allocations: 100 kB / 1.027 GB, free: 1.406 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001326/0.3046, allocations: 104 kB / 1.027 GB, free: 1.305 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0002065/0.3048, allocations: 231.1 kB / 1.027 GB, free: 1.078 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0004242/0.3052, allocations: 497 kB / 1.028 GB, free: 0.5898 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0009301/0.3061, allocations: 0.8501 MB / 1.028 GB, free: 15.74 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 1.213e-05/0.3062, allocations: 0 / 1.028 GB, free: 15.74 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.583e-06/0.3062, allocations: 3.938 kB / 1.028 GB, free: 15.73 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 1.443e-05/0.3062, allocations: 0 / 1.028 GB, free: 15.73 MB / 0.8106 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.002496/0.3087, allocations: 1.395 MB / 1.03 GB, free: 14.29 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.191e-05/0.3087, allocations: 20.81 kB / 1.03 GB, free: 14.27 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002005/0.309, allocations: 123.4 kB / 1.03 GB, free: 14.15 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00121/0.3102, allocations: 0.7352 MB / 1.031 GB, free: 13.37 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.757e-05/0.3103, allocations: 80.27 kB / 1.031 GB, free: 13.29 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001194/0.3104, allocations: 72.36 kB / 1.031 GB, free: 13.21 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001364/0.3118, allocations: 0.7329 MB / 1.032 GB, free: 12.45 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.833e-05/0.3118, allocations: 4 kB / 1.032 GB, free: 12.45 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.51e-05/0.3119, allocations: 28 kB / 1.032 GB, free: 12.42 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.091e-05/0.3119, allocations: 16 kB / 1.032 GB, free: 12.4 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001123/0.313, allocations: 0.5165 MB / 1.032 GB, free: 11.89 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003821/0.3169, allocations: 2.271 MB / 1.034 GB, free: 9.543 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00147/0.3184, allocations: 0.621 MB / 1.035 GB, free: 8.914 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005581/0.3189, allocations: 273.4 kB / 1.035 GB, free: 8.645 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 5.78e-05/0.319, allocations: 8.562 kB / 1.035 GB, free: 8.637 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000711/0.3197, allocations: 331 kB / 1.035 GB, free: 8.305 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=60): time 2.996e-06/0.3197, allocations: 0 / 1.035 GB, free: 8.305 MB / 0.8106 GB Notification: Performance of matching and sorting (n=60): time 0.001738/0.3215, allocations: 0.7594 MB / 1.036 GB, free: 7.539 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.001e-05/0.3216, allocations: 85.61 kB / 1.036 GB, free: 7.438 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001077/0.3227, allocations: 0.7594 MB / 1.037 GB, free: 6.668 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 6.391e-05/0.3227, allocations: 41.7 kB / 1.037 GB, free: 6.621 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004036/0.3231, allocations: 436.5 kB / 1.037 GB, free: 6.191 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001964/0.3233, allocations: 201 kB / 1.038 GB, free: 5.992 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001912/0.3235, allocations: 110.3 kB / 1.038 GB, free: 5.875 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001619/0.3237, allocations: 330 kB / 1.038 GB, free: 5.547 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004659/0.3242, allocations: 207.4 kB / 1.038 GB, free: 5.344 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005453/0.3247, allocations: 312.4 kB / 1.039 GB, free: 5.004 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009906/0.3257, allocations: 0.5074 MB / 1.039 GB, free: 4.465 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.247e-06/0.3258, allocations: 4 kB / 1.039 GB, free: 4.461 MB / 0.8106 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.00132/0.3271, allocations: 0.6462 MB / 1.04 GB, free: 3.809 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.135e-05/0.3271, allocations: 8 kB / 1.04 GB, free: 3.801 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.504e-06/0.3271, allocations: 0 / 1.04 GB, free: 3.801 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.281e-05/0.3271, allocations: 8 kB / 1.04 GB, free: 3.793 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006706/0.3278, allocations: 147.8 kB / 1.04 GB, free: 3.648 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.427e-05/0.3278, allocations: 7.938 kB / 1.04 GB, free: 3.641 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004719/0.3283, allocations: 75.53 kB / 1.04 GB, free: 3.566 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.237e-05/0.3284, allocations: 20 kB / 1.04 GB, free: 3.547 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006638/0.329, allocations: 353.4 kB / 1.04 GB, free: 3.199 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005171/0.3296, allocations: 296.4 kB / 1.041 GB, free: 2.871 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009209/0.3305, allocations: 495.5 kB / 1.041 GB, free: 2.359 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.003e-06/0.3305, allocations: 0 / 1.041 GB, free: 2.359 MB / 0.8106 GB Notification: Performance of matching and sorting (n=76) (initialization_lambda0): time 0.001213/0.3317, allocations: 0.6344 MB / 1.042 GB, free: 1.715 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.124e-05/0.3318, allocations: 4 kB / 1.042 GB, free: 1.711 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.123e-06/0.3318, allocations: 7.984 kB / 1.042 GB, free: 1.703 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.053e-06/0.3318, allocations: 4 kB / 1.042 GB, free: 1.699 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006146/0.3324, allocations: 144 kB / 1.042 GB, free: 1.559 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.305e-06/0.3324, allocations: 7.938 kB / 1.042 GB, free: 1.551 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004064/0.3328, allocations: 63.44 kB / 1.042 GB, free: 1.488 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.679e-05/0.3329, allocations: 16 kB / 1.042 GB, free: 1.473 MB / 0.8106 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.0002127/0.3331, allocations: 218.8 kB / 1.042 GB, free: 1.254 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001239/0.3332, allocations: 90.88 kB / 1.042 GB, free: 1.164 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002247/0.3334, allocations: 109.2 kB / 1.042 GB, free: 1.051 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.983e-06/0.3335, allocations: 4 kB / 1.042 GB, free: 1.047 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.088e-05/0.3335, allocations: 7.938 kB / 1.042 GB, free: 1.039 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.671e-06/0.3335, allocations: 4 kB / 1.042 GB, free: 1.035 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002291/0.3358, allocations: 1.442 MB / 1.044 GB, free: 15.53 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/0.3358, allocations: 3.938 kB / 1.044 GB, free: 15.53 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005591/0.3364, allocations: 103.8 kB / 1.044 GB, free: 15.43 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.721e-06/0.3364, allocations: 4 kB / 1.044 GB, free: 15.42 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.089e-05/0.3364, allocations: 16 kB / 1.044 GB, free: 15.41 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.605e-06/0.3364, allocations: 3.938 kB / 1.044 GB, free: 15.4 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.3364, allocations: 4 kB / 1.044 GB, free: 15.4 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001735/0.3382, allocations: 0.9625 MB / 1.045 GB, free: 14.42 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000279/0.3385, allocations: 219.8 kB / 1.045 GB, free: 14.19 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.348e-05/0.3386, allocations: 12 kB / 1.045 GB, free: 14.18 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004268/0.339, allocations: 31.97 kB / 1.045 GB, free: 14.14 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001016/0.3391, allocations: 40.59 kB / 1.045 GB, free: 14.11 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.253e-05/0.3392, allocations: 19.98 kB / 1.045 GB, free: 14.09 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0006605/0.3398, allocations: 0.5107 MB / 1.046 GB, free: 13.58 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.6e-07/0.3398, allocations: 0 / 1.046 GB, free: 13.58 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0007483/0.3406, allocations: 283 kB / 1.046 GB, free: 13.3 MB / 0.8262 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.0001673/0.3408, allocations: 119.7 kB / 1.046 GB, free: 13.18 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.001894/0.3427, allocations: 0.8233 MB / 1.047 GB, free: 12.36 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.3427, allocations: 0 / 1.047 GB, free: 12.36 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0005191/0.3432, allocations: 267.1 kB / 1.047 GB, free: 12.1 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001205/0.3444, allocations: 273.3 kB / 1.047 GB, free: 11.84 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002942/0.3474, allocations: 1.928 MB / 1.049 GB, free: 9.875 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006188/0.348, allocations: 0.9937 MB / 1.05 GB, free: 8.855 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002459/0.3483, allocations: 67.42 kB / 1.05 GB, free: 8.789 MB / 0.8262 GB Notification: Performance of SimCode: time 5.81e-07/0.3483, allocations: 0 / 1.05 GB, free: 8.789 MB / 0.8262 GB Notification: Performance of Templates: time 0.01661/0.3649, allocations: 10.93 MB / 1.061 GB, free: 13.92 MB / 0.8419 GB make -j1 -f Buildings_10_Buildings.Controls.Continuous.Validation.LimPIDReset.makefile (rm -f Buildings_10_Buildings.Controls.Continuous.Validation.LimPIDReset.pipe ; mkfifo Buildings_10_Buildings.Controls.Continuous.Validation.LimPIDReset.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.Continuous.Validation.LimPIDReset.pipe >> ../files/Buildings_10_Buildings.Controls.Continuous.Validation.LimPIDReset.sim & ./Buildings_10_Buildings.Controls.Continuous.Validation.LimPIDReset -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.Continuous.Validation.LimPIDReset.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.Continuous.Validation.LimPIDReset_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_Continuous_Validation_LimPIDReset.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.Continuous.Validation.LimPIDReset.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches