Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.Continuous.Validation.LimPIDReset") translateModel(Buildings.Controls.Continuous.Validation.LimPIDReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.001461/0.001461, allocations: 101.7 kB / 16.27 MB, free: 6.418 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.001715/0.001715, 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 3.2.3+maint.om/package.mo): time 1.406/1.406, allocations: 205.1 MB / 223.1 MB, free: 12.31 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.832/1.832, allocations: 292.3 MB / 0.5495 GB, free: 17.66 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001395/0.001395, allocations: 75.89 kB / 0.6722 GB, free: 6.543 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2551/0.2565, allocations: 114.5 MB / 0.784 GB, free: 3.883 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Validation.LimPIDReset): time 0.4149/0.6714, allocations: 4.347 MB / 0.7883 GB, free: 45.96 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.003211/0.6747, allocations: 1.626 MB / 0.7898 GB, free: 45.91 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007023/0.6754, allocations: 38.62 kB / 0.7899 GB, free: 45.91 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0003994/0.6758, allocations: 159 kB / 0.79 GB, free: 45.91 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0006455/0.6765, allocations: 226.4 kB / 0.7902 GB, free: 45.91 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.001228/0.6777, allocations: 0.6722 MB / 0.7909 GB, free: 45.9 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.001043/0.6788, allocations: 1.233 MB / 0.7921 GB, free: 45.86 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006317/0.6794, allocations: 0.4919 MB / 0.7926 GB, free: 45.81 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005308/0.68, allocations: 457.6 kB / 0.793 GB, free: 45.71 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003683/0.6804, allocations: 464.2 kB / 0.7935 GB, free: 45.59 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0001139/0.6805, allocations: 100.7 kB / 0.7936 GB, free: 45.59 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000104/0.6806, allocations: 104.1 kB / 0.7937 GB, free: 45.59 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001592/0.6808, allocations: 239.2 kB / 0.7939 GB, free: 45.54 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0002699/0.681, allocations: 484.6 kB / 0.7944 GB, free: 45.37 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0007867/0.6818, allocations: 1.117 MB / 0.7954 GB, free: 44.89 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.6818, allocations: 0 / 0.7954 GB, free: 44.89 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.773e-06/0.6818, allocations: 0 / 0.7954 GB, free: 44.89 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.272e-05/0.6819, allocations: 0.5 kB / 0.7954 GB, free: 44.89 MB / 0.6544 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.002048/0.6839, allocations: 1.403 MB / 0.7968 GB, free: 44 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.612e-05/0.684, allocations: 10.22 kB / 0.7968 GB, free: 44 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001595/0.6841, allocations: 122.3 kB / 0.7969 GB, free: 43.93 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001054/0.6852, allocations: 0.7348 MB / 0.7977 GB, free: 43.49 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.073e-05/0.6853, allocations: 80.59 kB / 0.7977 GB, free: 43.43 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.489e-05/0.6854, allocations: 73.22 kB / 0.7978 GB, free: 43.41 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001111/0.6865, allocations: 0.735 MB / 0.7985 GB, free: 43.05 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.697e-05/0.6865, allocations: 0 / 0.7985 GB, free: 43.05 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.982e-05/0.6866, allocations: 31.78 kB / 0.7986 GB, free: 43.02 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.305e-05/0.6866, allocations: 14.94 kB / 0.7986 GB, free: 43.02 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001003/0.6876, allocations: 0.5219 MB / 0.7991 GB, free: 42.84 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003211/0.6908, allocations: 2.265 MB / 0.8013 GB, free: 41.52 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0014/0.6923, allocations: 0.6277 MB / 0.8019 GB, free: 41.28 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000516/0.6928, allocations: 276.7 kB / 0.8022 GB, free: 41.16 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 4.423e-05/0.6929, allocations: 13.22 kB / 0.8022 GB, free: 41.16 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007441/0.6936, allocations: 319.9 kB / 0.8025 GB, free: 41.02 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=60): time 2.966e-06/0.6936, allocations: 3.938 kB / 0.8025 GB, free: 41.02 MB / 0.6544 GB Notification: Performance of matching and sorting (n=60): time 0.001739/0.6954, allocations: 0.7463 MB / 0.8032 GB, free: 40.71 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.467e-05/0.6954, allocations: 84.44 kB / 0.8033 GB, free: 40.62 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001052/0.6965, allocations: 0.7635 MB / 0.804 GB, free: 40.28 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 5.389e-05/0.6965, allocations: 37.55 kB / 0.8041 GB, free: 40.24 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003489/0.6969, allocations: 445.9 kB / 0.8045 GB, free: 39.89 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001782/0.6971, allocations: 208.1 kB / 0.8047 GB, free: 39.73 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001807/0.6973, allocations: 111.1 kB / 0.8048 GB, free: 39.67 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 6.968e-05/0.6974, allocations: 328.1 kB / 0.8051 GB, free: 39.36 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005087/0.6979, allocations: 206.8 kB / 0.8053 GB, free: 39.28 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005729/0.6985, allocations: 309.7 kB / 0.8056 GB, free: 39.1 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000956/0.6994, allocations: 0.5074 MB / 0.8061 GB, free: 38.81 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.4e-06/0.6994, allocations: 1.781 kB / 0.8061 GB, free: 38.81 MB / 0.6544 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001384/0.7008, allocations: 0.6542 MB / 0.8067 GB, free: 38.53 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.644e-05/0.7009, allocations: 6 kB / 0.8068 GB, free: 38.53 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.33e-05/0.7009, allocations: 3.266 kB / 0.8068 GB, free: 38.53 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.678e-05/0.7009, allocations: 5.438 kB / 0.8068 GB, free: 38.53 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006831/0.7016, allocations: 144.8 kB / 0.8069 GB, free: 38.52 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.008e-05/0.7016, allocations: 13.66 kB / 0.8069 GB, free: 38.51 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004954/0.7021, allocations: 76.89 kB / 0.807 GB, free: 38.46 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.426e-05/0.7022, allocations: 20.39 kB / 0.807 GB, free: 38.46 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006654/0.7029, allocations: 354.9 kB / 0.8073 GB, free: 38.25 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004948/0.7034, allocations: 291.5 kB / 0.8076 GB, free: 38.08 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009038/0.7043, allocations: 497.7 kB / 0.8081 GB, free: 37.8 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.547e-06/0.7043, allocations: 5.25 kB / 0.8081 GB, free: 37.8 MB / 0.6544 GB Notification: Performance of matching and sorting (n=76) (initialization_lambda0): time 0.001662/0.706, allocations: 0.6358 MB / 0.8087 GB, free: 37.51 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.214e-05/0.706, allocations: 6.312 kB / 0.8087 GB, free: 37.51 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.786e-06/0.706, allocations: 3.281 kB / 0.8087 GB, free: 37.51 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.368e-05/0.706, allocations: 8.938 kB / 0.8087 GB, free: 37.5 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007075/0.7068, allocations: 139.5 kB / 0.8089 GB, free: 37.49 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.553e-05/0.7068, allocations: 5.312 kB / 0.8089 GB, free: 37.49 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005251/0.7073, allocations: 59.23 kB / 0.8089 GB, free: 37.46 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.97e-05/0.7074, allocations: 20.83 kB / 0.809 GB, free: 37.45 MB / 0.6544 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.0003488/0.7077, allocations: 219 kB / 0.8092 GB, free: 37.24 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001902/0.7079, allocations: 99.33 kB / 0.8093 GB, free: 37.19 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003182/0.7083, allocations: 102.2 kB / 0.8094 GB, free: 37.12 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.255e-06/0.7083, allocations: 8.156 kB / 0.8094 GB, free: 37.12 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.154e-05/0.7083, allocations: 7.688 kB / 0.8094 GB, free: 37.12 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.067e-05/0.7083, allocations: 2.812 kB / 0.8094 GB, free: 37.12 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002649/0.711, allocations: 1.437 MB / 0.8108 GB, free: 36.39 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.576e-06/0.711, allocations: 0 / 0.8108 GB, free: 36.39 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005694/0.7116, allocations: 105.6 kB / 0.8109 GB, free: 36.38 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.546e-06/0.7116, allocations: 3.281 kB / 0.8109 GB, free: 36.38 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.993e-05/0.7116, allocations: 13.05 kB / 0.8109 GB, free: 36.37 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.322e-06/0.7116, allocations: 2.656 kB / 0.8109 GB, free: 36.37 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.7116, allocations: 4.594 kB / 0.8109 GB, free: 36.36 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001829/0.7135, allocations: 0.9688 MB / 0.8118 GB, free: 35.88 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003198/0.7138, allocations: 217.4 kB / 0.8121 GB, free: 35.7 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.696e-05/0.7139, allocations: 18.23 kB / 0.8121 GB, free: 35.68 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00044/0.7144, allocations: 32.22 kB / 0.8121 GB, free: 35.68 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000128/0.7145, allocations: 34.08 kB / 0.8121 GB, free: 35.67 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.193e-05/0.7145, allocations: 19.19 kB / 0.8122 GB, free: 35.67 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0007859/0.7153, allocations: 0.5183 MB / 0.8127 GB, free: 35.43 MB / 0.6544 GB Notification: Performance of sort global known variables: time 3.01e-07/0.7153, allocations: 0.75 kB / 0.8127 GB, free: 35.43 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.000868/0.7162, allocations: 282.3 kB / 0.8129 GB, free: 35.35 MB / 0.6544 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.0001498/0.7164, allocations: 120.5 kB / 0.813 GB, free: 35.25 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.002121/0.7185, allocations: 0.8187 MB / 0.8138 GB, free: 34.96 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 4.318e-06/0.7185, allocations: 3.938 kB / 0.8138 GB, free: 34.96 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0005504/0.7191, allocations: 266.3 kB / 0.8141 GB, free: 34.88 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0013/0.7204, allocations: 270.2 kB / 0.8144 GB, free: 34.8 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00275/0.7231, allocations: 1.614 MB / 0.8159 GB, free: 33.9 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005429/0.7237, allocations: 0.9926 MB / 0.8169 GB, free: 33.19 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002631/0.724, allocations: 66.47 kB / 0.817 GB, free: 33.19 MB / 0.6544 GB Notification: Performance of SimCode: time 9.02e-07/0.724, allocations: 0 / 0.817 GB, free: 33.19 MB / 0.6544 GB Notification: Performance of Templates: time 0.02489/0.7489, allocations: 10.98 MB / 0.8277 GB, free: 32.13 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Controls.Continuous.Validation.LimPIDReset.makefile (rm -f Buildings_8_Buildings.Controls.Continuous.Validation.LimPIDReset.pipe ; mkfifo Buildings_8_Buildings.Controls.Continuous.Validation.LimPIDReset.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.Continuous.Validation.LimPIDReset.pipe >> ../files/Buildings_8_Buildings.Controls.Continuous.Validation.LimPIDReset.sim & ./Buildings_8_Buildings.Controls.Continuous.Validation.LimPIDReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.Continuous.Validation.LimPIDReset.pipe 2>&1)