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.818/1.818, allocations: 287.4 MB / 303.2 MB, free: 8.293 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.001129/0.001129, allocations: 176.5 kB / 371.8 MB, free: 10.85 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.949/1.949, allocations: 205.4 MB / 0.6304 GB, free: 10.57 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.0009274/0.0009276, allocations: 90.61 kB / 0.7438 GB, free: 6.57 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004845/0.0004847, allocations: 14.62 kB / 0.8667 GB, free: 140.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.262/0.2625, allocations: 115.3 MB / 0.9793 GB, free: 28.2 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale): time 0.00219/0.2648, allocations: 1.583 MB / 0.9808 GB, free: 26.61 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.00237/0.2672, allocations: 1.535 MB / 0.9823 GB, free: 25.05 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003062/0.2675, allocations: 8 kB / 0.9824 GB, free: 25.05 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0002373/0.2678, allocations: 55.44 kB / 0.9824 GB, free: 24.99 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.000308/0.2681, allocations: 64.77 kB / 0.9825 GB, free: 24.93 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005772/0.2687, allocations: 222.3 kB / 0.9827 GB, free: 24.71 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0005338/0.2692, allocations: 0.5787 MB / 0.9832 GB, free: 24.14 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003877/0.2696, allocations: 292.5 kB / 0.9835 GB, free: 23.85 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001544/0.2698, allocations: 163.1 kB / 0.9837 GB, free: 23.69 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001702/0.2699, allocations: 194.8 kB / 0.9839 GB, free: 23.5 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 5.01e-05/0.27, allocations: 20 kB / 0.9839 GB, free: 23.48 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 9.099e-05/0.2701, allocations: 31.98 kB / 0.9839 GB, free: 23.45 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 6.342e-05/0.2702, allocations: 71.56 kB / 0.984 GB, free: 23.38 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 9.763e-05/0.2703, allocations: 113.4 kB / 0.9841 GB, free: 23.26 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0004553/0.2707, allocations: 0.608 MB / 0.9847 GB, free: 22.65 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 7.724e-06/0.2708, allocations: 0 / 0.9847 GB, free: 22.65 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.943e-06/0.2708, allocations: 0 / 0.9847 GB, free: 22.65 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 8.676e-06/0.2708, allocations: 0 / 0.9847 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.001264/0.2721, allocations: 0.8214 MB / 0.9855 GB, free: 21.77 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.149e-05/0.2721, allocations: 8.031 kB / 0.9855 GB, free: 21.76 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001068/0.2722, allocations: 64.19 kB / 0.9856 GB, free: 21.7 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004813/0.2727, allocations: 434.8 kB / 0.986 GB, free: 21.23 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.507e-05/0.2728, allocations: 37.38 kB / 0.986 GB, free: 21.2 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.223e-05/0.2728, allocations: 56.31 kB / 0.9861 GB, free: 21.14 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007621/0.2736, allocations: 475.5 kB / 0.9865 GB, free: 20.66 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.51e-05/0.2736, allocations: 192 / 0.9865 GB, free: 20.66 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.762e-05/0.2737, allocations: 23.94 kB / 0.9865 GB, free: 20.64 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.309e-05/0.2737, allocations: 12 kB / 0.9865 GB, free: 20.62 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005753/0.2743, allocations: 335.8 kB / 0.9869 GB, free: 20.3 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00178/0.2761, allocations: 1.488 MB / 0.9883 GB, free: 18.75 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007422/0.2768, allocations: 0.8684 MB / 0.9892 GB, free: 17.76 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003302/0.2772, allocations: 217.3 kB / 0.9894 GB, free: 17.55 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.3e-05/0.2772, allocations: 4 kB / 0.9894 GB, free: 17.54 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004195/0.2776, allocations: 231 kB / 0.9896 GB, free: 17.3 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=41): time 3.025e-06/0.2777, allocations: 0 / 0.9896 GB, free: 17.3 MB / 0.6198 GB Notification: Performance of matching and sorting (n=41): time 0.0009149/0.2786, allocations: 0.4969 MB / 0.9901 GB, free: 16.8 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.127e-05/0.2786, allocations: 110.8 kB / 0.9902 GB, free: 16.67 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003486/0.279, allocations: 397.6 kB / 0.9906 GB, free: 16.27 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.551e-05/0.279, allocations: 41.64 kB / 0.9906 GB, free: 16.23 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001442/0.2792, allocations: 256.3 kB / 0.9909 GB, free: 15.97 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 7.515e-05/0.2793, allocations: 134 kB / 0.991 GB, free: 15.84 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.345e-05/0.2793, allocations: 12 kB / 0.991 GB, free: 15.83 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.403e-05/0.2794, allocations: 358.8 kB / 0.9913 GB, free: 15.47 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002901/0.2797, allocations: 156.8 kB / 0.9915 GB, free: 15.32 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003261/0.28, allocations: 267 kB / 0.9917 GB, free: 15.02 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005408/0.2806, allocations: 407.9 kB / 0.9921 GB, free: 14.59 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.356e-06/0.2806, allocations: 0 / 0.9921 GB, free: 14.59 MB / 0.6198 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0008224/0.2814, allocations: 0.5278 MB / 0.9926 GB, free: 14.05 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001209/0.2815, allocations: 184.9 kB / 0.9928 GB, free: 13.84 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.656e-06/0.2816, allocations: 0 / 0.9928 GB, free: 13.84 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.901e-05/0.2816, allocations: 4 kB / 0.9928 GB, free: 13.83 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003634/0.282, allocations: 87.89 kB / 0.9929 GB, free: 13.75 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.502e-05/0.282, allocations: 7.938 kB / 0.9929 GB, free: 13.74 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003863/0.2824, allocations: 105.7 kB / 0.993 GB, free: 13.64 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.565e-05/0.2824, allocations: 20 kB / 0.993 GB, free: 13.62 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 6.973e-06/0.2824, allocations: 6.5 kB / 0.993 GB, free: 13.61 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005435/0.283, allocations: 429.8 kB / 0.9935 GB, free: 13.19 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.685e-06/0.283, allocations: 0 / 0.9935 GB, free: 13.19 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.869e-06/0.283, allocations: 4 kB / 0.9935 GB, free: 13.18 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002382/0.2833, allocations: 71.91 kB / 0.9935 GB, free: 13.11 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.022e-06/0.2833, allocations: 7.984 kB / 0.9935 GB, free: 13.11 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000319/0.2836, allocations: 83.67 kB / 0.9936 GB, free: 13.02 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.916e-05/0.2836, allocations: 23.94 kB / 0.9936 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.0002156/0.2839, allocations: 249 kB / 0.9939 GB, free: 12.75 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.575e-05/0.2839, allocations: 47.52 kB / 0.9939 GB, free: 12.7 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.418e-05/0.284, allocations: 48.7 kB / 0.994 GB, free: 12.65 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.17e-06/0.284, allocations: 0 / 0.994 GB, free: 12.65 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.284, allocations: 4 kB / 0.994 GB, free: 12.65 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 8.042e-05/0.2841, allocations: 128.4 kB / 0.9941 GB, free: 12.5 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.147e-05/0.2842, allocations: 12 kB / 0.9941 GB, free: 12.49 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001719/0.2843, allocations: 27.97 kB / 0.9941 GB, free: 12.46 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.5e-05/0.2844, allocations: 27.91 kB / 0.9942 GB, free: 12.44 MB / 0.6198 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0009278/0.2854, allocations: 0.4937 MB / 0.9946 GB, free: 11.94 MB / 0.6198 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0009251/0.2863, allocations: 0.7533 MB / 0.9954 GB, free: 11.17 MB / 0.6198 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003101/0.2866, allocations: 168 kB / 0.9955 GB, free: 11 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0003977/0.287, allocations: 275.2 kB / 0.9958 GB, free: 10.73 MB / 0.6198 GB Notification: Performance of Backend: time 1.412e-06/0.287, allocations: 0 / 0.9958 GB, free: 10.73 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001343/0.2884, allocations: 0.6896 MB / 0.9965 GB, free: 10.01 MB / 0.6198 GB Notification: Performance of SimCode: time 0.001556/0.29, allocations: 1.465 MB / 0.9979 GB, free: 8.492 MB / 0.6198 GB Notification: Performance of Templates: time 0.0105/0.3005, allocations: 6.428 MB / 1.004 GB, free: 2.105 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)