Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PID.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.PID,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PID") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.PID,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PID") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001178/0.001178, allocations: 112.6 kB / 16.38 MB, free: 5.543 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.001117/0.001117, allocations: 189 kB / 17.31 MB, free: 5.191 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.694/1.694, allocations: 205.1 MB / 223.2 MB, free: 12.24 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.992/1.992, allocations: 292.3 MB / 0.5496 GB, free: 17.53 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.001501/0.001502, allocations: 71.84 kB / 0.6729 GB, free: 5.801 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.313/0.3145, allocations: 114.5 MB / 0.7848 GB, free: 3.137 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.PID): time 0.5757/0.8903, allocations: 3.597 MB / 0.7883 GB, free: 46.33 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.003725/0.8941, allocations: 2.096 MB / 0.7904 GB, free: 46.29 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005082/0.8946, allocations: 22.81 kB / 0.7904 GB, free: 46.29 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0004431/0.8951, allocations: 166.1 kB / 0.7906 GB, free: 46.29 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0005204/0.8957, allocations: 160.1 kB / 0.7907 GB, free: 46.29 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009095/0.8966, allocations: 494.4 kB / 0.7912 GB, free: 46.29 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.001007/0.8976, allocations: 1.235 MB / 0.7924 GB, free: 46.26 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007522/0.8984, allocations: 0.5723 MB / 0.7929 GB, free: 46.16 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004155/0.8988, allocations: 446.6 kB / 0.7934 GB, free: 45.91 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003876/0.8992, allocations: 483.2 kB / 0.7938 GB, free: 45.64 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0001415/0.8993, allocations: 127.7 kB / 0.794 GB, free: 45.64 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001782/0.8995, allocations: 140.8 kB / 0.7941 GB, free: 45.63 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001576/0.8997, allocations: 245.7 kB / 0.7943 GB, free: 45.46 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0003705/0.9001, allocations: 0.5045 MB / 0.7948 GB, free: 45.1 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.001489/0.9016, allocations: 1.439 MB / 0.7962 GB, free: 44.56 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 7.204e-06/0.9016, allocations: 0 / 0.7962 GB, free: 44.56 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.014e-06/0.9016, allocations: 0 / 0.7962 GB, free: 44.56 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 3.065e-05/0.9016, allocations: 0 / 0.7962 GB, free: 44.56 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: 203 * Number of variables: 203 Notification: Performance of Generate backend data structure: time 0.002732/0.9044, allocations: 1.413 MB / 0.7976 GB, free: 43.64 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 6.813e-05/0.9044, allocations: 10.25 kB / 0.7976 GB, free: 43.64 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002322/0.9047, allocations: 121.7 kB / 0.7977 GB, free: 43.58 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001091/0.9058, allocations: 0.6443 MB / 0.7984 GB, free: 43.16 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.97e-05/0.9059, allocations: 68.62 kB / 0.7984 GB, free: 43.12 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001367/0.906, allocations: 86.97 kB / 0.7985 GB, free: 43.1 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001346/0.9074, allocations: 0.8109 MB / 0.7993 GB, free: 42.74 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.923e-05/0.9074, allocations: 0.9375 kB / 0.7993 GB, free: 42.74 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.086e-05/0.9075, allocations: 46.28 kB / 0.7993 GB, free: 42.71 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.064e-05/0.9075, allocations: 20.47 kB / 0.7994 GB, free: 42.71 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001159/0.9087, allocations: 0.5992 MB / 0.7999 GB, free: 42.52 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005079/0.9138, allocations: 2.786 MB / 0.8027 GB, free: 40.9 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001598/0.9154, allocations: 0.6696 MB / 0.8033 GB, free: 40.66 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006914/0.9161, allocations: 333.4 kB / 0.8036 GB, free: 40.54 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 5.152e-05/0.9162, allocations: 11.97 kB / 0.8036 GB, free: 40.54 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007373/0.9169, allocations: 327.5 kB / 0.804 GB, free: 40.4 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=59): time 3.387e-06/0.9169, allocations: 0 / 0.804 GB, free: 40.4 MB / 0.6544 GB Notification: Performance of matching and sorting (n=59): time 0.002158/0.9191, allocations: 0.7628 MB / 0.8047 GB, free: 40.11 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.476e-05/0.9192, allocations: 193.6 kB / 0.8049 GB, free: 39.89 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001537/0.9207, allocations: 0.7064 MB / 0.8056 GB, free: 39.58 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 9.791e-05/0.9208, allocations: 38.98 kB / 0.8056 GB, free: 39.54 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004275/0.9213, allocations: 461.6 kB / 0.8061 GB, free: 39.18 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002146/0.9215, allocations: 199 kB / 0.8062 GB, free: 39.03 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002791/0.9218, allocations: 135.7 kB / 0.8064 GB, free: 38.96 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001052/0.9219, allocations: 336 kB / 0.8067 GB, free: 38.64 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006543/0.9225, allocations: 261.8 kB / 0.8069 GB, free: 38.55 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008055/0.9234, allocations: 450.1 kB / 0.8074 GB, free: 38.25 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001387/0.9248, allocations: 0.6183 MB / 0.808 GB, free: 37.91 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.754e-06/0.9248, allocations: 1.75 kB / 0.808 GB, free: 37.91 MB / 0.6544 GB Notification: Performance of matching and sorting (n=83) (initialization): time 0.002025/0.9268, allocations: 0.8172 MB / 0.8088 GB, free: 37.57 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 4.922e-05/0.9269, allocations: 39.89 kB / 0.8088 GB, free: 37.54 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.227e-05/0.9269, allocations: 3.812 kB / 0.8088 GB, free: 37.54 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.654e-05/0.9269, allocations: 5.031 kB / 0.8088 GB, free: 37.54 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006289/0.9276, allocations: 143.8 kB / 0.809 GB, free: 37.52 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.749e-05/0.9276, allocations: 6.594 kB / 0.809 GB, free: 37.52 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000688/0.9283, allocations: 134.5 kB / 0.8091 GB, free: 37.47 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.38e-05/0.9284, allocations: 31.86 kB / 0.8091 GB, free: 37.46 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006307/0.929, allocations: 361.2 kB / 0.8095 GB, free: 37.26 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000498/0.9295, allocations: 384 kB / 0.8098 GB, free: 36.97 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000684/0.9302, allocations: 0.5145 MB / 0.8103 GB, free: 36.62 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.727e-06/0.9302, allocations: 1.094 kB / 0.8103 GB, free: 36.62 MB / 0.6544 GB Notification: Performance of matching and sorting (n=83) (initialization_lambda0): time 0.001179/0.9314, allocations: 0.6874 MB / 0.811 GB, free: 36.3 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 3.403e-05/0.9314, allocations: 45.2 kB / 0.8111 GB, free: 36.26 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.294e-06/0.9315, allocations: 7.938 kB / 0.8111 GB, free: 36.25 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.187e-06/0.9315, allocations: 6.125 kB / 0.8111 GB, free: 36.25 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004527/0.9319, allocations: 120.9 kB / 0.8112 GB, free: 36.24 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.373e-05/0.932, allocations: 7.125 kB / 0.8112 GB, free: 36.24 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005565/0.9325, allocations: 108.2 kB / 0.8113 GB, free: 36.2 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.9e-05/0.9326, allocations: 26.19 kB / 0.8113 GB, free: 36.2 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$whenCondition2,noLimPID.con1.y,limPI.con1.y,limPID.con1.y,pulse.booPul.y,$PRE.pulse.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (81): * Single equations (assignments): 80 * 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.0001969/0.9328, allocations: 231.4 kB / 0.8115 GB, free: 35.98 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001039/0.9329, allocations: 85.09 kB / 0.8116 GB, free: 35.93 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001655/0.9331, allocations: 87.73 kB / 0.8117 GB, free: 35.88 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.139e-05/0.9331, allocations: 3.547 kB / 0.8117 GB, free: 35.88 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.9331, allocations: 0 / 0.8117 GB, free: 35.88 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001336/0.9332, allocations: 164 kB / 0.8119 GB, free: 35.72 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.945e-05/0.9333, allocations: 13.14 kB / 0.8119 GB, free: 35.71 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003297/0.9336, allocations: 46.45 kB / 0.8119 GB, free: 35.7 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.693e-05/0.9337, allocations: 32.89 kB / 0.812 GB, free: 35.7 MB / 0.6544 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001466/0.9352, allocations: 0.678 MB / 0.8126 GB, free: 35.41 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001749/0.937, allocations: 1.047 MB / 0.8136 GB, free: 34.88 MB / 0.6544 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005131/0.9375, allocations: 262.4 kB / 0.8139 GB, free: 34.79 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0006564/0.9382, allocations: 0.4945 MB / 0.8144 GB, free: 34.56 MB / 0.6544 GB Notification: Performance of Backend: time 6.51e-07/0.9382, allocations: 0.8438 kB / 0.8144 GB, free: 34.56 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0019/0.9401, allocations: 0.9389 MB / 0.8153 GB, free: 34.1 MB / 0.6544 GB Notification: Performance of SimCode: time 0.002466/0.9426, allocations: 1.854 MB / 0.8171 GB, free: 32.88 MB / 0.6544 GB Notification: Performance of Templates: time 0.03028/0.9729, allocations: 11.76 MB / 0.8286 GB, free: 32.05 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PID.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PID.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PID.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PID.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PID.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PID -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PID.pipe 2>&1)