Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale.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.OBC.CDL.Continuous.Validation.PIDScale,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001421/0.001421, allocations: 112.2 kB / 16.37 MB, free: 6 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.001602/0.001602, allocations: 191.9 kB / 17.31 MB, free: 5.617 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.402/1.402, allocations: 205.1 MB / 223.2 MB, free: 12.26 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.758/1.758, allocations: 292.3 MB / 0.5496 GB, free: 17.5 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.001536/0.001537, allocations: 72.47 kB / 0.6729 GB, free: 5.887 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3247/0.3262, allocations: 114.6 MB / 0.7848 GB, free: 3.207 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale): time 0.004213/0.3305, allocations: 2.08 MB / 0.7868 GB, free: 1.117 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.6093/0.9398, allocations: 1.586 MB / 0.7884 GB, free: 46.53 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002431/0.9401, allocations: 10.69 kB / 0.7884 GB, free: 46.53 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0002745/0.9405, allocations: 81 kB / 0.7885 GB, free: 46.53 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0003191/0.9408, allocations: 89.92 kB / 0.7886 GB, free: 46.53 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006951/0.9415, allocations: 314.8 kB / 0.7889 GB, free: 46.53 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0005731/0.9421, allocations: 0.6786 MB / 0.7895 GB, free: 46.53 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003853/0.9425, allocations: 305.1 kB / 0.7898 GB, free: 46.51 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001886/0.9427, allocations: 256.9 kB / 0.7901 GB, free: 46.46 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000222/0.9429, allocations: 278.2 kB / 0.7903 GB, free: 46.4 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 7.773e-05/0.943, allocations: 72.78 kB / 0.7904 GB, free: 46.4 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001182/0.9431, allocations: 85.3 kB / 0.7905 GB, free: 46.4 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 7.977e-05/0.9432, allocations: 143 kB / 0.7906 GB, free: 46.38 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001683/0.9434, allocations: 294.1 kB / 0.7909 GB, free: 46.29 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0006007/0.944, allocations: 0.8213 MB / 0.7917 GB, free: 46.18 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.944, allocations: 2.875 kB / 0.7917 GB, free: 46.18 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.714e-06/0.944, allocations: 0 / 0.7917 GB, free: 46.18 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 9.468e-06/0.944, allocations: 0 / 0.7917 GB, free: 46.18 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: 114 * Number of variables: 114 Notification: Performance of Generate backend data structure: time 0.001326/0.9454, allocations: 0.9043 MB / 0.7926 GB, free: 45.61 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.907e-05/0.9454, allocations: 9.5 kB / 0.7926 GB, free: 45.61 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001051/0.9455, allocations: 65.75 kB / 0.7927 GB, free: 45.58 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004865/0.946, allocations: 435.4 kB / 0.7931 GB, free: 45.32 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.492e-05/0.9461, allocations: 39.91 kB / 0.7931 GB, free: 45.32 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.366e-05/0.9461, allocations: 54.59 kB / 0.7932 GB, free: 45.32 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006477/0.9468, allocations: 472.6 kB / 0.7936 GB, free: 45.25 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.403e-05/0.9468, allocations: 0.7812 kB / 0.7936 GB, free: 45.25 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.654e-05/0.9468, allocations: 20.97 kB / 0.7936 GB, free: 45.25 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.205e-05/0.9469, allocations: 13.5 kB / 0.7937 GB, free: 45.25 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005461/0.9474, allocations: 321.4 kB / 0.794 GB, free: 45.24 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001713/0.9491, allocations: 1.445 MB / 0.7954 GB, free: 44.73 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007528/0.9499, allocations: 0.8545 MB / 0.7962 GB, free: 44.08 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002956/0.9502, allocations: 204.9 kB / 0.7964 GB, free: 44 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 3.613e-05/0.9503, allocations: 6.75 kB / 0.7964 GB, free: 44 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000361/0.9506, allocations: 223.5 kB / 0.7966 GB, free: 43.89 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=41): time 1.593e-06/0.9506, allocations: 0 / 0.7966 GB, free: 43.89 MB / 0.6544 GB Notification: Performance of matching and sorting (n=41): time 0.0008804/0.9515, allocations: 490 kB / 0.7971 GB, free: 43.7 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.616e-05/0.9516, allocations: 106.3 kB / 0.7972 GB, free: 43.58 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003556/0.9519, allocations: 399 kB / 0.7976 GB, free: 43.39 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 3.783e-05/0.952, allocations: 36.92 kB / 0.7976 GB, free: 43.35 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001414/0.9521, allocations: 265.8 kB / 0.7979 GB, free: 43.14 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 7.211e-05/0.9522, allocations: 138.6 kB / 0.798 GB, free: 43.03 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001287/0.9523, allocations: 87.67 kB / 0.7981 GB, free: 42.99 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 8.712e-05/0.9524, allocations: 359 kB / 0.7984 GB, free: 42.65 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003118/0.9528, allocations: 162.5 kB / 0.7986 GB, free: 42.59 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003487/0.9531, allocations: 265.2 kB / 0.7988 GB, free: 42.43 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005422/0.9537, allocations: 392.9 kB / 0.7992 GB, free: 42.2 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.028e-06/0.9537, allocations: 0.8125 kB / 0.7992 GB, free: 42.2 MB / 0.6544 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.000799/0.9545, allocations: 0.5196 MB / 0.7997 GB, free: 41.97 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 3.675e-05/0.9545, allocations: 39.88 kB / 0.7997 GB, free: 41.94 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.602e-06/0.9545, allocations: 2.281 kB / 0.7997 GB, free: 41.94 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.729e-05/0.9546, allocations: 7.969 kB / 0.7998 GB, free: 41.93 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003275/0.9549, allocations: 84.97 kB / 0.7998 GB, free: 41.93 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.679e-06/0.9549, allocations: 7.156 kB / 0.7998 GB, free: 41.93 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003438/0.9553, allocations: 80.56 kB / 0.7999 GB, free: 41.9 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.684e-05/0.9553, allocations: 20.34 kB / 0.7999 GB, free: 41.89 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003112/0.9556, allocations: 257 kB / 0.8002 GB, free: 41.74 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002713/0.9559, allocations: 238.2 kB / 0.8004 GB, free: 41.57 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004012/0.9563, allocations: 354 kB / 0.8007 GB, free: 41.35 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.603e-06/0.9563, allocations: 7.594 kB / 0.8008 GB, free: 41.34 MB / 0.6544 GB Notification: Performance of matching and sorting (n=54) (initialization_lambda0): time 0.0006625/0.957, allocations: 473.7 kB / 0.8012 GB, free: 41.12 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.44e-05/0.957, allocations: 44.94 kB / 0.8012 GB, free: 41.09 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.356e-06/0.957, allocations: 1.188 kB / 0.8012 GB, free: 41.09 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.663e-06/0.9571, allocations: 3.469 kB / 0.8013 GB, free: 41.09 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002645/0.9573, allocations: 75.11 kB / 0.8013 GB, free: 41.08 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.366e-06/0.9573, allocations: 7.938 kB / 0.8013 GB, free: 41.08 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003373/0.9577, allocations: 70.97 kB / 0.8014 GB, free: 41.05 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.692e-05/0.9577, allocations: 17.19 kB / 0.8014 GB, free: 41.05 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition3,$whenCondition1,$whenCondition2,pulse.booPul.y,$PRE.pulse.booPul.y,pidNoSca.con1.y,pidSca.con1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (52): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 1 * 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.0001205/0.9578, allocations: 205.6 kB / 0.8016 GB, free: 40.86 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.888e-05/0.9579, allocations: 46.02 kB / 0.8017 GB, free: 40.83 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.093e-05/0.958, allocations: 56.58 kB / 0.8017 GB, free: 40.79 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.246e-06/0.958, allocations: 11.25 kB / 0.8017 GB, free: 40.79 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.081e-05/0.958, allocations: 5.688 kB / 0.8017 GB, free: 40.78 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.271e-06/0.9581, allocations: 3.938 kB / 0.8017 GB, free: 40.78 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001388/0.9594, allocations: 0.9853 MB / 0.8027 GB, free: 40.21 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/0.9595, allocations: 1.188 kB / 0.8027 GB, free: 40.21 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003243/0.9598, allocations: 69.8 kB / 0.8028 GB, free: 40.21 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.921e-06/0.9598, allocations: 2.219 kB / 0.8028 GB, free: 40.21 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.94e-05/0.9598, allocations: 16.27 kB / 0.8028 GB, free: 40.2 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.418e-06/0.9599, allocations: 1.641 kB / 0.8028 GB, free: 40.2 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.9599, allocations: 4.781 kB / 0.8028 GB, free: 40.2 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001007/0.9609, allocations: 0.627 MB / 0.8034 GB, free: 39.88 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 7.07e-05/0.961, allocations: 128.2 kB / 0.8035 GB, free: 39.75 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.009e-05/0.961, allocations: 7.047 kB / 0.8035 GB, free: 39.74 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001987/0.9612, allocations: 23.33 kB / 0.8035 GB, free: 39.73 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.89e-05/0.9613, allocations: 23.06 kB / 0.8036 GB, free: 39.73 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.699e-05/0.9613, allocations: 13.64 kB / 0.8036 GB, free: 39.73 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0002893/0.9616, allocations: 279.8 kB / 0.8038 GB, free: 39.59 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9616, allocations: 0 / 0.8038 GB, free: 39.59 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.000589/0.9622, allocations: 190.9 kB / 0.804 GB, free: 39.53 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (pidSca.I.y,pidSca.D.x,pla1.y,pidNoSca.I.y,pidNoSca.D.x,pla2.y) * Number of discrete variables: 4 ($whenCondition3,$whenCondition1,$whenCondition2,pulse.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (41): * Single equations (assignments): 40 * 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.0001983/0.9624, allocations: 122.7 kB / 0.8041 GB, free: 39.44 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001216/0.9636, allocations: 0.7124 MB / 0.8048 GB, free: 39.12 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/0.9636, allocations: 0.875 kB / 0.8048 GB, free: 39.12 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0003408/0.964, allocations: 181.5 kB / 0.805 GB, free: 39.06 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005907/0.9646, allocations: 95.5 kB / 0.8051 GB, free: 39.03 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001554/0.9662, allocations: 0.8978 MB / 0.806 GB, free: 38.5 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003571/0.9665, allocations: 0.8486 MB / 0.8068 GB, free: 37.8 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001244/0.9667, allocations: 40.95 kB / 0.8069 GB, free: 37.79 MB / 0.6544 GB Notification: Performance of SimCode: time 3e-07/0.9667, allocations: 0 / 0.8069 GB, free: 37.79 MB / 0.6544 GB Notification: Performance of Templates: time 0.0128/0.9795, allocations: 5.841 MB / 0.8126 GB, free: 37.35 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale.pipe 2>&1)