Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.64/2.64, allocations: 287.5 MB / 303.2 MB, free: 8.113 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001305/0.001305, allocations: 184.7 kB / 371.8 MB, free: 10.83 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.21/2.21, allocations: 205.4 MB / 0.6305 GB, free: 10.58 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008493/0.000849, allocations: 90.3 kB / 0.7438 GB, free: 6.566 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004816/0.0004817, allocations: 17.03 kB / 0.8667 GB, free: 140.3 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2183/0.2188, allocations: 115.3 MB / 0.9793 GB, free: 28.18 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9011/1.12, allocations: 139.7 MB / 1.116 GB, free: 15.87 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002877/1.12, allocations: 81.36 kB / 1.116 GB, free: 15.87 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.03791/1.158, allocations: 9.339 MB / 1.125 GB, free: 31 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.655e-06/1.158, allocations: 0 / 1.125 GB, free: 31 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.299e-05/1.158, allocations: 7.812 kB / 1.125 GB, free: 31 MB / 0.698 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.002143/1.16, allocations: 0.8314 MB / 1.126 GB, free: 30.42 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.517e-05/1.161, allocations: 7.625 kB / 1.126 GB, free: 30.42 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000256/1.161, allocations: 70.53 kB / 1.126 GB, free: 30.39 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001084/1.162, allocations: 458 kB / 1.126 GB, free: 30.11 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.529e-05/1.162, allocations: 45.44 kB / 1.126 GB, free: 30.11 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00012/1.162, allocations: 49.88 kB / 1.126 GB, free: 30.11 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001167/1.163, allocations: 477 kB / 1.127 GB, free: 30.03 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.17e-05/1.163, allocations: 7.875 kB / 1.127 GB, free: 30.02 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.229e-05/1.163, allocations: 23.75 kB / 1.127 GB, free: 30.02 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.457e-05/1.163, allocations: 11.56 kB / 1.127 GB, free: 30.02 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001013/1.164, allocations: 344.1 kB / 1.127 GB, free: 30.02 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003157/1.168, allocations: 1.497 MB / 1.129 GB, free: 29.46 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001336/1.169, allocations: 0.8739 MB / 1.129 GB, free: 28.86 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005047/1.17, allocations: 201.1 kB / 1.13 GB, free: 28.85 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 4.964e-05/1.17, allocations: 7.531 kB / 1.13 GB, free: 28.84 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006448/1.17, allocations: 242.2 kB / 1.13 GB, free: 28.79 MB / 0.698 GB Notification: Performance of pre-optimization done (n=43): time 3.586e-06/1.17, allocations: 0 / 1.13 GB, free: 28.79 MB / 0.698 GB Notification: Performance of matching and sorting (n=43): time 0.001596/1.172, allocations: 0.5132 MB / 1.13 GB, free: 28.71 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.924e-05/1.172, allocations: 110.5 kB / 1.131 GB, free: 28.59 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006051/1.173, allocations: 392.7 kB / 1.131 GB, free: 28.48 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001064/1.173, allocations: 36.39 kB / 1.131 GB, free: 28.45 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002284/1.173, allocations: 256.8 kB / 1.131 GB, free: 28.32 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001282/1.173, allocations: 140 kB / 1.131 GB, free: 28.23 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.203e-05/1.173, allocations: 11.25 kB / 1.131 GB, free: 28.23 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001514/1.173, allocations: 360.7 kB / 1.132 GB, free: 27.92 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005315/1.174, allocations: 161.5 kB / 1.132 GB, free: 27.92 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005659/1.174, allocations: 252.9 kB / 1.132 GB, free: 27.82 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009786/1.175, allocations: 391.5 kB / 1.132 GB, free: 27.73 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.238e-06/1.175, allocations: 0 / 1.132 GB, free: 27.73 MB / 0.698 GB Notification: Performance of matching and sorting (n=52) (initialization): time 0.001468/1.177, allocations: 0.5216 MB / 1.133 GB, free: 27.62 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001277/1.177, allocations: 167.8 kB / 1.133 GB, free: 27.45 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.929e-06/1.177, allocations: 3.875 kB / 1.133 GB, free: 27.45 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.191e-05/1.177, allocations: 3.844 kB / 1.133 GB, free: 27.45 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006179/1.178, allocations: 85.2 kB / 1.133 GB, free: 27.43 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.228e-05/1.178, allocations: 3.875 kB / 1.133 GB, free: 27.43 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006878/1.178, allocations: 88.08 kB / 1.133 GB, free: 27.4 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.653e-05/1.179, allocations: 22.77 kB / 1.133 GB, free: 27.4 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.173e-05/1.179, allocations: 9.688 kB / 1.133 GB, free: 27.39 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009547/1.18, allocations: 418.9 kB / 1.134 GB, free: 27.31 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/1.18, allocations: 3.656 kB / 1.134 GB, free: 27.31 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.176e-06/1.18, allocations: 3.875 kB / 1.134 GB, free: 27.31 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004957/1.18, allocations: 65.5 kB / 1.134 GB, free: 27.3 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.546e-06/1.18, allocations: 7.594 kB / 1.134 GB, free: 27.29 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006134/1.181, allocations: 84.83 kB / 1.134 GB, free: 27.26 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.396e-05/1.181, allocations: 15.44 kB / 1.134 GB, free: 27.26 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition1,$whenCondition2,$PRE.pulse.booPul.y,pulse.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (50): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004419/1.181, allocations: 247.2 kB / 1.134 GB, free: 27.07 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.872e-05/1.181, allocations: 42.72 kB / 1.134 GB, free: 27.04 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001312/1.181, allocations: 65.27 kB / 1.134 GB, free: 27.02 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.054e-06/1.181, allocations: 7.781 kB / 1.134 GB, free: 27.01 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.178e-05/1.182, allocations: 7.906 kB / 1.134 GB, free: 27.01 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.645e-06/1.182, allocations: 0 / 1.134 GB, free: 27.01 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002018/1.184, allocations: 1.028 MB / 1.135 GB, free: 26.52 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.669e-06/1.184, allocations: 0 / 1.135 GB, free: 26.52 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006511/1.184, allocations: 77.7 kB / 1.135 GB, free: 26.5 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.025e-06/1.184, allocations: 3.969 kB / 1.135 GB, free: 26.5 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.609e-05/1.184, allocations: 7.812 kB / 1.135 GB, free: 26.5 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.973e-06/1.184, allocations: 7.844 kB / 1.135 GB, free: 26.49 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/1.184, allocations: 0 / 1.135 GB, free: 26.49 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001603/1.186, allocations: 0.6756 MB / 1.136 GB, free: 26.27 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001375/1.186, allocations: 131.2 kB / 1.136 GB, free: 26.14 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.471e-05/1.186, allocations: 7.656 kB / 1.136 GB, free: 26.14 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003743/1.187, allocations: 34.89 kB / 1.136 GB, free: 26.12 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.365e-05/1.187, allocations: 27.36 kB / 1.136 GB, free: 26.11 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.45e-05/1.187, allocations: 7.719 kB / 1.136 GB, free: 26.11 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0004388/1.187, allocations: 284 kB / 1.136 GB, free: 26 MB / 0.698 GB Notification: Performance of sort global known variables: time 4.81e-07/1.187, allocations: 0 / 1.136 GB, free: 26 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.000937/1.188, allocations: 185.7 kB / 1.137 GB, free: 25.96 MB / 0.698 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: 6 ($whenCondition5,$whenCondition4,$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 (43): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002702/1.188, allocations: 138.4 kB / 1.137 GB, free: 25.85 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.00175/1.19, allocations: 0.7178 MB / 1.137 GB, free: 25.64 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 6.202e-06/1.19, allocations: 3.844 kB / 1.137 GB, free: 25.64 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0004881/1.191, allocations: 183.3 kB / 1.138 GB, free: 25.61 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009724/1.192, allocations: 91.61 kB / 1.138 GB, free: 25.58 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001994/1.194, allocations: 1.058 MB / 1.139 GB, free: 24.92 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004392/1.194, allocations: 0.8495 MB / 1.14 GB, free: 24.15 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0004155/1.195, allocations: 54.19 kB / 1.14 GB, free: 24.12 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001547/1.195, allocations: 33.56 kB / 1.14 GB, free: 24.12 MB / 0.698 GB Notification: Performance of SimCode: time 1.082e-06/1.195, allocations: 0 / 1.14 GB, free: 24.12 MB / 0.698 GB Notification: Performance of Templates: time 0.01545/1.21, allocations: 5.254 MB / 1.145 GB, free: 21.57 MB / 0.698 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale.makefile (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale.sim & ./Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale.pipe 2>&1)