Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale.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.PIDWithResetScale,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.703/2.703, allocations: 287.5 MB / 303.2 MB, free: 8.281 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.001319/0.001318, allocations: 182.2 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.05/2.05, allocations: 205.4 MB / 0.6305 GB, free: 10.54 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.0009241/0.0009237, allocations: 90.12 kB / 0.7438 GB, free: 6.535 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005191/0.0005192, allocations: 14.19 kB / 0.8667 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2204/0.2209, allocations: 115.3 MB / 0.9793 GB, free: 28.16 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9168/1.138, allocations: 139.7 MB / 1.116 GB, free: 15.76 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002784/1.138, allocations: 81.52 kB / 1.116 GB, free: 15.76 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.04401/1.182, allocations: 10.64 MB / 1.126 GB, free: 30.83 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.214e-06/1.182, allocations: 0 / 1.126 GB, free: 30.83 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.158e-05/1.182, allocations: 15.5 kB / 1.126 GB, free: 30.83 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: 121 * Number of variables: 121 Notification: Performance of Generate backend data structure: time 0.002037/1.184, allocations: 0.885 MB / 1.127 GB, free: 30.21 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.427e-05/1.184, allocations: 7.688 kB / 1.127 GB, free: 30.21 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001996/1.185, allocations: 74.78 kB / 1.127 GB, free: 30.17 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001057/1.186, allocations: 480.6 kB / 1.128 GB, free: 29.89 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.295e-05/1.186, allocations: 43.88 kB / 1.128 GB, free: 29.89 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001357/1.186, allocations: 64.62 kB / 1.128 GB, free: 29.89 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001173/1.187, allocations: 0.4941 MB / 1.128 GB, free: 29.8 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.35e-05/1.187, allocations: 3.938 kB / 1.128 GB, free: 29.8 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.45e-05/1.187, allocations: 19.47 kB / 1.128 GB, free: 29.8 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.454e-05/1.187, allocations: 11.72 kB / 1.128 GB, free: 29.8 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001061/1.188, allocations: 364.7 kB / 1.129 GB, free: 29.79 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003286/1.192, allocations: 1.595 MB / 1.13 GB, free: 29.1 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001397/1.193, allocations: 0.8998 MB / 1.131 GB, free: 28.44 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005361/1.194, allocations: 209.9 kB / 1.131 GB, free: 28.4 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 5.385e-05/1.194, allocations: 11.73 kB / 1.131 GB, free: 28.4 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007056/1.194, allocations: 271.2 kB / 1.132 GB, free: 28.29 MB / 0.698 GB Notification: Performance of pre-optimization done (n=47): time 3.888e-06/1.194, allocations: 4 kB / 1.132 GB, free: 28.29 MB / 0.698 GB Notification: Performance of matching and sorting (n=47): time 0.00173/1.196, allocations: 0.5488 MB / 1.132 GB, free: 28.17 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.017e-05/1.196, allocations: 114.7 kB / 1.132 GB, free: 28.04 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005914/1.197, allocations: 394.2 kB / 1.133 GB, free: 27.88 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001141/1.197, allocations: 36.14 kB / 1.133 GB, free: 27.85 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002531/1.197, allocations: 266.5 kB / 1.133 GB, free: 27.7 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001376/1.197, allocations: 145.3 kB / 1.133 GB, free: 27.59 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.627e-05/1.197, allocations: 18.78 kB / 1.133 GB, free: 27.59 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001819/1.198, allocations: 359 kB / 1.133 GB, free: 27.26 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006205/1.198, allocations: 194 kB / 1.134 GB, free: 27.23 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006739/1.199, allocations: 291 kB / 1.134 GB, free: 27.11 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001148/1.2, allocations: 469.5 kB / 1.134 GB, free: 26.95 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.65e-06/1.2, allocations: 0 / 1.134 GB, free: 26.95 MB / 0.698 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001732/1.202, allocations: 0.6435 MB / 1.135 GB, free: 26.74 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001608/1.202, allocations: 198 kB / 1.135 GB, free: 26.54 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.388e-06/1.202, allocations: 0 / 1.135 GB, free: 26.54 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.581e-05/1.202, allocations: 3.875 kB / 1.135 GB, free: 26.54 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006501/1.203, allocations: 93.3 kB / 1.135 GB, free: 26.52 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.377e-05/1.203, allocations: 7.875 kB / 1.135 GB, free: 26.51 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009153/1.204, allocations: 136.1 kB / 1.135 GB, free: 26.46 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.371e-05/1.204, allocations: 23.17 kB / 1.135 GB, free: 26.45 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 8.126e-06/1.204, allocations: 3.844 kB / 1.135 GB, free: 26.45 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001244/1.205, allocations: 0.5331 MB / 1.136 GB, free: 26.33 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/1.205, allocations: 0 / 1.136 GB, free: 26.33 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.724e-06/1.205, allocations: 3.969 kB / 1.136 GB, free: 26.33 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005156/1.206, allocations: 77.78 kB / 1.136 GB, free: 26.31 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.606e-06/1.206, allocations: 3.875 kB / 1.136 GB, free: 26.31 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000836/1.206, allocations: 115.8 kB / 1.136 GB, free: 26.27 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.207e-05/1.207, allocations: 25.19 kB / 1.136 GB, free: 26.27 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition6,$whenCondition5,$PRE.booPul.y,booPul.y,$whenCondition3,$whenCondition4,$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 (55): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 2 * 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.0004717/1.207, allocations: 257 kB / 1.136 GB, free: 26.07 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.582e-05/1.207, allocations: 50.31 kB / 1.136 GB, free: 26.04 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001275/1.207, allocations: 51.28 kB / 1.136 GB, free: 26.03 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.295e-06/1.207, allocations: 11.56 kB / 1.136 GB, free: 26.03 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.076e-05/1.207, allocations: 0 / 1.136 GB, free: 26.03 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.037e-06/1.207, allocations: 7.922 kB / 1.136 GB, free: 26.02 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002137/1.209, allocations: 1.082 MB / 1.137 GB, free: 25.52 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.416e-06/1.21, allocations: 7.984 kB / 1.137 GB, free: 25.51 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006576/1.21, allocations: 73.31 kB / 1.138 GB, free: 25.5 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.595e-06/1.21, allocations: 3.812 kB / 1.138 GB, free: 25.5 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.926e-05/1.21, allocations: 18.98 kB / 1.138 GB, free: 25.49 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.48e-06/1.21, allocations: 0 / 1.138 GB, free: 25.49 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/1.21, allocations: 0 / 1.138 GB, free: 25.49 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001649/1.212, allocations: 0.7193 MB / 1.138 GB, free: 25.26 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001504/1.212, allocations: 128.1 kB / 1.138 GB, free: 25.13 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.948e-05/1.212, allocations: 15.33 kB / 1.138 GB, free: 25.13 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003778/1.213, allocations: 26.86 kB / 1.138 GB, free: 25.12 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.054e-05/1.213, allocations: 31.55 kB / 1.138 GB, free: 25.1 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.718e-05/1.213, allocations: 15.34 kB / 1.138 GB, free: 25.1 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0004459/1.213, allocations: 272.6 kB / 1.139 GB, free: 24.98 MB / 0.698 GB Notification: Performance of sort global known variables: time 4.01e-07/1.213, allocations: 3.938 kB / 1.139 GB, free: 24.98 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0009585/1.214, allocations: 229.4 kB / 1.139 GB, free: 24.93 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: 8 ($whenCondition6,$whenCondition5,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,pulse.booPul.y,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): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0002761/1.214, allocations: 137.4 kB / 1.139 GB, free: 24.82 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002092/1.217, allocations: 0.9446 MB / 1.14 GB, free: 24.47 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.038e-06/1.217, allocations: 0 / 1.14 GB, free: 24.47 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0005058/1.217, allocations: 203.2 kB / 1.14 GB, free: 24.44 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001107/1.218, allocations: 97.95 kB / 1.14 GB, free: 24.41 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00211/1.22, allocations: 1.114 MB / 1.141 GB, free: 23.73 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004774/1.221, allocations: 0.858 MB / 1.142 GB, free: 22.96 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0004018/1.221, allocations: 58.67 kB / 1.142 GB, free: 22.93 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001598/1.221, allocations: 41.89 kB / 1.142 GB, free: 22.92 MB / 0.698 GB Notification: Performance of SimCode: time 1.272e-06/1.221, allocations: 4 kB / 1.142 GB, free: 22.92 MB / 0.698 GB Notification: Performance of Templates: time 0.01738/1.239, allocations: 6.482 MB / 1.149 GB, free: 19.74 MB / 0.698 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale.makefile (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale.sim & ./Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale.pipe 2>&1)