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.001816/0.001816, allocations: 105.5 kB / 16.29 MB, free: 6.09 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.002214/0.002214, allocations: 182.2 kB / 17.22 MB, free: 5.699 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.649/1.649, allocations: 205.1 MB / 223.1 MB, free: 12.3 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.947/1.947, allocations: 292.3 MB / 0.5495 GB, free: 17.73 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.001527/0.001527, allocations: 83.12 kB / 0.6722 GB, free: 6.543 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3138/0.3154, allocations: 114.5 MB / 0.7841 GB, free: 3.879 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale): time 0.003691/0.3191, allocations: 2.069 MB / 0.7861 GB, free: 1.797 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.00263/0.3218, allocations: 1.601 MB / 0.7877 GB, free: 184 kB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002192/0.322, allocations: 4 kB / 0.7877 GB, free: 180 kB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0002697/0.3223, allocations: 91.06 kB / 0.7878 GB, free: 88 kB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0003143/0.3226, allocations: 83.19 kB / 0.7878 GB, free: 4 kB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.5421/0.8647, allocations: 305.7 kB / 0.7881 GB, free: 46 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0008839/0.8656, allocations: 0.6755 MB / 0.7888 GB, free: 46 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004862/0.8661, allocations: 311.5 kB / 0.7891 GB, free: 45.99 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002252/0.8664, allocations: 255.2 kB / 0.7893 GB, free: 45.94 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002788/0.8666, allocations: 275.6 kB / 0.7896 GB, free: 45.88 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 9.697e-05/0.8667, allocations: 73.72 kB / 0.7897 GB, free: 45.88 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001565/0.8669, allocations: 90.17 kB / 0.7898 GB, free: 45.88 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001106/0.867, allocations: 138 kB / 0.7899 GB, free: 45.86 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.000218/0.8673, allocations: 292.8 kB / 0.7902 GB, free: 45.77 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0008998/0.8682, allocations: 0.8182 MB / 0.791 GB, free: 45.67 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 8.475e-06/0.8682, allocations: 2.062 kB / 0.791 GB, free: 45.67 MB / 0.6544 GB Notification: Performance of FrontEnd: time 3.256e-06/0.8682, allocations: 0 / 0.791 GB, free: 45.67 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 2.998e-05/0.8682, allocations: 2.625 kB / 0.791 GB, free: 45.67 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.001726/0.87, allocations: 0.9116 MB / 0.7919 GB, free: 45.1 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 6.168e-05/0.87, allocations: 11.81 kB / 0.7919 GB, free: 45.09 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001569/0.8702, allocations: 69.03 kB / 0.7919 GB, free: 45.06 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005193/0.8707, allocations: 427.8 kB / 0.7923 GB, free: 44.8 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.061e-05/0.8708, allocations: 37.84 kB / 0.7924 GB, free: 44.8 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.47e-05/0.8709, allocations: 57.66 kB / 0.7924 GB, free: 44.8 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007036/0.8716, allocations: 471 kB / 0.7929 GB, free: 44.73 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.683e-05/0.8716, allocations: 2.625 kB / 0.7929 GB, free: 44.73 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.918e-05/0.8716, allocations: 20.81 kB / 0.7929 GB, free: 44.73 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.26e-05/0.8717, allocations: 14.25 kB / 0.7929 GB, free: 44.73 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005349/0.8722, allocations: 321.1 kB / 0.7932 GB, free: 44.72 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001715/0.8739, allocations: 1.445 MB / 0.7946 GB, free: 44.21 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007024/0.8746, allocations: 0.8526 MB / 0.7955 GB, free: 43.62 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002839/0.8749, allocations: 206 kB / 0.7957 GB, free: 43.61 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 4.179e-05/0.875, allocations: 8.969 kB / 0.7957 GB, free: 43.61 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004559/0.8755, allocations: 222.3 kB / 0.7959 GB, free: 43.56 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=41): time 1.914e-06/0.8755, allocations: 0 / 0.7959 GB, free: 43.56 MB / 0.6544 GB Notification: Performance of matching and sorting (n=41): time 0.0008372/0.8763, allocations: 485.4 kB / 0.7964 GB, free: 43.5 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.489e-05/0.8764, allocations: 114.1 kB / 0.7965 GB, free: 43.37 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003736/0.8768, allocations: 397.6 kB / 0.7968 GB, free: 43.23 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 4.102e-05/0.8768, allocations: 39.23 kB / 0.7969 GB, free: 43.19 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001577/0.877, allocations: 262 kB / 0.7971 GB, free: 42.98 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 7.871e-05/0.8771, allocations: 137.2 kB / 0.7973 GB, free: 42.88 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001357/0.8772, allocations: 91.64 kB / 0.7973 GB, free: 42.83 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 8.406e-05/0.8773, allocations: 356.9 kB / 0.7977 GB, free: 42.5 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003053/0.8776, allocations: 165.8 kB / 0.7978 GB, free: 42.43 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003341/0.8779, allocations: 256.8 kB / 0.7981 GB, free: 42.28 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005439/0.8785, allocations: 398.7 kB / 0.7985 GB, free: 42.04 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-06/0.8785, allocations: 0 / 0.7985 GB, free: 42.04 MB / 0.6544 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0008244/0.8793, allocations: 0.5214 MB / 0.799 GB, free: 41.82 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 4.166e-05/0.8794, allocations: 40.69 kB / 0.799 GB, free: 41.78 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.265e-06/0.8794, allocations: 4.562 kB / 0.799 GB, free: 41.78 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.002e-05/0.8794, allocations: 8.125 kB / 0.799 GB, free: 41.77 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003417/0.8798, allocations: 86.69 kB / 0.7991 GB, free: 41.77 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.003e-05/0.8798, allocations: 5.906 kB / 0.7991 GB, free: 41.77 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003233/0.8801, allocations: 74.98 kB / 0.7992 GB, free: 41.75 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.058e-05/0.8802, allocations: 19.12 kB / 0.7992 GB, free: 41.74 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003753/0.8806, allocations: 260.6 kB / 0.7995 GB, free: 41.58 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002988/0.8809, allocations: 235 kB / 0.7997 GB, free: 41.41 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004639/0.8813, allocations: 357.2 kB / 0.8 GB, free: 41.19 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.735e-06/0.8813, allocations: 2.875 kB / 0.8 GB, free: 41.19 MB / 0.6544 GB Notification: Performance of matching and sorting (n=54) (initialization_lambda0): time 0.0007174/0.8821, allocations: 481.9 kB / 0.8005 GB, free: 40.96 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 3.17e-05/0.8821, allocations: 36.92 kB / 0.8005 GB, free: 40.93 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.351e-06/0.8821, allocations: 3.891 kB / 0.8005 GB, free: 40.93 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.53e-06/0.8821, allocations: 2.688 kB / 0.8005 GB, free: 40.93 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002805/0.8824, allocations: 79.47 kB / 0.8006 GB, free: 40.92 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.386e-06/0.8824, allocations: 8.094 kB / 0.8006 GB, free: 40.92 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003002/0.8827, allocations: 66.39 kB / 0.8007 GB, free: 40.89 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.776e-05/0.8828, allocations: 25.77 kB / 0.8007 GB, free: 40.89 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.0001389/0.8829, allocations: 204.8 kB / 0.8009 GB, free: 40.7 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.042e-05/0.883, allocations: 44.25 kB / 0.8009 GB, free: 40.67 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000105/0.8831, allocations: 52.75 kB / 0.801 GB, free: 40.64 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.957e-06/0.8831, allocations: 7.719 kB / 0.801 GB, free: 40.63 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.268e-05/0.8831, allocations: 0.5 kB / 0.801 GB, free: 40.63 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.023e-06/0.8832, allocations: 0 / 0.801 GB, free: 40.63 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001391/0.8845, allocations: 0.9981 MB / 0.802 GB, free: 40.06 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.985e-06/0.8846, allocations: 2.438 kB / 0.802 GB, free: 40.06 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002983/0.8849, allocations: 70.94 kB / 0.802 GB, free: 40.05 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.987e-06/0.8849, allocations: 3.844 kB / 0.802 GB, free: 40.05 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.651e-05/0.8849, allocations: 8.094 kB / 0.802 GB, free: 40.05 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.996e-06/0.8849, allocations: 2.781 kB / 0.8021 GB, free: 40.05 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.8849, allocations: 0 / 0.8021 GB, free: 40.05 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001009/0.8859, allocations: 0.6369 MB / 0.8027 GB, free: 39.71 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 7.741e-05/0.886, allocations: 123.6 kB / 0.8028 GB, free: 39.59 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.923e-05/0.8861, allocations: 9.062 kB / 0.8028 GB, free: 39.59 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001947/0.8863, allocations: 24.95 kB / 0.8028 GB, free: 39.58 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.563e-05/0.8864, allocations: 27.2 kB / 0.8029 GB, free: 39.57 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.544e-05/0.8864, allocations: 15.02 kB / 0.8029 GB, free: 39.57 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0003194/0.8867, allocations: 279.1 kB / 0.8031 GB, free: 39.43 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8867, allocations: 0 / 0.8031 GB, free: 39.43 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0005988/0.8873, allocations: 192.4 kB / 0.8033 GB, free: 39.37 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.0002527/0.8876, allocations: 117.9 kB / 0.8034 GB, free: 39.27 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001333/0.8889, allocations: 0.7159 MB / 0.8041 GB, free: 38.95 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.417e-06/0.889, allocations: 0 / 0.8041 GB, free: 38.95 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.000341/0.8893, allocations: 177.7 kB / 0.8043 GB, free: 38.9 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005714/0.8899, allocations: 95.56 kB / 0.8044 GB, free: 38.87 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001431/0.8913, allocations: 0.8628 MB / 0.8052 GB, free: 38.38 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004075/0.8917, allocations: 0.845 MB / 0.8061 GB, free: 37.68 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0002061/0.892, allocations: 54.14 kB / 0.8061 GB, free: 37.66 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001079/0.8921, allocations: 36.28 kB / 0.8061 GB, free: 37.66 MB / 0.6544 GB Notification: Performance of SimCode: time 2.11e-07/0.8921, allocations: 0 / 0.8061 GB, free: 37.66 MB / 0.6544 GB Notification: Performance of Templates: time 0.0141/0.9062, allocations: 5.675 MB / 0.8117 GB, free: 37.38 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 cvode -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale.pipe 2>&1)