Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.PIDScale.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.002226/0.002226, allocations: 80.52 kB / 19.95 MB, free: 4.602 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.003132/0.003132, allocations: 173.6 kB / 23.24 MB, free: 1.324 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.629/1.629, allocations: 177.1 MB / 203.5 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 3.105/3.105, allocations: 389.5 MB / 0.6343 GB, free: 12.63 MB / 0.6042 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.PIDScale,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.PIDScale") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.PIDScale,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.PIDScale") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.424e-06/2.424e-06, allocations: 0 / 1.001 GB, free: 12.99 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.112e-05/3.354e-05, allocations: 2.281 kB / 1.001 GB, free: 12.98 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.PIDScale): time 0.008095/0.008129, allocations: 1.827 MB / 1.003 GB, free: 11.15 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.009981/0.01811, allocations: 1.629 MB / 1.005 GB, free: 9.508 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003819/0.01849, allocations: 11.94 kB / 1.005 GB, free: 9.496 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.0003715/0.01886, allocations: 83.06 kB / 1.005 GB, free: 9.414 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.0004993/0.01936, allocations: 103.1 kB / 1.005 GB, free: 9.312 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.001016/0.02038, allocations: 322.7 kB / 1.005 GB, free: 9 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.004282/0.02466, allocations: 0.6996 MB / 1.006 GB, free: 8.297 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005736/0.02523, allocations: 221.8 kB / 1.006 GB, free: 8.078 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007178/0.02595, allocations: 395.2 kB / 1.006 GB, free: 7.691 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004355/0.02639, allocations: 219.2 kB / 1.007 GB, free: 7.477 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 0.003172/0.02956, allocations: 80 kB / 1.007 GB, free: 7.398 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002202/0.02978, allocations: 84 kB / 1.007 GB, free: 7.316 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 0.0001943/0.02997, allocations: 143.5 kB / 1.007 GB, free: 7.176 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 0.0003229/0.0303, allocations: 203.4 kB / 1.007 GB, free: 6.977 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.001462/0.03176, allocations: 0.8722 MB / 1.008 GB, free: 6.102 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.03176, allocations: 0 / 1.008 GB, free: 6.102 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.904e-06/0.03177, allocations: 0 / 1.008 GB, free: 6.102 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 9.267e-06/0.03177, allocations: 4 kB / 1.008 GB, free: 6.098 MB / 0.9636 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 124 * Number of variables: 124 Notification: Performance of Generate backend data structure: time 0.005629/0.0374, allocations: 1.022 MB / 1.009 GB, free: 5.02 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.603e-05/0.03745, allocations: 13.28 kB / 1.009 GB, free: 5.008 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002012/0.03765, allocations: 72.52 kB / 1.009 GB, free: 4.938 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00385/0.0415, allocations: 354.3 kB / 1.009 GB, free: 4.559 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.181e-05/0.04157, allocations: 41.38 kB / 1.009 GB, free: 4.52 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001394/0.04171, allocations: 56.36 kB / 1.009 GB, free: 4.465 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001585/0.0433, allocations: 0.5458 MB / 1.01 GB, free: 3.898 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.132e-05/0.04332, allocations: 192 / 1.01 GB, free: 3.898 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.439e-05/0.04338, allocations: 20.38 kB / 1.01 GB, free: 3.879 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.217e-05/0.04341, allocations: 12.38 kB / 1.01 GB, free: 3.867 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004089/0.04749, allocations: 343.8 kB / 1.01 GB, free: 3.527 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006375/0.05387, allocations: 1.271 MB / 1.012 GB, free: 2.219 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001174/0.05504, allocations: 401.2 kB / 1.012 GB, free: 1.82 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005767/0.05562, allocations: 212.5 kB / 1.012 GB, free: 1.613 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 4.822e-05/0.05567, allocations: 12 kB / 1.012 GB, free: 1.602 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002774/0.05844, allocations: 249.7 kB / 1.012 GB, free: 1.348 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=47): time 2.124e-06/0.05844, allocations: 0 / 1.012 GB, free: 1.348 MB / 0.9636 GB Notification: Performance of matching and sorting (n=47): time 0.001276/0.05972, allocations: 0.5241 MB / 1.013 GB, free: 0.8164 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001095/0.05983, allocations: 115.2 kB / 1.013 GB, free: 0.6797 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005002/0.06033, allocations: 349.6 kB / 1.013 GB, free: 340 kB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 6.664e-05/0.0604, allocations: 41.7 kB / 1.013 GB, free: 292 kB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002888/0.06069, allocations: 265.1 kB / 1.014 GB, free: 20 kB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001762/0.06086, allocations: 162.8 kB / 1.014 GB, free: 15.86 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001831/0.06105, allocations: 98.17 kB / 1.014 GB, free: 15.75 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0002478/0.06129, allocations: 358.8 kB / 1.014 GB, free: 15.39 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004729/0.06177, allocations: 212.5 kB / 1.014 GB, free: 15.18 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006439/0.06241, allocations: 420.1 kB / 1.015 GB, free: 14.7 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008441/0.06325, allocations: 437 kB / 1.015 GB, free: 14.25 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.06326, allocations: 4 kB / 1.015 GB, free: 14.24 MB / 0.9792 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001211/0.06447, allocations: 0.602 MB / 1.016 GB, free: 13.62 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 5.277e-05/0.06452, allocations: 37.7 kB / 1.016 GB, free: 13.58 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.047e-06/0.06453, allocations: 4.219 kB / 1.016 GB, free: 13.57 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.927e-05/0.06455, allocations: 8 kB / 1.016 GB, free: 13.57 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004131/0.06496, allocations: 95.88 kB / 1.016 GB, free: 13.47 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.175e-05/0.06497, allocations: 7.75 kB / 1.016 GB, free: 13.47 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004104/0.06538, allocations: 79.67 kB / 1.016 GB, free: 13.39 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.281e-05/0.06543, allocations: 16 kB / 1.016 GB, free: 13.38 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005165/0.06594, allocations: 318.8 kB / 1.016 GB, free: 13.05 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007638/0.06671, allocations: 396.2 kB / 1.017 GB, free: 12.6 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006593/0.06737, allocations: 388.4 kB / 1.017 GB, free: 12.19 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.195e-06/0.06737, allocations: 0 / 1.017 GB, free: 12.19 MB / 0.9792 GB Notification: Performance of matching and sorting (n=60) (initialization_lambda0): time 0.001038/0.06841, allocations: 0.5513 MB / 1.018 GB, free: 11.62 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 4.308e-05/0.06845, allocations: 37.7 kB / 1.018 GB, free: 11.57 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.218e-05/0.06846, allocations: 8.078 kB / 1.018 GB, free: 11.57 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.218e-05/0.06848, allocations: 7.984 kB / 1.018 GB, free: 11.56 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003303/0.06881, allocations: 83.84 kB / 1.018 GB, free: 11.48 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.078e-05/0.06882, allocations: 7.938 kB / 1.018 GB, free: 11.47 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003844/0.0692, allocations: 75.91 kB / 1.018 GB, free: 11.39 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.201e-05/0.06924, allocations: 23.98 kB / 1.018 GB, free: 11.37 MB / 0.9792 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 (58): * Single equations (assignments): 57 * 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.000209/0.06945, allocations: 210.8 kB / 1.018 GB, free: 11.16 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.335e-05/0.06952, allocations: 39.77 kB / 1.018 GB, free: 11.12 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008848/0.0704, allocations: 426.7 kB / 1.019 GB, free: 10.7 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.083e-06/0.07041, allocations: 8 kB / 1.019 GB, free: 10.69 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.213e-06/0.07041, allocations: 7.938 kB / 1.019 GB, free: 10.68 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.554e-06/0.07042, allocations: 3.984 kB / 1.019 GB, free: 10.68 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00182/0.07224, allocations: 0.9719 MB / 1.019 GB, free: 9.652 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.627e-06/0.07224, allocations: 4.031 kB / 1.019 GB, free: 9.648 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003637/0.07261, allocations: 87.83 kB / 1.02 GB, free: 9.562 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.035e-06/0.07262, allocations: 4 kB / 1.02 GB, free: 9.559 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.207e-05/0.07265, allocations: 12 kB / 1.02 GB, free: 9.547 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.002e-06/0.07265, allocations: 4 kB / 1.02 GB, free: 9.543 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.753e-06/0.07266, allocations: 7.938 kB / 1.02 GB, free: 9.535 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001254/0.07392, allocations: 0.7241 MB / 1.02 GB, free: 8.773 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 9.144e-05/0.07401, allocations: 51.64 kB / 1.02 GB, free: 8.723 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.852e-05/0.07406, allocations: 12 kB / 1.02 GB, free: 8.711 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002235/0.07428, allocations: 23.98 kB / 1.02 GB, free: 8.688 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.591e-05/0.07436, allocations: 39.81 kB / 1.02 GB, free: 8.648 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.866e-05/0.07438, allocations: 16 kB / 1.02 GB, free: 8.633 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.0003048/0.07469, allocations: 243.2 kB / 1.021 GB, free: 8.398 MB / 0.9792 GB Notification: Performance of sort global known variables: time 1e-07/0.07469, allocations: 3.938 kB / 1.021 GB, free: 8.395 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.0007206/0.07541, allocations: 215.3 kB / 1.021 GB, free: 8.184 MB / 0.9792 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (47): * Single equations (assignments): 46 * 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.0002365/0.07565, allocations: 126.5 kB / 1.021 GB, free: 8.055 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.001622/0.07727, allocations: 0.7889 MB / 1.022 GB, free: 7.227 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.07727, allocations: 0 / 1.022 GB, free: 7.227 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.0003557/0.07763, allocations: 183.5 kB / 1.022 GB, free: 7.047 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006037/0.07823, allocations: 85.94 kB / 1.022 GB, free: 6.965 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001771/0.08, allocations: 0.8887 MB / 1.023 GB, free: 6.031 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002877/0.08029, allocations: 247 kB / 1.023 GB, free: 5.758 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.0002236/0.08051, allocations: 59.22 kB / 1.023 GB, free: 5.699 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001146/0.08063, allocations: 44.48 kB / 1.023 GB, free: 5.656 MB / 0.9792 GB Notification: Performance of SimCode: time 6.72e-07/0.08063, allocations: 0 / 1.023 GB, free: 5.656 MB / 0.9792 GB Notification: Performance of Templates: time 0.01342/0.09405, allocations: 6.153 MB / 1.029 GB, free: 15.62 MB / 0.9948 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.PIDScale.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.PIDScale.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.PIDScale.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.PIDScale.pipe >> ../files/Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.PIDScale.sim & ./Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.PIDScale -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.PIDScale.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 9.231040568090975]