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 1.885/1.885, allocations: 287.5 MB / 302.6 MB, free: 8.191 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.001547/0.001547, allocations: 186.4 kB / 371.2 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 1.903/1.903, allocations: 205.4 MB / 0.6298 GB, free: 10.61 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.001297/0.001297, allocations: 90.55 kB / 0.7432 GB, free: 6.602 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005341/0.0005346, allocations: 17.08 kB / 0.8661 GB, free: 140.3 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2611/0.2617, allocations: 115.3 MB / 0.9787 GB, free: 28.2 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale): time 0.001969/0.2637, allocations: 1.583 MB / 0.9802 GB, free: 26.61 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002747/0.2665, allocations: 1.527 MB / 0.9817 GB, free: 25.07 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006723/0.2672, allocations: 11.94 kB / 0.9817 GB, free: 25.05 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0003778/0.2676, allocations: 55.44 kB / 0.9818 GB, free: 25 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0006118/0.2682, allocations: 68.64 kB / 0.9819 GB, free: 24.93 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009124/0.2691, allocations: 222.8 kB / 0.9821 GB, free: 24.72 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0006437/0.2698, allocations: 0.5826 MB / 0.9826 GB, free: 24.14 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004281/0.2702, allocations: 288.5 kB / 0.9829 GB, free: 23.85 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001417/0.2704, allocations: 163.1 kB / 0.9831 GB, free: 23.69 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001684/0.2706, allocations: 194.8 kB / 0.9833 GB, free: 23.5 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 4.952e-05/0.2706, allocations: 20 kB / 0.9833 GB, free: 23.48 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 9.594e-05/0.2707, allocations: 31.98 kB / 0.9833 GB, free: 23.45 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 6.005e-05/0.2708, allocations: 83.55 kB / 0.9834 GB, free: 23.37 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 7.768e-05/0.2709, allocations: 109.4 kB / 0.9835 GB, free: 23.25 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0003785/0.2713, allocations: 0.6002 MB / 0.9841 GB, free: 22.65 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.082e-06/0.2713, allocations: 0 / 0.9841 GB, free: 22.65 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.943e-06/0.2713, allocations: 0 / 0.9841 GB, free: 22.65 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.103e-06/0.2713, allocations: 0 / 0.9841 GB, free: 22.65 MB / 0.6198 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.001245/0.2725, allocations: 0.8214 MB / 0.9849 GB, free: 21.77 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.549e-05/0.2726, allocations: 8.031 kB / 0.9849 GB, free: 21.76 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001012/0.2727, allocations: 68.19 kB / 0.985 GB, free: 21.7 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004362/0.2732, allocations: 434.8 kB / 0.9854 GB, free: 21.23 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.597e-05/0.2732, allocations: 37.38 kB / 0.9854 GB, free: 21.2 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.832e-05/0.2733, allocations: 52.38 kB / 0.9855 GB, free: 21.14 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006448/0.2739, allocations: 483.5 kB / 0.9859 GB, free: 20.66 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.38e-05/0.274, allocations: 192 / 0.9859 GB, free: 20.66 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.257e-05/0.274, allocations: 23.94 kB / 0.9859 GB, free: 20.63 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.007e-06/0.274, allocations: 12 kB / 0.986 GB, free: 20.62 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005802/0.2746, allocations: 331.8 kB / 0.9863 GB, free: 20.3 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001967/0.2766, allocations: 1.484 MB / 0.9877 GB, free: 18.75 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008564/0.2774, allocations: 0.8705 MB / 0.9886 GB, free: 17.77 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003493/0.2778, allocations: 213.2 kB / 0.9888 GB, free: 17.55 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.743e-05/0.2779, allocations: 4 kB / 0.9888 GB, free: 17.55 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005007/0.2784, allocations: 235 kB / 0.989 GB, free: 17.31 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=41): time 2.204e-06/0.2784, allocations: 0 / 0.989 GB, free: 17.31 MB / 0.6198 GB Notification: Performance of matching and sorting (n=41): time 0.0009644/0.2794, allocations: 0.497 MB / 0.9895 GB, free: 16.8 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.565e-05/0.2794, allocations: 114.7 kB / 0.9896 GB, free: 16.67 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003324/0.2798, allocations: 397.6 kB / 0.99 GB, free: 16.27 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.44e-05/0.2798, allocations: 45.64 kB / 0.99 GB, free: 16.22 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001447/0.28, allocations: 252.3 kB / 0.9903 GB, free: 15.97 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 6.753e-05/0.28, allocations: 138 kB / 0.9904 GB, free: 15.84 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.187e-05/0.2801, allocations: 11.98 kB / 0.9904 GB, free: 15.82 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.607e-05/0.2802, allocations: 350.8 kB / 0.9907 GB, free: 15.47 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002919/0.2805, allocations: 168.8 kB / 0.9909 GB, free: 15.31 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003164/0.2808, allocations: 263 kB / 0.9912 GB, free: 15.01 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005317/0.2813, allocations: 403.9 kB / 0.9915 GB, free: 14.59 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.2813, allocations: 0 / 0.9915 GB, free: 14.59 MB / 0.6198 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0007999/0.2821, allocations: 0.5316 MB / 0.9921 GB, free: 14.04 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 7.738e-05/0.2822, allocations: 185 kB / 0.9922 GB, free: 13.83 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.314e-06/0.2822, allocations: 0 / 0.9922 GB, free: 13.83 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.712e-05/0.2823, allocations: 4 kB / 0.9922 GB, free: 13.83 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003355/0.2826, allocations: 83.89 kB / 0.9923 GB, free: 13.75 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.072e-05/0.2826, allocations: 7.938 kB / 0.9923 GB, free: 13.74 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003676/0.283, allocations: 103.5 kB / 0.9924 GB, free: 13.64 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.609e-05/0.2831, allocations: 19.98 kB / 0.9924 GB, free: 13.62 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 5.67e-06/0.2831, allocations: 4 kB / 0.9924 GB, free: 13.61 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005395/0.2836, allocations: 429.7 kB / 0.9929 GB, free: 13.19 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.617e-06/0.2836, allocations: 4 kB / 0.9929 GB, free: 13.18 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.707e-06/0.2836, allocations: 4 kB / 0.9929 GB, free: 13.18 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002378/0.2839, allocations: 67.91 kB / 0.9929 GB, free: 13.11 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.599e-06/0.2839, allocations: 4 kB / 0.9929 GB, free: 13.11 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003183/0.2842, allocations: 91.7 kB / 0.993 GB, free: 13.02 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.736e-05/0.2842, allocations: 16 kB / 0.993 GB, free: 13 MB / 0.6198 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,$PRE.pulse.booPul.y,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001865/0.2844, allocations: 258.7 kB / 0.9933 GB, free: 12.74 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.167e-05/0.2845, allocations: 39.53 kB / 0.9933 GB, free: 12.7 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.138e-05/0.2846, allocations: 52.77 kB / 0.9934 GB, free: 12.65 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.759e-06/0.2846, allocations: 8 kB / 0.9934 GB, free: 12.64 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.985e-06/0.2846, allocations: 3.938 kB / 0.9934 GB, free: 12.64 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.23e-06/0.2846, allocations: 3.984 kB / 0.9934 GB, free: 12.64 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001144/0.2858, allocations: 1.015 MB / 0.9944 GB, free: 11.57 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.297e-06/0.2858, allocations: 3.938 kB / 0.9944 GB, free: 11.56 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003469/0.2861, allocations: 75.84 kB / 0.9944 GB, free: 11.49 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.445e-06/0.2861, allocations: 0 / 0.9944 GB, free: 11.49 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.553e-05/0.2862, allocations: 11.98 kB / 0.9945 GB, free: 11.48 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.995e-06/0.2862, allocations: 8 kB / 0.9945 GB, free: 11.47 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.2862, allocations: 7.938 kB / 0.9945 GB, free: 11.46 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008804/0.2871, allocations: 0.6525 MB / 0.9951 GB, free: 10.79 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 7.243e-05/0.2872, allocations: 128.5 kB / 0.9952 GB, free: 10.65 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.919e-05/0.2872, allocations: 8 kB / 0.9952 GB, free: 10.64 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002025/0.2874, allocations: 31.97 kB / 0.9953 GB, free: 10.61 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.346e-05/0.2875, allocations: 19.97 kB / 0.9953 GB, free: 10.59 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.143e-05/0.2875, allocations: 16 kB / 0.9953 GB, free: 10.57 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.000249/0.2878, allocations: 275.2 kB / 0.9956 GB, free: 10.3 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2878, allocations: 0 / 0.9956 GB, free: 10.3 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0005082/0.2883, allocations: 195.2 kB / 0.9958 GB, free: 10.11 MB / 0.6198 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 (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.0002184/0.2885, allocations: 111.2 kB / 0.9959 GB, free: 9.992 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0009765/0.2895, allocations: 0.7218 MB / 0.9966 GB, free: 9.242 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.2895, allocations: 0 / 0.9966 GB, free: 9.242 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0002579/0.2898, allocations: 179.9 kB / 0.9967 GB, free: 9.066 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005578/0.2904, allocations: 97.98 kB / 0.9968 GB, free: 8.973 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001189/0.2916, allocations: 1.05 MB / 0.9979 GB, free: 7.898 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002541/0.2918, allocations: 0.8547 MB / 0.9987 GB, free: 7.02 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001933/0.292, allocations: 51.36 kB / 0.9987 GB, free: 6.965 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.846e-05/0.2921, allocations: 39.44 kB / 0.9988 GB, free: 6.926 MB / 0.6198 GB Notification: Performance of SimCode: time 2.2e-07/0.2921, allocations: 3.938 kB / 0.9988 GB, free: 6.922 MB / 0.6198 GB Notification: Performance of Templates: time 0.008523/0.3007, allocations: 5.185 MB / 1.004 GB, free: 1.777 MB / 0.6198 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)