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.001234/0.001234, allocations: 112.1 kB / 16.41 MB, free: 6.488 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.001178/0.001178, allocations: 183 kB / 17.34 MB, free: 5.766 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.222/1.222, 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 11.0.1-master/package.mo): time 2.378/2.378, allocations: 461.9 MB / 0.7355 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001165/0.001165, allocations: 64.12 kB / 1.055 GB, free: 7.754 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6541/0.6552, allocations: 157.4 MB / 1.208 GB, free: 13.65 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Validation.LimPIDReset): time 0.004945/0.6602, allocations: 4.334 MB / 1.213 GB, free: 9.293 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.002886/0.6631, allocations: 1.582 MB / 1.214 GB, free: 7.703 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006542/0.6638, allocations: 35.81 kB / 1.214 GB, free: 7.668 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.000463/0.6643, allocations: 174.2 kB / 1.214 GB, free: 7.496 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.000731/0.665, allocations: 226.1 kB / 1.215 GB, free: 7.273 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001235/0.6663, allocations: 0.6704 MB / 1.215 GB, free: 6.613 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.00102/0.6673, allocations: 1.226 MB / 1.216 GB, free: 5.383 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006186/0.6679, allocations: 0.4962 MB / 1.217 GB, free: 4.867 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004542/0.6684, allocations: 477.9 kB / 1.217 GB, free: 4.398 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003949/0.6688, allocations: 457.5 kB / 1.218 GB, free: 3.949 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0001259/0.6689, allocations: 103.9 kB / 1.218 GB, free: 3.848 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001144/0.669, allocations: 104 kB / 1.218 GB, free: 3.746 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0001549/0.6692, allocations: 239 kB / 1.218 GB, free: 3.512 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0003134/0.6695, allocations: 489 kB / 1.219 GB, free: 3.031 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0008766/0.6704, allocations: 1.157 MB / 1.22 GB, free: 1.875 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.347e-06/0.6704, allocations: 3.938 kB / 1.22 GB, free: 1.871 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.332e-06/0.6704, allocations: 4 kB / 1.22 GB, free: 1.867 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.049e-05/0.6704, allocations: 0 / 1.22 GB, free: 1.867 MB / 0.9356 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.002047/0.6725, allocations: 1.395 MB / 1.221 GB, free: 428 kB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.206e-05/0.6725, allocations: 8.031 kB / 1.221 GB, free: 420 kB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001554/0.6727, allocations: 119.5 kB / 1.221 GB, free: 300 kB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001127/0.6738, allocations: 0.7665 MB / 1.222 GB, free: 15.48 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.051e-05/0.6739, allocations: 80.25 kB / 1.222 GB, free: 15.4 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.728e-05/0.674, allocations: 72.38 kB / 1.222 GB, free: 15.33 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001125/0.6751, allocations: 0.729 MB / 1.223 GB, free: 14.56 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.472e-05/0.6752, allocations: 0 / 1.223 GB, free: 14.56 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.105e-05/0.6752, allocations: 35.98 kB / 1.223 GB, free: 14.53 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.408e-05/0.6752, allocations: 19.94 kB / 1.223 GB, free: 14.51 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001004/0.6762, allocations: 0.5126 MB / 1.223 GB, free: 14 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002809/0.6791, allocations: 2.243 MB / 1.226 GB, free: 11.68 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001284/0.6804, allocations: 0.6339 MB / 1.226 GB, free: 11.04 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004703/0.6808, allocations: 272 kB / 1.227 GB, free: 10.78 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 4.036e-05/0.6809, allocations: 12.56 kB / 1.227 GB, free: 10.77 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005849/0.6815, allocations: 323 kB / 1.227 GB, free: 10.44 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=60): time 1.753e-06/0.6815, allocations: 0 / 1.227 GB, free: 10.44 MB / 0.9512 GB Notification: Performance of matching and sorting (n=60): time 0.001456/0.683, allocations: 0.7439 MB / 1.228 GB, free: 9.688 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.144e-05/0.683, allocations: 85.67 kB / 1.228 GB, free: 9.586 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007403/0.6838, allocations: 0.7633 MB / 1.228 GB, free: 8.812 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 4.564e-05/0.6838, allocations: 33.7 kB / 1.228 GB, free: 8.773 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002689/0.6841, allocations: 448.5 kB / 1.229 GB, free: 8.332 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001328/0.6842, allocations: 205 kB / 1.229 GB, free: 8.129 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001482/0.6844, allocations: 114.2 kB / 1.229 GB, free: 8.012 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 9.249e-05/0.6845, allocations: 329.9 kB / 1.229 GB, free: 7.684 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004233/0.6849, allocations: 211.4 kB / 1.23 GB, free: 7.473 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004667/0.6854, allocations: 304.4 kB / 1.23 GB, free: 7.141 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008927/0.6863, allocations: 0.5075 MB / 1.23 GB, free: 6.602 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.886e-06/0.6863, allocations: 0 / 1.23 GB, free: 6.602 MB / 0.9512 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001109/0.6874, allocations: 0.6501 MB / 1.231 GB, free: 5.945 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.446e-05/0.6874, allocations: 8 kB / 1.231 GB, free: 5.938 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.172e-06/0.6874, allocations: 3.938 kB / 1.231 GB, free: 5.934 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.525e-05/0.6875, allocations: 4 kB / 1.231 GB, free: 5.93 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006066/0.6881, allocations: 151.7 kB / 1.231 GB, free: 5.781 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.078e-05/0.6881, allocations: 12.19 kB / 1.231 GB, free: 5.77 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003907/0.6885, allocations: 71.34 kB / 1.231 GB, free: 5.699 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.665e-05/0.6885, allocations: 24 kB / 1.231 GB, free: 5.676 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005418/0.6891, allocations: 353.4 kB / 1.232 GB, free: 5.328 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004216/0.6895, allocations: 292.5 kB / 1.232 GB, free: 5.012 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008141/0.6903, allocations: 495.7 kB / 1.232 GB, free: 4.492 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.784e-06/0.6904, allocations: 4 kB / 1.232 GB, free: 4.488 MB / 0.9512 GB Notification: Performance of matching and sorting (n=76) (initialization_lambda0): time 0.001008/0.6914, allocations: 0.6265 MB / 1.233 GB, free: 3.859 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 7.634e-06/0.6914, allocations: 8 kB / 1.233 GB, free: 3.852 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.118e-06/0.6914, allocations: 8.25 kB / 1.233 GB, free: 3.844 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.011e-06/0.6914, allocations: 4 kB / 1.233 GB, free: 3.84 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005624/0.692, allocations: 139.8 kB / 1.233 GB, free: 3.703 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.697e-06/0.692, allocations: 11.97 kB / 1.233 GB, free: 3.691 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003632/0.6924, allocations: 55.52 kB / 1.233 GB, free: 3.637 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.594e-05/0.6924, allocations: 20 kB / 1.233 GB, free: 3.617 MB / 0.9512 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.0001484/0.6926, allocations: 222.1 kB / 1.234 GB, free: 3.395 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001005/0.6927, allocations: 94.78 kB / 1.234 GB, free: 3.301 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001877/0.6929, allocations: 109.2 kB / 1.234 GB, free: 3.191 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.15e-06/0.6929, allocations: 4 kB / 1.234 GB, free: 3.188 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.048e-05/0.6929, allocations: 3.938 kB / 1.234 GB, free: 3.184 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.276e-06/0.6929, allocations: 7.922 kB / 1.234 GB, free: 3.176 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001877/0.6948, allocations: 1.435 MB / 1.235 GB, free: 1.684 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.938e-06/0.6948, allocations: 4 kB / 1.235 GB, free: 1.68 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005267/0.6953, allocations: 111.7 kB / 1.235 GB, free: 1.57 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.951e-06/0.6953, allocations: 4 kB / 1.235 GB, free: 1.566 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.534e-05/0.6954, allocations: 12 kB / 1.235 GB, free: 1.555 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/0.6954, allocations: 0 / 1.235 GB, free: 1.555 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.6954, allocations: 7.984 kB / 1.235 GB, free: 1.547 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001527/0.6969, allocations: 0.9595 MB / 1.236 GB, free: 0.5664 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002123/0.6971, allocations: 219.7 kB / 1.236 GB, free: 340 kB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.669e-05/0.6972, allocations: 12 kB / 1.236 GB, free: 328 kB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004314/0.6977, allocations: 35.95 kB / 1.236 GB, free: 292 kB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.498e-05/0.6978, allocations: 32.52 kB / 1.237 GB, free: 260 kB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.387e-05/0.6978, allocations: 19.98 kB / 1.237 GB, free: 240 kB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0005615/0.6984, allocations: 0.5185 MB / 1.237 GB, free: 15.72 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6984, allocations: 0 / 1.237 GB, free: 15.72 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0006256/0.699, allocations: 279.1 kB / 1.237 GB, free: 15.45 MB / 0.9669 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.0001282/0.6991, allocations: 115.1 kB / 1.237 GB, free: 15.32 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.001473/0.7006, allocations: 0.7935 MB / 1.238 GB, free: 14.54 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 3.907e-06/0.7006, allocations: 3.984 kB / 1.238 GB, free: 14.53 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0004699/0.7011, allocations: 267.7 kB / 1.238 GB, free: 14.27 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001096/0.7022, allocations: 262.6 kB / 1.239 GB, free: 14.02 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002304/0.7045, allocations: 1.588 MB / 1.24 GB, free: 12.4 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004464/0.705, allocations: 0.9898 MB / 1.241 GB, free: 11.38 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000217/0.7052, allocations: 67.42 kB / 1.241 GB, free: 11.32 MB / 0.9669 GB Notification: Performance of SimCode: time 3.6e-07/0.7052, allocations: 3.938 kB / 1.241 GB, free: 11.31 MB / 0.9669 GB Notification: Performance of Templates: time 0.01409/0.7193, allocations: 11.02 MB / 1.252 GB, free: 356 kB / 0.9669 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