Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale.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.PIDScale,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001135/0.001135, allocations: 102.1 kB / 16.27 MB, free: 6.348 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.001178/0.001178, allocations: 187.6 kB / 17.2 MB, free: 5.949 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.455/1.455, allocations: 205.1 MB / 223.1 MB, free: 12.3 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 1.84/1.84, allocations: 292.3 MB / 0.5495 GB, free: 17.38 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.001711/0.001711, allocations: 71.91 kB / 0.6722 GB, free: 6.613 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3025/0.3043, allocations: 114.6 MB / 0.784 GB, free: 3.949 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale): time 0.004307/0.3086, allocations: 2.08 MB / 0.7861 GB, free: 1.855 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.00314/0.3118, allocations: 1.593 MB / 0.7876 GB, free: 252 kB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002865/0.3122, allocations: 7.938 kB / 0.7876 GB, free: 244 kB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0003378/0.3125, allocations: 83.06 kB / 0.7877 GB, free: 160 kB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0003847/0.3129, allocations: 83.19 kB / 0.7878 GB, free: 76 kB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.5787/0.8917, allocations: 319 kB / 0.7881 GB, free: 45.93 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.001135/0.8928, allocations: 0.6696 MB / 0.7887 GB, free: 45.93 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005583/0.8934, allocations: 305 kB / 0.789 GB, free: 45.91 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002386/0.8936, allocations: 257.1 kB / 0.7893 GB, free: 45.86 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002765/0.8939, allocations: 274 kB / 0.7895 GB, free: 45.8 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 9.216e-05/0.894, allocations: 72.12 kB / 0.7896 GB, free: 45.8 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001559/0.8942, allocations: 88.97 kB / 0.7897 GB, free: 45.8 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.000108/0.8943, allocations: 137.7 kB / 0.7898 GB, free: 45.78 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0002249/0.8945, allocations: 290.9 kB / 0.7901 GB, free: 45.69 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.000753/0.8953, allocations: 0.7964 MB / 0.7909 GB, free: 45.61 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.8953, allocations: 0 / 0.7909 GB, free: 45.61 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.305e-06/0.8953, allocations: 2.625 kB / 0.7909 GB, free: 45.61 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.042e-05/0.8953, allocations: 0 / 0.7909 GB, free: 45.61 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: 114 * Number of variables: 114 Notification: Performance of Generate backend data structure: time 0.001384/0.8967, allocations: 0.9021 MB / 0.7918 GB, free: 45.04 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.079e-05/0.8968, allocations: 12.81 kB / 0.7918 GB, free: 45.04 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001259/0.8969, allocations: 71.34 kB / 0.7918 GB, free: 45.01 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005047/0.8974, allocations: 422.5 kB / 0.7923 GB, free: 44.75 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.568e-05/0.8975, allocations: 41.41 kB / 0.7923 GB, free: 44.75 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.219e-05/0.8976, allocations: 57.59 kB / 0.7923 GB, free: 44.74 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006975/0.8983, allocations: 471.2 kB / 0.7928 GB, free: 44.67 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.382e-05/0.8983, allocations: 1.812 kB / 0.7928 GB, free: 44.67 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.769e-05/0.8983, allocations: 23.72 kB / 0.7928 GB, free: 44.67 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.46e-05/0.8984, allocations: 12.47 kB / 0.7928 GB, free: 44.67 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005501/0.8989, allocations: 326.8 kB / 0.7931 GB, free: 44.66 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001754/0.9007, allocations: 1.458 MB / 0.7946 GB, free: 44.15 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008804/0.9016, allocations: 0.8525 MB / 0.7954 GB, free: 43.56 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004238/0.902, allocations: 205.6 kB / 0.7956 GB, free: 43.55 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 3.742e-05/0.9021, allocations: 6.406 kB / 0.7956 GB, free: 43.55 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004746/0.9025, allocations: 223.1 kB / 0.7958 GB, free: 43.5 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=41): time 3.787e-06/0.9026, allocations: 0 / 0.7958 GB, free: 43.5 MB / 0.6544 GB Notification: Performance of matching and sorting (n=41): time 0.0009531/0.9035, allocations: 485.6 kB / 0.7963 GB, free: 43.43 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.328e-05/0.9036, allocations: 115.9 kB / 0.7964 GB, free: 43.3 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004445/0.904, allocations: 397.5 kB / 0.7968 GB, free: 43.19 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 4.131e-05/0.9041, allocations: 36.52 kB / 0.7968 GB, free: 43.16 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001746/0.9043, allocations: 262.3 kB / 0.7971 GB, free: 42.98 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 8.578e-05/0.9044, allocations: 135.3 kB / 0.7972 GB, free: 42.87 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001511/0.9045, allocations: 95.27 kB / 0.7973 GB, free: 42.82 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001252/0.9047, allocations: 359.5 kB / 0.7976 GB, free: 42.49 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003307/0.905, allocations: 157.9 kB / 0.7978 GB, free: 42.43 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003792/0.9054, allocations: 265.3 kB / 0.798 GB, free: 42.27 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006686/0.9061, allocations: 394.2 kB / 0.7984 GB, free: 42.04 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.9061, allocations: 0 / 0.7984 GB, free: 42.04 MB / 0.6544 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0008891/0.907, allocations: 0.5229 MB / 0.7989 GB, free: 41.81 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 4.124e-05/0.907, allocations: 39.27 kB / 0.7989 GB, free: 41.78 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.317e-06/0.907, allocations: 2.078 kB / 0.7989 GB, free: 41.78 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.553e-05/0.9071, allocations: 7 kB / 0.7989 GB, free: 41.77 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003484/0.9074, allocations: 91.75 kB / 0.799 GB, free: 41.77 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.089e-05/0.9074, allocations: 4.859 kB / 0.799 GB, free: 41.77 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003641/0.9078, allocations: 82.19 kB / 0.7991 GB, free: 41.73 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.742e-05/0.9079, allocations: 19.03 kB / 0.7991 GB, free: 41.73 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003167/0.9082, allocations: 266.1 kB / 0.7994 GB, free: 41.57 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002813/0.9085, allocations: 229.7 kB / 0.7996 GB, free: 41.41 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004377/0.9089, allocations: 352.4 kB / 0.7999 GB, free: 41.18 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.435e-06/0.9089, allocations: 5.156 kB / 0.8 GB, free: 41.18 MB / 0.6544 GB Notification: Performance of matching and sorting (n=54) (initialization_lambda0): time 0.0007059/0.9096, allocations: 483.2 kB / 0.8004 GB, free: 40.95 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 3.484e-05/0.9097, allocations: 40.83 kB / 0.8005 GB, free: 40.92 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.9097, allocations: 2.156 kB / 0.8005 GB, free: 40.92 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.143e-06/0.9097, allocations: 3.625 kB / 0.8005 GB, free: 40.92 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002788/0.91, allocations: 69.22 kB / 0.8005 GB, free: 40.92 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.168e-05/0.91, allocations: 12.45 kB / 0.8005 GB, free: 40.91 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003688/0.9104, allocations: 73.17 kB / 0.8006 GB, free: 40.89 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.869e-05/0.9104, allocations: 20.69 kB / 0.8006 GB, free: 40.88 MB / 0.6544 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 (52): * Single equations (assignments): 51 * 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.000159/0.9106, allocations: 207.2 kB / 0.8008 GB, free: 40.69 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.473e-05/0.9107, allocations: 44.72 kB / 0.8009 GB, free: 40.66 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001081/0.9108, allocations: 47.8 kB / 0.8009 GB, free: 40.63 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.255e-05/0.9108, allocations: 7.688 kB / 0.8009 GB, free: 40.62 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.42e-05/0.9108, allocations: 11.52 kB / 0.8009 GB, free: 40.62 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.073e-06/0.9108, allocations: 0.7031 kB / 0.8009 GB, free: 40.62 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001541/0.9124, allocations: 0.9901 MB / 0.8019 GB, free: 40.05 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.945e-06/0.9124, allocations: 4.172 kB / 0.8019 GB, free: 40.05 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000331/0.9127, allocations: 72.98 kB / 0.802 GB, free: 40.05 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.563e-06/0.9128, allocations: 5.875 kB / 0.802 GB, free: 40.05 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.586e-05/0.9128, allocations: 10.19 kB / 0.802 GB, free: 40.04 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.497e-06/0.9128, allocations: 1.281 kB / 0.802 GB, free: 40.04 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.9128, allocations: 1.312 kB / 0.802 GB, free: 40.04 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001083/0.9139, allocations: 0.6297 MB / 0.8026 GB, free: 39.71 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 8.304e-05/0.914, allocations: 124 kB / 0.8027 GB, free: 39.59 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.328e-05/0.9141, allocations: 11.55 kB / 0.8027 GB, free: 39.58 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002054/0.9143, allocations: 20.19 kB / 0.8028 GB, free: 39.57 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.458e-05/0.9143, allocations: 31.31 kB / 0.8028 GB, free: 39.56 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.729e-05/0.9144, allocations: 10.67 kB / 0.8028 GB, free: 39.56 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0003339/0.9147, allocations: 282.3 kB / 0.8031 GB, free: 39.42 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9147, allocations: 5.844 kB / 0.8031 GB, free: 39.42 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0006405/0.9154, allocations: 195.2 kB / 0.8033 GB, free: 39.36 MB / 0.6544 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 (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.0002332/0.9156, allocations: 118.3 kB / 0.8034 GB, free: 39.26 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001438/0.9171, allocations: 0.7282 MB / 0.8041 GB, free: 38.93 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 4.028e-06/0.9171, allocations: 0.5312 kB / 0.8041 GB, free: 38.93 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0003596/0.9174, allocations: 173.2 kB / 0.8042 GB, free: 38.89 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006194/0.9181, allocations: 101.2 kB / 0.8043 GB, free: 38.85 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001613/0.9197, allocations: 0.9078 MB / 0.8052 GB, free: 38.31 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003948/0.9201, allocations: 0.8471 MB / 0.8061 GB, free: 37.61 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001271/0.9202, allocations: 38.19 kB / 0.8061 GB, free: 37.6 MB / 0.6544 GB Notification: Performance of SimCode: time 3.91e-07/0.9202, allocations: 0 / 0.8061 GB, free: 37.6 MB / 0.6544 GB Notification: Performance of Templates: time 0.01298/0.9332, allocations: 5.851 MB / 0.8118 GB, free: 37.14 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale.pipe 2>&1)