Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.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.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset") translateModel(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007771/0.0007771, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.005446/0.005446, allocations: 170.1 kB / 16.27 MB, free: 6.652 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.408/1.408, allocations: 223.3 MB / 240.3 MB, free: 5.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.817/2.817, allocations: 473.4 MB / 0.7469 GB, free: 6.027 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0005221/0.000522, allocations: 11.64 kB / 0.9158 GB, free: 33.02 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3838/0.3843, allocations: 162.2 MB / 1.074 GB, free: 7.52 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset): time 0.004791/0.3892, allocations: 3.858 MB / 1.078 GB, free: 3.641 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.002364/0.3916, allocations: 1.041 MB / 1.079 GB, free: 2.598 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005099/0.3921, allocations: 23.94 kB / 1.079 GB, free: 2.574 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0003583/0.3925, allocations: 142.7 kB / 1.079 GB, free: 2.434 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0004289/0.3929, allocations: 82.95 kB / 1.079 GB, free: 2.355 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005547/0.3935, allocations: 323.7 kB / 1.079 GB, free: 2.039 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.001045/0.3945, allocations: 1.03 MB / 1.08 GB, free: 1.004 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008666/0.3954, allocations: 0.6315 MB / 1.081 GB, free: 356 kB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002606/0.3957, allocations: 254.3 kB / 1.081 GB, free: 100 kB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003204/0.396, allocations: 317.7 kB / 1.082 GB, free: 15.78 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 7.092e-05/0.3961, allocations: 24 kB / 1.082 GB, free: 15.76 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 5.493e-05/0.3961, allocations: 28 kB / 1.082 GB, free: 15.73 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0001424/0.3963, allocations: 143.1 kB / 1.082 GB, free: 15.59 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0002925/0.3966, allocations: 398.8 kB / 1.082 GB, free: 15.19 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0009816/0.3976, allocations: 1.269 MB / 1.083 GB, free: 13.92 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.3976, allocations: 0 / 1.083 GB, free: 13.92 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.442e-06/0.3976, allocations: 0 / 1.083 GB, free: 13.92 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 1.141e-05/0.3976, allocations: 4 kB / 1.083 GB, free: 13.92 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: 238 * Number of variables: 238 Notification: Performance of Generate backend data structure: time 0.001973/0.3996, allocations: 1.185 MB / 1.085 GB, free: 12.68 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.826e-05/0.3996, allocations: 12.03 kB / 1.085 GB, free: 12.66 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001652/0.3998, allocations: 123.4 kB / 1.085 GB, free: 12.54 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007207/0.4005, allocations: 0.5752 MB / 1.085 GB, free: 11.93 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.081e-05/0.4006, allocations: 70.38 kB / 1.085 GB, free: 11.86 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001305/0.4007, allocations: 104.3 kB / 1.085 GB, free: 11.76 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001613/0.4024, allocations: 0.9219 MB / 1.086 GB, free: 10.82 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.865e-05/0.4024, allocations: 4.125 kB / 1.086 GB, free: 10.81 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.766e-05/0.4025, allocations: 43.92 kB / 1.086 GB, free: 10.77 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.094e-05/0.4025, allocations: 24 kB / 1.086 GB, free: 10.75 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001314/0.4038, allocations: 0.6832 MB / 1.087 GB, free: 10.06 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004215/0.408, allocations: 2.868 MB / 1.09 GB, free: 7.113 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001239/0.4093, allocations: 0.7339 MB / 1.091 GB, free: 6.367 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006711/0.41, allocations: 422.8 kB / 1.091 GB, free: 5.953 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 4.094e-05/0.41, allocations: 12.64 kB / 1.091 GB, free: 5.941 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007902/0.4108, allocations: 376.2 kB / 1.091 GB, free: 5.562 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=74): time 2.064e-06/0.4108, allocations: 0 / 1.091 GB, free: 5.562 MB / 0.8419 GB Notification: Performance of matching and sorting (n=74): time 0.001697/0.4125, allocations: 0.8835 MB / 1.092 GB, free: 4.672 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.797e-05/0.4126, allocations: 162.9 kB / 1.092 GB, free: 4.477 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006949/0.4134, allocations: 0.5979 MB / 1.093 GB, free: 3.867 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 5.199e-05/0.4134, allocations: 41.7 kB / 1.093 GB, free: 3.82 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003113/0.4137, allocations: 448.1 kB / 1.093 GB, free: 3.375 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001813/0.4139, allocations: 252.3 kB / 1.094 GB, free: 3.125 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.34e-05/0.414, allocations: 69.67 kB / 1.094 GB, free: 3.051 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.000167/0.4142, allocations: 382.8 kB / 1.094 GB, free: 2.668 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005252/0.4147, allocations: 265.9 kB / 1.094 GB, free: 2.41 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006253/0.4154, allocations: 394 kB / 1.095 GB, free: 1.984 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001089/0.4165, allocations: 0.6003 MB / 1.095 GB, free: 1.371 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/0.4165, allocations: 0 / 1.095 GB, free: 1.371 MB / 0.8419 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001364/0.4178, allocations: 0.7738 MB / 1.096 GB, free: 0.5898 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 8.27e-05/0.4179, allocations: 126.2 kB / 1.096 GB, free: 464 kB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.993e-06/0.418, allocations: 0 / 1.096 GB, free: 464 kB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.577e-05/0.418, allocations: 4 kB / 1.096 GB, free: 460 kB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006411/0.4186, allocations: 171.7 kB / 1.096 GB, free: 288 kB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.808e-06/0.4186, allocations: 4 kB / 1.096 GB, free: 284 kB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004241/0.4191, allocations: 111.3 kB / 1.097 GB, free: 172 kB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.436e-05/0.4191, allocations: 28 kB / 1.097 GB, free: 144 kB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 6.562e-06/0.4191, allocations: 4 kB / 1.097 GB, free: 140 kB / 0.8419 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008328/0.42, allocations: 0.5427 MB / 1.097 GB, free: 15.59 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.307e-06/0.42, allocations: 0 / 1.097 GB, free: 15.59 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.514e-06/0.42, allocations: 7.938 kB / 1.097 GB, free: 15.58 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005134/0.4205, allocations: 147.9 kB / 1.097 GB, free: 15.44 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.791e-06/0.4205, allocations: 4 kB / 1.097 GB, free: 15.43 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003185/0.4209, allocations: 87.27 kB / 1.097 GB, free: 15.35 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.997e-05/0.4209, allocations: 20 kB / 1.097 GB, free: 15.33 MB / 0.8575 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 3 (noTri.y,limPIDInp.trigger,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (92): * Single equations (assignments): 92 * 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.0003717/0.4213, allocations: 304.9 kB / 1.098 GB, free: 15.02 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.851e-05/0.4214, allocations: 79.06 kB / 1.098 GB, free: 14.94 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001678/0.4216, allocations: 87.67 kB / 1.098 GB, free: 14.85 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.967e-06/0.4216, allocations: 8 kB / 1.098 GB, free: 14.84 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.634e-06/0.4216, allocations: 3.938 kB / 1.098 GB, free: 14.84 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.356e-06/0.4216, allocations: 3.984 kB / 1.098 GB, free: 14.84 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002376/0.424, allocations: 1.644 MB / 1.099 GB, free: 13.14 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.326e-06/0.424, allocations: 4 kB / 1.099 GB, free: 13.13 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005934/0.4246, allocations: 143.8 kB / 1.1 GB, free: 12.99 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.141e-06/0.4246, allocations: 4 kB / 1.1 GB, free: 12.99 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.628e-05/0.4247, allocations: 16 kB / 1.1 GB, free: 12.97 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.016e-06/0.4247, allocations: 0 / 1.1 GB, free: 12.97 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.502e-06/0.4247, allocations: 0 / 1.1 GB, free: 12.97 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001791/0.4265, allocations: 1.108 MB / 1.101 GB, free: 11.85 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001486/0.4266, allocations: 152.2 kB / 1.101 GB, free: 11.68 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.364e-05/0.4267, allocations: 16 kB / 1.101 GB, free: 11.67 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003456/0.4271, allocations: 59.89 kB / 1.101 GB, free: 11.61 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.708e-05/0.4271, allocations: 40.61 kB / 1.101 GB, free: 11.57 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.834e-05/0.4272, allocations: 23.98 kB / 1.101 GB, free: 11.54 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0005047/0.4277, allocations: 423.1 kB / 1.101 GB, free: 11.13 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4277, allocations: 0 / 1.101 GB, free: 11.13 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.000797/0.4285, allocations: 326.3 kB / 1.102 GB, free: 10.81 MB / 0.8575 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 10 (limPIDPar.I.y,limPIDPar.D.x,intWitRes1.y,limPIDInp.I.y,limPIDInp.D.x,intWitRes2.y,limPIPar.I.y,intWitRes3.y,limPIInp.I.y,intWitRes4.y) * Number of discrete variables: 2 (limPIDInp.trigger,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (74): * Single equations (assignments): 74 * 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 Backend phase and start with SimCode phase: time 0.0001959/0.4287, allocations: 127.2 kB / 1.102 GB, free: 10.68 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.001712/0.4304, allocations: 0.9425 MB / 1.103 GB, free: 9.734 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 4.759e-06/0.4305, allocations: 0 / 1.103 GB, free: 9.734 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0005567/0.431, allocations: 332.1 kB / 1.103 GB, free: 9.414 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008657/0.4319, allocations: 179 kB / 1.103 GB, free: 9.246 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002808/0.4347, allocations: 2.038 MB / 1.105 GB, free: 7.176 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005596/0.4353, allocations: 0.99 MB / 1.106 GB, free: 6.16 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.000368/0.4357, allocations: 85.55 kB / 1.106 GB, free: 6.074 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001728/0.4358, allocations: 63.42 kB / 1.106 GB, free: 6.012 MB / 0.8575 GB Notification: Performance of SimCode: time 1.252e-06/0.4359, allocations: 0 / 1.106 GB, free: 6.012 MB / 0.8575 GB Notification: Performance of Templates: time 0.01507/0.4509, allocations: 7.358 MB / 1.113 GB, free: 14.72 MB / 0.8731 GB make -j1 -f Buildings_1.6_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.makefile (rm -f Buildings_1.6_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.pipe ; mkfifo Buildings_1.6_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.pipe >> ../files/Buildings_1.6_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.sim & ./Buildings_1.6_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.pipe 2>&1)