Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Controls.Continuous.Validation.LimPIDReset") translateModel(Buildings.Controls.Continuous.Validation.LimPIDReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_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.001088/0.001088, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001198/0.001198, allocations: 193.2 kB / 16.53 MB, free: 6.391 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.428/1.428, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.826/2.826, allocations: 472.6 MB / 0.7451 GB, free: 4.688 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001723/0.001723, allocations: 61.55 kB / 0.912 GB, free: 33.36 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3465/0.3482, allocations: 159.9 MB / 1.068 GB, free: 10.45 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Validation.LimPIDReset): time 0.006368/0.3547, allocations: 4.329 MB / 1.072 GB, free: 6.094 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.003434/0.3581, allocations: 1.597 MB / 1.074 GB, free: 4.488 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001109/0.3593, allocations: 27.88 kB / 1.074 GB, free: 4.461 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0006204/0.3599, allocations: 174.1 kB / 1.074 GB, free: 4.289 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.001051/0.361, allocations: 222.1 kB / 1.074 GB, free: 4.07 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001601/0.3626, allocations: 0.6696 MB / 1.075 GB, free: 3.41 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.001601/0.3642, allocations: 1.218 MB / 1.076 GB, free: 2.188 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009169/0.3651, allocations: 0.4962 MB / 1.077 GB, free: 1.668 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007241/0.3659, allocations: 458 kB / 1.077 GB, free: 1.219 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006069/0.3665, allocations: 461.4 kB / 1.078 GB, free: 0.7656 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.0002481/0.3668, allocations: 104 kB / 1.078 GB, free: 0.6641 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001929/0.367, allocations: 100 kB / 1.078 GB, free: 0.5664 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0002026/0.3672, allocations: 235.1 kB / 1.078 GB, free: 344 kB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0004928/0.3677, allocations: 0.4893 MB / 1.078 GB, free: 15.84 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.001091/0.3688, allocations: 1.11 MB / 1.08 GB, free: 14.73 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 5.491e-06/0.3688, allocations: 3.938 kB / 1.08 GB, free: 14.73 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.503e-06/0.3688, allocations: 0 / 1.08 GB, free: 14.73 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 3.904e-05/0.3688, allocations: 0 / 1.08 GB, free: 14.73 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.0028/0.3716, allocations: 1.399 MB / 1.081 GB, free: 13.27 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.055e-05/0.3717, allocations: 8.031 kB / 1.081 GB, free: 13.27 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002435/0.3719, allocations: 119.5 kB / 1.081 GB, free: 13.15 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001258/0.3732, allocations: 0.7352 MB / 1.082 GB, free: 12.37 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001126/0.3733, allocations: 80.27 kB / 1.082 GB, free: 12.29 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001221/0.3735, allocations: 76.36 kB / 1.082 GB, free: 12.21 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001327/0.3748, allocations: 0.729 MB / 1.083 GB, free: 11.45 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.562e-05/0.3748, allocations: 0 / 1.083 GB, free: 11.45 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.7e-05/0.3749, allocations: 28 kB / 1.083 GB, free: 11.42 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.201e-05/0.3749, allocations: 19.94 kB / 1.083 GB, free: 11.4 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001132/0.3761, allocations: 0.5165 MB / 1.083 GB, free: 10.88 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003469/0.3795, allocations: 2.282 MB / 1.085 GB, free: 8.531 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00144/0.381, allocations: 0.6243 MB / 1.086 GB, free: 7.902 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005261/0.3815, allocations: 270.4 kB / 1.086 GB, free: 7.637 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 4.558e-05/0.3816, allocations: 8.562 kB / 1.086 GB, free: 7.629 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007132/0.3823, allocations: 315.1 kB / 1.087 GB, free: 7.312 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=60): time 2.755e-06/0.3823, allocations: 0 / 1.087 GB, free: 7.312 MB / 0.8419 GB Notification: Performance of matching and sorting (n=60): time 0.001687/0.384, allocations: 0.7556 MB / 1.087 GB, free: 6.547 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.725e-05/0.3841, allocations: 85.67 kB / 1.087 GB, free: 6.445 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009324/0.385, allocations: 0.7633 MB / 1.088 GB, free: 5.672 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 5.314e-05/0.3851, allocations: 37.7 kB / 1.088 GB, free: 5.629 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003457/0.3854, allocations: 440.5 kB / 1.089 GB, free: 5.195 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001755/0.3856, allocations: 205 kB / 1.089 GB, free: 4.992 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001881/0.3858, allocations: 110.2 kB / 1.089 GB, free: 4.879 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001194/0.386, allocations: 330 kB / 1.089 GB, free: 4.551 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004934/0.3865, allocations: 211.4 kB / 1.089 GB, free: 4.34 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000514/0.387, allocations: 300.4 kB / 1.09 GB, free: 4.016 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009589/0.3879, allocations: 0.5074 MB / 1.09 GB, free: 3.48 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/0.388, allocations: 0 / 1.09 GB, free: 3.48 MB / 0.8419 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001314/0.3893, allocations: 0.6501 MB / 1.091 GB, free: 2.82 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.631e-05/0.3893, allocations: 5.406 kB / 1.091 GB, free: 2.816 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.064e-05/0.3893, allocations: 4 kB / 1.091 GB, free: 2.812 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.374e-05/0.3894, allocations: 4 kB / 1.091 GB, free: 2.809 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006724/0.39, allocations: 160 kB / 1.091 GB, free: 2.652 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.207e-05/0.3901, allocations: 7.938 kB / 1.091 GB, free: 2.645 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000493/0.3906, allocations: 75.28 kB / 1.091 GB, free: 2.57 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.628e-05/0.3906, allocations: 20 kB / 1.091 GB, free: 2.551 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006183/0.3913, allocations: 350 kB / 1.091 GB, free: 2.203 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004599/0.3917, allocations: 296.4 kB / 1.092 GB, free: 1.887 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008789/0.3926, allocations: 0.4919 MB / 1.092 GB, free: 1.367 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.244e-06/0.3926, allocations: 0 / 1.092 GB, free: 1.367 MB / 0.8419 GB Notification: Performance of matching and sorting (n=76) (initialization_lambda0): time 0.001193/0.3938, allocations: 0.6268 MB / 1.093 GB, free: 0.7305 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.309e-05/0.3939, allocations: 12 kB / 1.093 GB, free: 0.7188 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.3939, allocations: 4 kB / 1.093 GB, free: 0.7148 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.716e-06/0.3939, allocations: 4 kB / 1.093 GB, free: 0.7109 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005983/0.3945, allocations: 143.7 kB / 1.093 GB, free: 0.5703 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.069e-05/0.3945, allocations: 4 kB / 1.093 GB, free: 0.5664 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004263/0.3949, allocations: 59.44 kB / 1.093 GB, free: 0.5078 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.025e-05/0.395, allocations: 20 kB / 1.093 GB, free: 500 kB / 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.000194/0.3952, allocations: 216.1 kB / 1.093 GB, free: 276 kB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001268/0.3953, allocations: 94.78 kB / 1.093 GB, free: 180 kB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001998/0.3955, allocations: 109.2 kB / 1.093 GB, free: 68 kB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.361e-06/0.3955, allocations: 4.094 kB / 1.093 GB, free: 64 kB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.19e-05/0.3956, allocations: 7.922 kB / 1.093 GB, free: 56 kB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.763e-06/0.3956, allocations: 0 / 1.093 GB, free: 56 kB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002291/0.3979, allocations: 1.435 MB / 1.095 GB, free: 14.56 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.667e-06/0.3979, allocations: 0 / 1.095 GB, free: 14.56 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005607/0.3985, allocations: 107.8 kB / 1.095 GB, free: 14.46 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.386e-06/0.3985, allocations: 4 kB / 1.095 GB, free: 14.45 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.385e-05/0.3985, allocations: 20 kB / 1.095 GB, free: 14.43 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.438e-06/0.3985, allocations: 4 kB / 1.095 GB, free: 14.43 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.3985, allocations: 0 / 1.095 GB, free: 14.43 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001707/0.4002, allocations: 0.9703 MB / 1.096 GB, free: 13.44 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003125/0.4006, allocations: 219.7 kB / 1.096 GB, free: 13.21 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000102/0.4007, allocations: 12 kB / 1.096 GB, free: 13.2 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004569/0.4011, allocations: 31.97 kB / 1.096 GB, free: 13.16 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001031/0.4013, allocations: 36.5 kB / 1.096 GB, free: 13.13 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.92e-05/0.4013, allocations: 19.98 kB / 1.096 GB, free: 13.11 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0006629/0.402, allocations: 0.5186 MB / 1.097 GB, free: 12.6 MB / 0.8575 GB Notification: Performance of sort global known variables: time 4.91e-07/0.402, allocations: 0 / 1.097 GB, free: 12.6 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0007954/0.4028, allocations: 279 kB / 1.097 GB, free: 12.32 MB / 0.8575 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.0001873/0.403, allocations: 111.7 kB / 1.097 GB, free: 12.2 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.001987/0.405, allocations: 0.8204 MB / 1.098 GB, free: 11.39 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/0.405, allocations: 1.078 kB / 1.098 GB, free: 11.39 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0005105/0.4055, allocations: 275.1 kB / 1.098 GB, free: 11.12 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001169/0.4067, allocations: 266.4 kB / 1.098 GB, free: 10.87 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0034/0.4101, allocations: 1.567 MB / 1.1 GB, free: 9.27 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007711/0.4109, allocations: 0.9898 MB / 1.101 GB, free: 8.254 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0006193/0.4115, allocations: 130.8 kB / 1.101 GB, free: 8.121 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001956/0.4117, allocations: 59.42 kB / 1.101 GB, free: 8.062 MB / 0.8575 GB Notification: Performance of SimCode: time 3.81e-07/0.4117, allocations: 0 / 1.101 GB, free: 8.062 MB / 0.8575 GB Notification: Performance of Templates: time 0.01948/0.4312, allocations: 9.257 MB / 1.11 GB, free: 14.91 MB / 0.8731 GB make -j1 -f Buildings_1.6_Buildings.Controls.Continuous.Validation.LimPIDReset.makefile (rm -f Buildings_1.6_Buildings.Controls.Continuous.Validation.LimPIDReset.pipe ; mkfifo Buildings_1.6_Buildings.Controls.Continuous.Validation.LimPIDReset.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Controls.Continuous.Validation.LimPIDReset.pipe >> ../files/Buildings_1.6_Buildings.Controls.Continuous.Validation.LimPIDReset.sim & ./Buildings_1.6_Buildings.Controls.Continuous.Validation.LimPIDReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Controls.Continuous.Validation.LimPIDReset.pipe 2>&1)