Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001931/0.001931, allocations: 105.3 kB / 16.29 MB, free: 6.027 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002395/0.002396, allocations: 188.8 kB / 17.22 MB, free: 5.633 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.649/1.649, allocations: 205.1 MB / 223.1 MB, free: 12.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 2.045/2.045, allocations: 292.3 MB / 0.5495 GB, free: 17.52 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001771/0.001771, allocations: 71.89 kB / 0.6722 GB, free: 6.488 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.357/0.3588, allocations: 114.6 MB / 0.7841 GB, free: 3.809 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState): time 0.003549/0.3624, allocations: 1.823 MB / 0.7859 GB, free: 1.977 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0022/0.3646, allocations: 1.245 MB / 0.7871 GB, free: 0.7148 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002338/0.3649, allocations: 11.94 kB / 0.7871 GB, free: 0.7031 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0002688/0.3652, allocations: 71.2 kB / 0.7872 GB, free: 0.6328 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0002835/0.3655, allocations: 59.41 kB / 0.7872 GB, free: 0.5742 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003097/0.3658, allocations: 163.8 kB / 0.7874 GB, free: 424 kB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.6039/0.9697, allocations: 483.8 kB / 0.7879 GB, free: 46.09 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006686/0.9705, allocations: 257.3 kB / 0.7881 GB, free: 46.07 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002995/0.9708, allocations: 174.8 kB / 0.7883 GB, free: 46.06 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001939/0.971, allocations: 198.4 kB / 0.7885 GB, free: 46.01 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 6.45e-05/0.971, allocations: 52.38 kB / 0.7885 GB, free: 46.01 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 5.623e-05/0.9711, allocations: 51.38 kB / 0.7886 GB, free: 46.01 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 8.432e-05/0.9712, allocations: 117.4 kB / 0.7887 GB, free: 45.99 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001584/0.9714, allocations: 213.4 kB / 0.7889 GB, free: 45.92 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0005524/0.9719, allocations: 0.5879 MB / 0.7894 GB, free: 45.85 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.701e-06/0.9719, allocations: 2.594 kB / 0.7894 GB, free: 45.85 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.293e-06/0.9719, allocations: 0 / 0.7894 GB, free: 45.85 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.53e-05/0.972, allocations: 0 / 0.7894 GB, free: 45.85 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 93 * Number of variables: 93 Notification: Performance of Generate backend data structure: time 0.001082/0.9731, allocations: 0.7509 MB / 0.7902 GB, free: 45.35 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.084e-05/0.9731, allocations: 9.062 kB / 0.7902 GB, free: 45.35 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.518e-05/0.9732, allocations: 52.06 kB / 0.7902 GB, free: 45.33 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004398/0.9737, allocations: 370.7 kB / 0.7906 GB, free: 45.08 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.499e-05/0.9737, allocations: 28.94 kB / 0.7906 GB, free: 45.08 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.763e-05/0.9738, allocations: 38.56 kB / 0.7907 GB, free: 45.08 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007071/0.9745, allocations: 396.2 kB / 0.791 GB, free: 45.02 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.655e-05/0.9745, allocations: 2.812 kB / 0.791 GB, free: 45.02 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.457e-05/0.9746, allocations: 18.66 kB / 0.7911 GB, free: 45.01 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.479e-05/0.9746, allocations: 10.5 kB / 0.7911 GB, free: 45.01 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005278/0.9751, allocations: 276.8 kB / 0.7913 GB, free: 45 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001702/0.9768, allocations: 1.321 MB / 0.7926 GB, free: 44.46 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005134/0.9774, allocations: 224.2 kB / 0.7928 GB, free: 44.43 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002008/0.9776, allocations: 109.1 kB / 0.7929 GB, free: 44.43 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 3.484e-05/0.9776, allocations: 3.5 kB / 0.7929 GB, free: 44.43 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.134e-05/0.9777, allocations: 30.56 kB / 0.793 GB, free: 44.39 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=17): time 2.225e-06/0.9777, allocations: 0 / 0.793 GB, free: 44.39 MB / 0.6544 GB Notification: Performance of matching and sorting (n=17): time 0.0006267/0.9783, allocations: 278.7 kB / 0.7932 GB, free: 44.33 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.98e-05/0.9784, allocations: 110.9 kB / 0.7933 GB, free: 44.2 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004526/0.9789, allocations: 413.6 kB / 0.7937 GB, free: 44.09 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.807e-05/0.9789, allocations: 32.45 kB / 0.7938 GB, free: 44.06 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002183/0.9791, allocations: 255.9 kB / 0.794 GB, free: 43.91 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 6.115e-05/0.9792, allocations: 64.55 kB / 0.7941 GB, free: 43.88 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000121/0.9793, allocations: 67.73 kB / 0.7941 GB, free: 43.86 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.000118/0.9795, allocations: 348.4 kB / 0.7945 GB, free: 43.54 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002031/0.9797, allocations: 99.09 kB / 0.7946 GB, free: 43.54 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002793/0.98, allocations: 204.7 kB / 0.7948 GB, free: 43.43 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000438/0.9804, allocations: 256.1 kB / 0.795 GB, free: 43.36 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.797e-06/0.9804, allocations: 0 / 0.795 GB, free: 43.36 MB / 0.6544 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0006133/0.981, allocations: 349.4 kB / 0.7953 GB, free: 43.29 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.237e-05/0.9811, allocations: 9.859 kB / 0.7953 GB, free: 43.29 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.987e-06/0.9811, allocations: 3.469 kB / 0.7953 GB, free: 43.29 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.219e-05/0.9811, allocations: 3.469 kB / 0.7954 GB, free: 43.29 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002504/0.9814, allocations: 70.94 kB / 0.7954 GB, free: 43.29 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.061e-05/0.9814, allocations: 3.719 kB / 0.7954 GB, free: 43.29 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002154/0.9816, allocations: 51.25 kB / 0.7955 GB, free: 43.27 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.24e-05/0.9816, allocations: 13.44 kB / 0.7955 GB, free: 43.27 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002209/0.9819, allocations: 192.1 kB / 0.7957 GB, free: 43.19 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001874/0.9821, allocations: 173.1 kB / 0.7958 GB, free: 43.08 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002581/0.9823, allocations: 214.4 kB / 0.796 GB, free: 43 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.343e-06/0.9823, allocations: 0 / 0.796 GB, free: 43 MB / 0.6544 GB Notification: Performance of matching and sorting (n=36) (initialization_lambda0): time 0.0004211/0.9828, allocations: 295.9 kB / 0.7963 GB, free: 42.95 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.085e-05/0.9828, allocations: 8.031 kB / 0.7963 GB, free: 42.95 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.647e-06/0.9828, allocations: 3.406 kB / 0.7963 GB, free: 42.95 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.36e-06/0.9828, allocations: 3.469 kB / 0.7963 GB, free: 42.95 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001782/0.983, allocations: 61.34 kB / 0.7964 GB, free: 42.95 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.228e-06/0.983, allocations: 7.062 kB / 0.7964 GB, free: 42.94 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001913/0.9832, allocations: 35.31 kB / 0.7964 GB, free: 42.93 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.695e-05/0.9832, allocations: 14.06 kB / 0.7964 GB, free: 42.93 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 2 (limPI.con1.y,limPID.con1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * 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.000118/0.9834, allocations: 200.5 kB / 0.7966 GB, free: 42.75 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.21e-05/0.9834, allocations: 36.78 kB / 0.7967 GB, free: 42.73 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.316e-05/0.9835, allocations: 38.7 kB / 0.7967 GB, free: 42.72 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.851e-06/0.9835, allocations: 7.406 kB / 0.7967 GB, free: 42.71 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.427e-06/0.9835, allocations: 6.812 kB / 0.7967 GB, free: 42.71 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.269e-06/0.9835, allocations: 2.953 kB / 0.7967 GB, free: 42.71 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001041/0.9846, allocations: 0.6922 MB / 0.7974 GB, free: 42.39 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.348e-06/0.9846, allocations: 6.75 kB / 0.7974 GB, free: 42.39 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001703/0.9848, allocations: 40.62 kB / 0.7974 GB, free: 42.39 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/0.9848, allocations: 0 / 0.7974 GB, free: 42.39 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.682e-05/0.9848, allocations: 7.438 kB / 0.7975 GB, free: 42.39 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.937e-06/0.9848, allocations: 3.906 kB / 0.7975 GB, free: 42.39 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.168e-06/0.9848, allocations: 3.125 kB / 0.7975 GB, free: 42.39 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006147/0.9854, allocations: 409.7 kB / 0.7978 GB, free: 42.22 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 7.976e-05/0.9855, allocations: 119.4 kB / 0.798 GB, free: 42.1 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.778e-05/0.9856, allocations: 6.906 kB / 0.798 GB, free: 42.1 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001621/0.9857, allocations: 18.09 kB / 0.798 GB, free: 42.1 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.057e-05/0.9858, allocations: 17.72 kB / 0.798 GB, free: 42.1 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.3e-05/0.9858, allocations: 6.344 kB / 0.798 GB, free: 42.09 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.000295/0.9861, allocations: 295.3 kB / 0.7983 GB, free: 42.01 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9861, allocations: 3.938 kB / 0.7983 GB, free: 42.01 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.000514/0.9866, allocations: 130.2 kB / 0.7984 GB, free: 41.97 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 3 (limPID.I.y,limPID.D.x,limPI.I.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0001853/0.9868, allocations: 106 kB / 0.7985 GB, free: 41.88 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0007321/0.9876, allocations: 355.2 kB / 0.7989 GB, free: 41.78 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.9876, allocations: 0 / 0.7989 GB, free: 41.78 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001721/0.9878, allocations: 83.58 kB / 0.7989 GB, free: 41.76 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000679/0.9884, allocations: 69.11 kB / 0.799 GB, free: 41.73 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00142/0.9899, allocations: 0.6593 MB / 0.7996 GB, free: 41.33 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002782/0.9902, allocations: 0.7996 MB / 0.8004 GB, free: 40.63 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.000159/0.9903, allocations: 43.58 kB / 0.8005 GB, free: 40.63 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.595e-05/0.9904, allocations: 32.64 kB / 0.8005 GB, free: 40.62 MB / 0.6544 GB Notification: Performance of SimCode: time 8.61e-07/0.9904, allocations: 0 / 0.8005 GB, free: 40.62 MB / 0.6544 GB Notification: Performance of Templates: time 0.01045/1.001, allocations: 3.338 MB / 0.8038 GB, free: 40.48 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState.pipe 2>&1)