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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001435/0.001435, allocations: 103.6 kB / 16.35 MB, free: 6.289 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.001352/0.001352, allocations: 191.6 kB / 17.29 MB, free: 5.863 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.35/1.35, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.415/2.415, allocations: 437.1 MB / 0.7112 GB, free: 4.359 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001244/0.001244, allocations: 63.72 kB / 0.8707 GB, free: 1.449 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.276/0.2773, allocations: 151.6 MB / 1.019 GB, free: 9.859 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Validation.LimPIDReset): time 0.005582/0.2829, allocations: 4.349 MB / 1.023 GB, free: 5.48 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.002952/0.2859, allocations: 1.582 MB / 1.025 GB, free: 3.891 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006557/0.2866, allocations: 35.81 kB / 1.025 GB, free: 3.855 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0004651/0.287, allocations: 166.2 kB / 1.025 GB, free: 3.691 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0006732/0.2878, allocations: 230.6 kB / 1.025 GB, free: 3.465 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.001208/0.289, allocations: 0.6774 MB / 1.026 GB, free: 2.801 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.001004/0.29, allocations: 1.222 MB / 1.027 GB, free: 1.578 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006054/0.2906, allocations: 0.5001 MB / 1.027 GB, free: 1.055 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004137/0.291, allocations: 461.9 kB / 1.028 GB, free: 0.6016 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003818/0.2914, allocations: 457.5 kB / 1.028 GB, free: 156 kB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.0001178/0.2915, allocations: 104 kB / 1.028 GB, free: 52 kB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001158/0.2917, allocations: 100 kB / 1.028 GB, free: 15.95 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0001633/0.2918, allocations: 239 kB / 1.029 GB, free: 15.72 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0003214/0.2922, allocations: 489 kB / 1.029 GB, free: 15.24 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.000851/0.293, allocations: 1.16 MB / 1.03 GB, free: 14.07 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.868e-06/0.293, allocations: 0 / 1.03 GB, free: 14.07 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.342e-06/0.293, allocations: 4 kB / 1.03 GB, free: 14.07 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 1.3e-05/0.2931, allocations: 0 / 1.03 GB, free: 14.07 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.00203/0.2951, allocations: 1.387 MB / 1.032 GB, free: 12.63 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.359e-05/0.2951, allocations: 12.88 kB / 1.032 GB, free: 12.62 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001816/0.2953, allocations: 123.4 kB / 1.032 GB, free: 12.5 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001194/0.2965, allocations: 0.7742 MB / 1.032 GB, free: 11.68 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001359/0.2967, allocations: 76.27 kB / 1.033 GB, free: 11.6 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.523e-05/0.2968, allocations: 72.38 kB / 1.033 GB, free: 11.53 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00112/0.2979, allocations: 0.7329 MB / 1.033 GB, free: 10.77 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.484e-05/0.2979, allocations: 0 / 1.033 GB, free: 10.77 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.707e-05/0.298, allocations: 32 kB / 1.033 GB, free: 10.73 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.552e-05/0.298, allocations: 16 kB / 1.033 GB, free: 10.72 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001003/0.299, allocations: 0.5204 MB / 1.034 GB, free: 10.2 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003044/0.3021, allocations: 2.24 MB / 1.036 GB, free: 7.887 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001349/0.3034, allocations: 0.6225 MB / 1.037 GB, free: 7.262 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004657/0.3039, allocations: 269.2 kB / 1.037 GB, free: 6.996 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 5.175e-05/0.304, allocations: 24.53 kB / 1.037 GB, free: 6.973 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005591/0.3045, allocations: 322.9 kB / 1.037 GB, free: 6.648 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=60): time 3.015e-06/0.3045, allocations: 4 kB / 1.037 GB, free: 6.645 MB / 0.8106 GB Notification: Performance of matching and sorting (n=60): time 0.001441/0.306, allocations: 0.7516 MB / 1.038 GB, free: 5.887 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.883e-05/0.3061, allocations: 81.67 kB / 1.038 GB, free: 5.789 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008008/0.3069, allocations: 0.7594 MB / 1.039 GB, free: 5.02 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 4.528e-05/0.3069, allocations: 37.7 kB / 1.039 GB, free: 4.977 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002876/0.3072, allocations: 440.5 kB / 1.039 GB, free: 4.543 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.000134/0.3074, allocations: 205 kB / 1.039 GB, free: 4.34 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001544/0.3075, allocations: 110.3 kB / 1.04 GB, free: 4.223 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.515e-05/0.3076, allocations: 326 kB / 1.04 GB, free: 3.898 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000413/0.308, allocations: 207.4 kB / 1.04 GB, free: 3.695 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004633/0.3085, allocations: 308.4 kB / 1.04 GB, free: 3.359 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008643/0.3094, allocations: 0.5074 MB / 1.041 GB, free: 2.82 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/0.3094, allocations: 4 kB / 1.041 GB, free: 2.816 MB / 0.8106 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001086/0.3105, allocations: 0.6539 MB / 1.041 GB, free: 2.156 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.665e-05/0.3105, allocations: 8 kB / 1.042 GB, free: 2.148 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.3105, allocations: 0 / 1.042 GB, free: 2.148 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.812e-05/0.3105, allocations: 11.98 kB / 1.042 GB, free: 2.137 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006016/0.3112, allocations: 139.8 kB / 1.042 GB, free: 2 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.479e-05/0.3112, allocations: 16.12 kB / 1.042 GB, free: 1.984 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003845/0.3116, allocations: 71.34 kB / 1.042 GB, free: 1.914 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.052e-05/0.3116, allocations: 20 kB / 1.042 GB, free: 1.895 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005335/0.3122, allocations: 357.4 kB / 1.042 GB, free: 1.543 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000445/0.3126, allocations: 292.5 kB / 1.042 GB, free: 1.219 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007752/0.3134, allocations: 499.5 kB / 1.043 GB, free: 0.7031 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.873e-06/0.3134, allocations: 4 kB / 1.043 GB, free: 0.6992 MB / 0.8106 GB Notification: Performance of matching and sorting (n=76) (initialization_lambda0): time 0.0009877/0.3144, allocations: 0.6304 MB / 1.043 GB, free: 60 kB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 9.468e-06/0.3144, allocations: 4 kB / 1.043 GB, free: 56 kB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.499e-06/0.3144, allocations: 8.25 kB / 1.043 GB, free: 48 kB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.774e-06/0.3144, allocations: 7.984 kB / 1.043 GB, free: 40 kB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005731/0.315, allocations: 147.8 kB / 1.044 GB, free: 15.89 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.612e-06/0.315, allocations: 4 kB / 1.044 GB, free: 15.89 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003576/0.3154, allocations: 59.45 kB / 1.044 GB, free: 15.83 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.7e-05/0.3154, allocations: 23.98 kB / 1.044 GB, free: 15.8 MB / 0.8262 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.0001524/0.3156, allocations: 218.6 kB / 1.044 GB, free: 15.59 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.904e-05/0.3157, allocations: 90.88 kB / 1.044 GB, free: 15.5 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001856/0.3159, allocations: 105.2 kB / 1.044 GB, free: 15.39 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.12e-06/0.3159, allocations: 4 kB / 1.044 GB, free: 15.38 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.452e-06/0.3159, allocations: 3.938 kB / 1.044 GB, free: 15.38 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.462e-06/0.3159, allocations: 7.984 kB / 1.044 GB, free: 15.37 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001912/0.3179, allocations: 1.439 MB / 1.046 GB, free: 13.88 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.3179, allocations: 0 / 1.046 GB, free: 13.88 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005312/0.3184, allocations: 103.8 kB / 1.046 GB, free: 13.77 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.638e-06/0.3184, allocations: 7.938 kB / 1.046 GB, free: 13.77 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.011e-05/0.3185, allocations: 15.98 kB / 1.046 GB, free: 13.75 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.945e-06/0.3185, allocations: 0 / 1.046 GB, free: 13.75 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.3185, allocations: 4 kB / 1.046 GB, free: 13.75 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001463/0.3199, allocations: 0.9595 MB / 1.047 GB, free: 12.77 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002407/0.3202, allocations: 219.8 kB / 1.047 GB, free: 12.54 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.118e-05/0.3203, allocations: 15.98 kB / 1.047 GB, free: 12.52 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003971/0.3207, allocations: 27.97 kB / 1.047 GB, free: 12.5 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.514e-05/0.3208, allocations: 36.52 kB / 1.047 GB, free: 12.46 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.832e-05/0.3208, allocations: 19.98 kB / 1.047 GB, free: 12.44 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0005735/0.3214, allocations: 0.5146 MB / 1.047 GB, free: 11.93 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.81e-07/0.3214, allocations: 0 / 1.047 GB, free: 11.93 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0006427/0.3221, allocations: 283 kB / 1.048 GB, free: 11.66 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.000127/0.3222, allocations: 119.2 kB / 1.048 GB, free: 11.53 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.00146/0.3237, allocations: 0.7997 MB / 1.049 GB, free: 10.73 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.3237, allocations: 0 / 1.049 GB, free: 10.73 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.000502/0.3242, allocations: 271.7 kB / 1.049 GB, free: 10.47 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009965/0.3252, allocations: 257.9 kB / 1.049 GB, free: 10.22 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002374/0.3276, allocations: 1.545 MB / 1.051 GB, free: 8.648 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005234/0.3281, allocations: 1.001 MB / 1.052 GB, free: 7.621 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0004227/0.3285, allocations: 118.8 kB / 1.052 GB, free: 7.5 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001705/0.3287, allocations: 59.44 kB / 1.052 GB, free: 7.441 MB / 0.8262 GB Notification: Performance of SimCode: time 7.22e-07/0.3287, allocations: 0 / 1.052 GB, free: 7.441 MB / 0.8262 GB Notification: Performance of Templates: time 0.2755/0.6043, allocations: 9.265 MB / 1.061 GB, free: 14.29 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=480 -s gbode -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