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.001219/0.001219, allocations: 105.6 kB / 16.36 MB, free: 6.012 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.001273/0.001273, allocations: 191.1 kB / 17.3 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.48/1.48, 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.904/1.904, allocations: 292.3 MB / 0.5496 GB, free: 17.41 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.00143/0.00143, allocations: 71.91 kB / 0.6729 GB, free: 5.859 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2316/0.233, allocations: 114.6 MB / 0.7848 GB, free: 3.184 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale): time 0.003537/0.2366, allocations: 2.069 MB / 0.7868 GB, free: 1.102 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.4817/0.7184, allocations: 1.586 MB / 0.7884 GB, free: 46.39 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003449/0.7188, allocations: 11.88 kB / 0.7884 GB, free: 46.39 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0003975/0.7192, allocations: 76.77 kB / 0.7885 GB, free: 46.39 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0004933/0.7197, allocations: 93.05 kB / 0.7885 GB, free: 46.39 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.001015/0.7208, allocations: 312.6 kB / 0.7888 GB, free: 46.39 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.00101/0.7218, allocations: 0.6751 MB / 0.7895 GB, free: 46.39 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007228/0.7225, allocations: 310.3 kB / 0.7898 GB, free: 46.38 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004314/0.723, allocations: 256.2 kB / 0.79 GB, free: 46.32 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003931/0.7234, allocations: 281.9 kB / 0.7903 GB, free: 46.26 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0001502/0.7235, allocations: 74.69 kB / 0.7904 GB, free: 46.26 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002341/0.7238, allocations: 86.06 kB / 0.7905 GB, free: 46.26 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.000148/0.7239, allocations: 136.2 kB / 0.7906 GB, free: 46.24 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0003711/0.7243, allocations: 295.2 kB / 0.7909 GB, free: 46.15 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.001117/0.7255, allocations: 0.8196 MB / 0.7917 GB, free: 46.04 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 7.615e-06/0.7255, allocations: 0 / 0.7917 GB, free: 46.04 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.845e-06/0.7255, allocations: 0 / 0.7917 GB, free: 46.04 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.596e-05/0.7255, allocations: 2.719 kB / 0.7917 GB, free: 46.04 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.001991/0.7275, allocations: 0.9114 MB / 0.7926 GB, free: 45.47 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.381e-05/0.7276, allocations: 7.531 kB / 0.7926 GB, free: 45.47 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001814/0.7278, allocations: 75.53 kB / 0.7926 GB, free: 45.43 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006933/0.7285, allocations: 422 kB / 0.7931 GB, free: 45.18 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.596e-05/0.7286, allocations: 41.09 kB / 0.7931 GB, free: 45.18 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001224/0.7287, allocations: 56.12 kB / 0.7931 GB, free: 45.17 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001066/0.7298, allocations: 474.8 kB / 0.7936 GB, free: 45.1 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.924e-05/0.7298, allocations: 0.75 kB / 0.7936 GB, free: 45.1 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.222e-05/0.7299, allocations: 24.31 kB / 0.7936 GB, free: 45.1 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.996e-05/0.7299, allocations: 11.34 kB / 0.7936 GB, free: 45.1 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008819/0.7308, allocations: 320.4 kB / 0.7939 GB, free: 45.09 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002696/0.7335, allocations: 1.444 MB / 0.7953 GB, free: 44.58 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001098/0.7346, allocations: 0.855 MB / 0.7962 GB, free: 43.95 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004879/0.7352, allocations: 205.8 kB / 0.7964 GB, free: 43.88 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 4.342e-05/0.7352, allocations: 7.516 kB / 0.7964 GB, free: 43.88 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00061/0.7358, allocations: 224.5 kB / 0.7966 GB, free: 43.77 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=41): time 3.477e-06/0.7359, allocations: 0 / 0.7966 GB, free: 43.77 MB / 0.6544 GB Notification: Performance of matching and sorting (n=41): time 0.001352/0.7372, allocations: 483.1 kB / 0.7971 GB, free: 43.58 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.036e-05/0.7373, allocations: 118.3 kB / 0.7972 GB, free: 43.45 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006571/0.738, allocations: 400.3 kB / 0.7976 GB, free: 43.25 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 6.842e-05/0.7381, allocations: 35.55 kB / 0.7976 GB, free: 43.22 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002162/0.7383, allocations: 262.4 kB / 0.7978 GB, free: 43.01 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001244/0.7384, allocations: 138.6 kB / 0.798 GB, free: 42.91 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001916/0.7386, allocations: 92.97 kB / 0.7981 GB, free: 42.86 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 9.895e-05/0.7387, allocations: 353.4 kB / 0.7984 GB, free: 42.53 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004932/0.7392, allocations: 163.8 kB / 0.7986 GB, free: 42.46 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005416/0.7398, allocations: 257.5 kB / 0.7988 GB, free: 42.3 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009084/0.7407, allocations: 396 kB / 0.7992 GB, free: 42.07 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.1e-06/0.7407, allocations: 2.812 kB / 0.7992 GB, free: 42.07 MB / 0.6544 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001346/0.7421, allocations: 0.5171 MB / 0.7997 GB, free: 41.85 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 4.746e-05/0.7422, allocations: 45.67 kB / 0.7997 GB, free: 41.81 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.478e-06/0.7422, allocations: 0 / 0.7997 GB, free: 41.81 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.365e-05/0.7422, allocations: 9.688 kB / 0.7997 GB, free: 41.8 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005195/0.7427, allocations: 85.83 kB / 0.7998 GB, free: 41.8 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.459e-05/0.7428, allocations: 6.797 kB / 0.7998 GB, free: 41.8 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006028/0.7434, allocations: 75.89 kB / 0.7999 GB, free: 41.77 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.597e-05/0.7435, allocations: 24.61 kB / 0.7999 GB, free: 41.77 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005711/0.744, allocations: 261.2 kB / 0.8002 GB, free: 41.61 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004677/0.7445, allocations: 232.2 kB / 0.8004 GB, free: 41.44 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007146/0.7453, allocations: 356.5 kB / 0.8007 GB, free: 41.22 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.898e-06/0.7453, allocations: 0 / 0.8007 GB, free: 41.22 MB / 0.6544 GB Notification: Performance of matching and sorting (n=54) (initialization_lambda0): time 0.001179/0.7465, allocations: 485.7 kB / 0.8012 GB, free: 40.99 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 3.946e-05/0.7465, allocations: 37.86 kB / 0.8012 GB, free: 40.95 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.055e-06/0.7466, allocations: 1.906 kB / 0.8012 GB, free: 40.95 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.196e-05/0.7466, allocations: 5.656 kB / 0.8012 GB, free: 40.95 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005155/0.7471, allocations: 74.31 kB / 0.8013 GB, free: 40.95 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.386e-05/0.7471, allocations: 8.969 kB / 0.8013 GB, free: 40.95 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006173/0.7478, allocations: 70.5 kB / 0.8014 GB, free: 40.92 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.586e-05/0.7478, allocations: 20.61 kB / 0.8014 GB, free: 40.92 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.0002156/0.7481, allocations: 206 kB / 0.8016 GB, free: 40.73 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.662e-05/0.7482, allocations: 49.8 kB / 0.8016 GB, free: 40.7 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001565/0.7484, allocations: 50.38 kB / 0.8017 GB, free: 40.66 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.214e-05/0.7484, allocations: 7.688 kB / 0.8017 GB, free: 40.66 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.348e-05/0.7484, allocations: 3.75 kB / 0.8017 GB, free: 40.66 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.616e-06/0.7484, allocations: 0.6562 kB / 0.8017 GB, free: 40.66 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002467/0.7509, allocations: 0.9972 MB / 0.8027 GB, free: 40.09 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.2e-06/0.7509, allocations: 0 / 0.8027 GB, free: 40.09 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006214/0.7516, allocations: 66.28 kB / 0.8027 GB, free: 40.09 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.894e-06/0.7516, allocations: 2 kB / 0.8027 GB, free: 40.09 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.175e-05/0.7516, allocations: 13.05 kB / 0.8028 GB, free: 40.08 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.322e-06/0.7517, allocations: 1.469 kB / 0.8028 GB, free: 40.08 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.854e-06/0.7517, allocations: 4 kB / 0.8028 GB, free: 40.07 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00182/0.7535, allocations: 0.6299 MB / 0.8034 GB, free: 39.75 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000156/0.7537, allocations: 127.1 kB / 0.8035 GB, free: 39.62 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.471e-05/0.7538, allocations: 12.08 kB / 0.8035 GB, free: 39.61 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003822/0.7542, allocations: 23.64 kB / 0.8035 GB, free: 39.61 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.752e-05/0.7543, allocations: 25.59 kB / 0.8036 GB, free: 39.6 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.569e-05/0.7544, allocations: 10.06 kB / 0.8036 GB, free: 39.6 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0006119/0.755, allocations: 281.7 kB / 0.8038 GB, free: 39.46 MB / 0.6544 GB Notification: Performance of sort global known variables: time 5.61e-07/0.755, allocations: 0 / 0.8038 GB, free: 39.46 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001288/0.7563, allocations: 191.1 kB / 0.804 GB, free: 39.4 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.0003524/0.7567, allocations: 123.7 kB / 0.8041 GB, free: 39.3 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.00246/0.7592, allocations: 0.7098 MB / 0.8048 GB, free: 38.99 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 6.943e-06/0.7592, allocations: 1.5 kB / 0.8048 GB, free: 38.99 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0006387/0.7599, allocations: 180.6 kB / 0.805 GB, free: 38.93 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001072/0.7609, allocations: 94.34 kB / 0.8051 GB, free: 38.91 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002449/0.7634, allocations: 0.8695 MB / 0.8059 GB, free: 38.4 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005239/0.764, allocations: 0.8493 MB / 0.8068 GB, free: 37.7 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0004149/0.7644, allocations: 52.39 kB / 0.8068 GB, free: 37.69 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000166/0.7646, allocations: 37.81 kB / 0.8069 GB, free: 37.68 MB / 0.6544 GB Notification: Performance of SimCode: time 9.01e-07/0.7646, allocations: 0 / 0.8069 GB, free: 37.68 MB / 0.6544 GB Notification: Performance of Templates: time 0.02445/0.7891, allocations: 5.663 MB / 0.8124 GB, free: 37.41 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 -s gbode -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale.pipe 2>&1)