Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.001818/0.001819, allocations: 105.3 kB / 16.27 MB, free: 6.414 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.001785/0.001786, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.493/1.493, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.699/2.699, allocations: 469.4 MB / 0.7427 GB, free: 3.664 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001354/0.001355, allocations: 64.03 kB / 0.9088 GB, free: 14.14 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3096/0.311, allocations: 159.1 MB / 1.064 GB, free: 15.04 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Validation.LimPIDReset): time 0.00633/0.3174, allocations: 4.325 MB / 1.068 GB, free: 10.69 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.00359/0.321, allocations: 1.589 MB / 1.07 GB, free: 9.09 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001042/0.3221, allocations: 31.81 kB / 1.07 GB, free: 9.059 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0006418/0.3227, allocations: 174.2 kB / 1.07 GB, free: 8.887 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.001227/0.324, allocations: 222.1 kB / 1.07 GB, free: 8.668 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.001695/0.3258, allocations: 0.671 MB / 1.071 GB, free: 8.008 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.001684/0.3275, allocations: 1.214 MB / 1.072 GB, free: 6.789 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009378/0.3284, allocations: 0.5002 MB / 1.073 GB, free: 6.266 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007477/0.3292, allocations: 458 kB / 1.073 GB, free: 5.816 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007129/0.3299, allocations: 461.4 kB / 1.074 GB, free: 5.363 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0002613/0.3302, allocations: 100 kB / 1.074 GB, free: 5.266 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002138/0.3304, allocations: 104 kB / 1.074 GB, free: 5.164 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.000246/0.3306, allocations: 239 kB / 1.074 GB, free: 4.93 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0005427/0.3312, allocations: 493 kB / 1.074 GB, free: 4.445 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.001146/0.3323, allocations: 1.11 MB / 1.076 GB, free: 3.332 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.3324, allocations: 4 kB / 1.076 GB, free: 3.328 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.332e-06/0.3324, allocations: 0 / 1.076 GB, free: 3.328 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 4.007e-05/0.3324, allocations: 0 / 1.076 GB, free: 3.328 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.00283/0.3352, allocations: 1.391 MB / 1.077 GB, free: 1.887 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.725e-05/0.3353, allocations: 8.625 kB / 1.077 GB, free: 1.879 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002075/0.3355, allocations: 123.4 kB / 1.077 GB, free: 1.758 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001172/0.3367, allocations: 0.7313 MB / 1.078 GB, free: 0.9844 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.139e-05/0.3368, allocations: 84.27 kB / 1.078 GB, free: 0.8945 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001122/0.3369, allocations: 76.36 kB / 1.078 GB, free: 0.8203 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001251/0.3382, allocations: 0.729 MB / 1.079 GB, free: 56 kB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.581e-05/0.3382, allocations: 0 / 1.079 GB, free: 56 kB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.413e-05/0.3383, allocations: 28 kB / 1.079 GB, free: 28 kB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.595e-05/0.3383, allocations: 19.94 kB / 1.079 GB, free: 8 kB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.4662/0.8045, allocations: 0.5134 MB / 1.079 GB, free: 22.3 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003667/0.8082, allocations: 2.275 MB / 1.081 GB, free: 21.39 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00144/0.8097, allocations: 0.6145 MB / 1.082 GB, free: 21.16 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004964/0.8102, allocations: 270.3 kB / 1.082 GB, free: 21.06 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 4.915e-05/0.8102, allocations: 11.39 kB / 1.082 GB, free: 21.06 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006979/0.8109, allocations: 327.5 kB / 1.083 GB, free: 20.92 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=60): time 2.845e-06/0.8109, allocations: 0 / 1.083 GB, free: 20.92 MB / 0.8419 GB Notification: Performance of matching and sorting (n=60): time 0.001659/0.8126, allocations: 0.7547 MB / 1.083 GB, free: 20.62 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.396e-05/0.8127, allocations: 87.38 kB / 1.083 GB, free: 20.53 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001012/0.8137, allocations: 0.7548 MB / 1.084 GB, free: 20.22 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 5.155e-05/0.8138, allocations: 40.89 kB / 1.084 GB, free: 20.18 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002956/0.8141, allocations: 436.9 kB / 1.085 GB, free: 19.84 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001354/0.8142, allocations: 206.5 kB / 1.085 GB, free: 19.69 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001674/0.8144, allocations: 114.2 kB / 1.085 GB, free: 19.62 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 6.686e-05/0.8144, allocations: 331.3 kB / 1.085 GB, free: 19.31 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004579/0.8149, allocations: 212 kB / 1.085 GB, free: 19.22 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005122/0.8154, allocations: 303.9 kB / 1.086 GB, free: 19.04 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009466/0.8164, allocations: 0.5026 MB / 1.086 GB, free: 18.76 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.628e-06/0.8164, allocations: 0.7812 kB / 1.086 GB, free: 18.76 MB / 0.8419 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001392/0.8178, allocations: 0.6528 MB / 1.087 GB, free: 18.47 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.055e-05/0.8178, allocations: 7.031 kB / 1.087 GB, free: 18.47 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.608e-06/0.8178, allocations: 6.406 kB / 1.087 GB, free: 18.47 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.338e-05/0.8179, allocations: 5 kB / 1.087 GB, free: 18.47 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006731/0.8186, allocations: 151.9 kB / 1.087 GB, free: 18.45 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.346e-05/0.8186, allocations: 5.5 kB / 1.087 GB, free: 18.45 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004869/0.8191, allocations: 69.11 kB / 1.087 GB, free: 18.41 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.521e-05/0.8191, allocations: 23.61 kB / 1.087 GB, free: 18.41 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006355/0.8198, allocations: 362.7 kB / 1.087 GB, free: 18.2 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004767/0.8202, allocations: 286.5 kB / 1.088 GB, free: 18.04 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008403/0.8211, allocations: 0.4957 MB / 1.088 GB, free: 17.75 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.737e-06/0.8211, allocations: 1.734 kB / 1.088 GB, free: 17.75 MB / 0.8419 GB Notification: Performance of matching and sorting (n=76) (initialization_lambda0): time 0.001207/0.8223, allocations: 0.6296 MB / 1.089 GB, free: 17.46 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.382e-05/0.8223, allocations: 6.094 kB / 1.089 GB, free: 17.46 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/0.8224, allocations: 2.094 kB / 1.089 GB, free: 17.46 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.065e-06/0.8224, allocations: 6.172 kB / 1.089 GB, free: 17.46 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006077/0.823, allocations: 138.9 kB / 1.089 GB, free: 17.45 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.917e-06/0.823, allocations: 5.078 kB / 1.089 GB, free: 17.45 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004338/0.8234, allocations: 57.61 kB / 1.089 GB, free: 17.42 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.828e-05/0.8235, allocations: 23.55 kB / 1.089 GB, free: 17.41 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.0001829/0.8237, allocations: 220.3 kB / 1.089 GB, free: 17.2 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001215/0.8238, allocations: 92.56 kB / 1.089 GB, free: 17.16 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002364/0.824, allocations: 105.9 kB / 1.089 GB, free: 17.09 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.194e-06/0.8241, allocations: 5.812 kB / 1.089 GB, free: 17.09 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.261e-05/0.8241, allocations: 0.625 kB / 1.089 GB, free: 17.09 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.749e-06/0.8241, allocations: 8.344 kB / 1.089 GB, free: 17.08 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002405/0.8265, allocations: 1.438 MB / 1.091 GB, free: 16.35 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/0.8265, allocations: 0 / 1.091 GB, free: 16.35 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005823/0.8271, allocations: 113.6 kB / 1.091 GB, free: 16.33 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.412e-06/0.8271, allocations: 2.5 kB / 1.091 GB, free: 16.33 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.063e-05/0.8272, allocations: 14 kB / 1.091 GB, free: 16.32 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.302e-06/0.8272, allocations: 6.156 kB / 1.091 GB, free: 16.32 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.8272, allocations: 0 / 1.091 GB, free: 16.32 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001755/0.829, allocations: 0.9585 MB / 1.092 GB, free: 15.84 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002761/0.8292, allocations: 225 kB / 1.092 GB, free: 15.66 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.378e-05/0.8293, allocations: 18.83 kB / 1.092 GB, free: 15.64 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004553/0.8298, allocations: 36.55 kB / 1.092 GB, free: 15.63 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.508e-05/0.8299, allocations: 35.38 kB / 1.092 GB, free: 15.62 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.103e-05/0.83, allocations: 18.95 kB / 1.092 GB, free: 15.62 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.000709/0.8307, allocations: 0.5198 MB / 1.093 GB, free: 15.4 MB / 0.8419 GB Notification: Performance of sort global known variables: time 3.41e-07/0.8307, allocations: 0 / 1.093 GB, free: 15.4 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.000813/0.8315, allocations: 275.5 kB / 1.093 GB, free: 15.32 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.0001288/0.8316, allocations: 113.3 kB / 1.093 GB, free: 15.22 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.001986/0.8336, allocations: 0.8209 MB / 1.094 GB, free: 14.95 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 4.348e-06/0.8336, allocations: 4.125 kB / 1.094 GB, free: 14.94 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0005353/0.8342, allocations: 270.1 kB / 1.094 GB, free: 14.85 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001269/0.8355, allocations: 259 kB / 1.094 GB, free: 14.77 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002647/0.8381, allocations: 1.603 MB / 1.096 GB, free: 13.9 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004541/0.8386, allocations: 0.9995 MB / 1.097 GB, free: 13.18 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002653/0.8389, allocations: 65.27 kB / 1.097 GB, free: 13.17 MB / 0.8419 GB Notification: Performance of SimCode: time 4.1e-07/0.8389, allocations: 0 / 1.097 GB, free: 13.17 MB / 0.8419 GB Notification: Performance of Templates: time 0.0226/0.8615, allocations: 10.94 MB / 1.108 GB, free: 11.95 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Controls.Continuous.Validation.LimPIDReset.makefile (rm -f Buildings_latest_Buildings.Controls.Continuous.Validation.LimPIDReset.pipe ; mkfifo Buildings_latest_Buildings.Controls.Continuous.Validation.LimPIDReset.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.Continuous.Validation.LimPIDReset.pipe >> ../files/Buildings_latest_Buildings.Controls.Continuous.Validation.LimPIDReset.sim & ./Buildings_latest_Buildings.Controls.Continuous.Validation.LimPIDReset -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.Continuous.Validation.LimPIDReset.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.Continuous.Validation.LimPIDReset_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_Continuous_Validation_LimPIDReset.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.Continuous.Validation.LimPIDReset.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches