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.001097/0.001098, allocations: 102.8 kB / 16.37 MB, free: 6.449 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.001042/0.001043, allocations: 189.6 kB / 17.31 MB, free: 5.816 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.35/1.35, allocations: 205.1 MB / 223.2 MB, free: 12.26 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.751/1.751, allocations: 292.3 MB / 0.5496 GB, free: 17.64 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.00142/0.00142, allocations: 76.22 kB / 0.6729 GB, free: 5.77 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2276/0.229, allocations: 114.5 MB / 0.7848 GB, free: 3.105 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.PID): time 0.3636/0.5927, allocations: 3.602 MB / 0.7883 GB, free: 46.48 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.00286/0.5956, allocations: 2.094 MB / 0.7904 GB, free: 46.44 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003782/0.596, allocations: 20.62 kB / 0.7904 GB, free: 46.44 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0003733/0.5965, allocations: 170.1 kB / 0.7906 GB, free: 46.44 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0004528/0.5969, allocations: 157.6 kB / 0.7907 GB, free: 46.44 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008136/0.5978, allocations: 497.8 kB / 0.7912 GB, free: 46.43 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0009004/0.5987, allocations: 1.244 MB / 0.7924 GB, free: 46.41 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006947/0.5994, allocations: 0.5596 MB / 0.7929 GB, free: 46.25 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003923/0.5998, allocations: 441.7 kB / 0.7934 GB, free: 46 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003347/0.6001, allocations: 490 kB / 0.7938 GB, free: 45.73 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0001284/0.6002, allocations: 127.8 kB / 0.7939 GB, free: 45.73 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000163/0.6004, allocations: 139 kB / 0.7941 GB, free: 45.73 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001334/0.6006, allocations: 253.3 kB / 0.7943 GB, free: 45.55 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0002773/0.6008, allocations: 0.4968 MB / 0.7948 GB, free: 45.19 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0009164/0.6018, allocations: 1.442 MB / 0.7962 GB, free: 44.65 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.6018, allocations: 0 / 0.7962 GB, free: 44.65 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.793e-06/0.6018, allocations: 3.438 kB / 0.7962 GB, free: 44.65 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 2.351e-05/0.6018, allocations: 0 / 0.7962 GB, free: 44.65 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.002112/0.6039, allocations: 1.405 MB / 0.7976 GB, free: 43.74 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.484e-05/0.604, allocations: 6.438 kB / 0.7976 GB, free: 43.74 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001523/0.6041, allocations: 121 kB / 0.7977 GB, free: 43.68 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007813/0.6049, allocations: 0.6541 MB / 0.7984 GB, free: 43.26 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.49e-05/0.605, allocations: 65.22 kB / 0.7984 GB, free: 43.23 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.621e-05/0.6051, allocations: 90.56 kB / 0.7985 GB, free: 43.2 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001225/0.6063, allocations: 0.8145 MB / 0.7993 GB, free: 42.84 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.092e-05/0.6063, allocations: 5.656 kB / 0.7993 GB, free: 42.84 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.192e-05/0.6064, allocations: 37.78 kB / 0.7993 GB, free: 42.81 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.532e-05/0.6064, allocations: 23.33 kB / 0.7994 GB, free: 42.81 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001112/0.6075, allocations: 0.6047 MB / 0.7999 GB, free: 42.61 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003744/0.6113, allocations: 2.782 MB / 0.8027 GB, free: 41 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001324/0.6126, allocations: 0.6589 MB / 0.8033 GB, free: 40.76 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005673/0.6132, allocations: 340.5 kB / 0.8036 GB, free: 40.64 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 3.961e-05/0.6133, allocations: 12.11 kB / 0.8036 GB, free: 40.64 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006315/0.6139, allocations: 320.5 kB / 0.804 GB, free: 40.5 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=59): time 2.635e-06/0.6139, allocations: 1.094 kB / 0.804 GB, free: 40.5 MB / 0.6544 GB Notification: Performance of matching and sorting (n=59): time 0.001644/0.6156, allocations: 0.7608 MB / 0.8047 GB, free: 40.21 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.471e-05/0.6157, allocations: 187.4 kB / 0.8049 GB, free: 39.99 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008938/0.6166, allocations: 0.7091 MB / 0.8056 GB, free: 39.68 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 6.106e-05/0.6166, allocations: 45.02 kB / 0.8056 GB, free: 39.64 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002784/0.6169, allocations: 459.7 kB / 0.806 GB, free: 39.28 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001186/0.617, allocations: 199.8 kB / 0.8062 GB, free: 39.13 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002153/0.6173, allocations: 139.6 kB / 0.8064 GB, free: 39.06 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 6.967e-05/0.6173, allocations: 336.7 kB / 0.8067 GB, free: 38.74 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005625/0.6179, allocations: 260.9 kB / 0.8069 GB, free: 38.65 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006737/0.6186, allocations: 452.7 kB / 0.8074 GB, free: 38.35 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001079/0.6197, allocations: 0.6196 MB / 0.808 GB, free: 38 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.478e-06/0.6197, allocations: 0 / 0.808 GB, free: 38 MB / 0.6544 GB Notification: Performance of matching and sorting (n=83) (initialization): time 0.00152/0.6212, allocations: 0.8111 MB / 0.8088 GB, free: 37.65 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 3.751e-05/0.6213, allocations: 43.56 kB / 0.8088 GB, free: 37.61 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.418e-06/0.6213, allocations: 4.75 kB / 0.8088 GB, free: 37.61 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.106e-05/0.6213, allocations: 4.969 kB / 0.8088 GB, free: 37.61 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005694/0.6219, allocations: 143.8 kB / 0.809 GB, free: 37.6 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.373e-05/0.6219, allocations: 10.8 kB / 0.809 GB, free: 37.6 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006092/0.6225, allocations: 131.3 kB / 0.8091 GB, free: 37.55 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.35e-05/0.6226, allocations: 28.3 kB / 0.8091 GB, free: 37.54 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005461/0.6231, allocations: 365.1 kB / 0.8095 GB, free: 37.33 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004082/0.6236, allocations: 380.1 kB / 0.8098 GB, free: 37.05 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006061/0.6242, allocations: 0.5151 MB / 0.8103 GB, free: 36.7 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.525e-06/0.6242, allocations: 0 / 0.8103 GB, free: 36.7 MB / 0.6544 GB Notification: Performance of matching and sorting (n=83) (initialization_lambda0): time 0.001007/0.6252, allocations: 0.6964 MB / 0.811 GB, free: 36.37 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.893e-05/0.6252, allocations: 36.3 kB / 0.811 GB, free: 36.34 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.902e-06/0.6252, allocations: 7.438 kB / 0.8111 GB, free: 36.33 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.024e-05/0.6253, allocations: 9.625 kB / 0.8111 GB, free: 36.33 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004362/0.6257, allocations: 122.6 kB / 0.8112 GB, free: 36.32 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.071e-05/0.6257, allocations: 6.094 kB / 0.8112 GB, free: 36.32 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005488/0.6263, allocations: 104.3 kB / 0.8113 GB, free: 36.28 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.873e-05/0.6263, allocations: 27.64 kB / 0.8113 GB, free: 36.28 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.0002015/0.6265, allocations: 231.3 kB / 0.8115 GB, free: 36.06 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.458e-05/0.6266, allocations: 85.48 kB / 0.8116 GB, free: 36.01 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001586/0.6268, allocations: 89.38 kB / 0.8117 GB, free: 35.95 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.961e-06/0.6268, allocations: 5.938 kB / 0.8117 GB, free: 35.95 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.22e-05/0.6268, allocations: 0 / 0.8117 GB, free: 35.95 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.388e-06/0.6268, allocations: 3.375 kB / 0.8117 GB, free: 35.95 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008889/0.6277, allocations: 0.7733 MB / 0.8125 GB, free: 35.54 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.957e-06/0.6278, allocations: 1.5 kB / 0.8125 GB, free: 35.54 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004883/0.6282, allocations: 114.7 kB / 0.8126 GB, free: 35.53 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.873e-06/0.6283, allocations: 2.797 kB / 0.8126 GB, free: 35.53 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.346e-05/0.6283, allocations: 17.64 kB / 0.8126 GB, free: 35.52 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.909e-06/0.6283, allocations: 3.359 kB / 0.8126 GB, free: 35.52 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.6283, allocations: 0 / 0.8126 GB, free: 35.52 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001571/0.6299, allocations: 0.886 MB / 0.8135 GB, free: 35.13 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001115/0.63, allocations: 167.5 kB / 0.8136 GB, free: 34.97 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.503e-05/0.6301, allocations: 15.92 kB / 0.8136 GB, free: 34.96 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000314/0.6304, allocations: 44.91 kB / 0.8137 GB, free: 34.95 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.822e-05/0.6305, allocations: 32.09 kB / 0.8137 GB, free: 34.95 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.275e-05/0.6305, allocations: 19.06 kB / 0.8137 GB, free: 34.95 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0005557/0.6311, allocations: 499.2 kB / 0.8142 GB, free: 34.73 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6311, allocations: 1.469 kB / 0.8142 GB, free: 34.73 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.000787/0.6319, allocations: 302.3 kB / 0.8145 GB, free: 34.64 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (limPID.I.y,limPID.D.x,limPI.I.y,limPD.D.x,noLimPID.I.y,noLimPID.D.x) * Number of discrete variables: 3 ($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 (59): * Single equations (assignments): 58 * 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.0001797/0.6321, allocations: 130.7 kB / 0.8146 GB, free: 34.54 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.00173/0.6338, allocations: 1.033 MB / 0.8156 GB, free: 34.1 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 4.258e-06/0.6338, allocations: 1.188 kB / 0.8156 GB, free: 34.1 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0005236/0.6344, allocations: 274.7 kB / 0.8159 GB, free: 34.02 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007934/0.6352, allocations: 188.3 kB / 0.8161 GB, free: 33.95 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002318/0.6375, allocations: 1.45 MB / 0.8175 GB, free: 33.16 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000473/0.638, allocations: 0.978 MB / 0.8184 GB, free: 32.44 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002114/0.6382, allocations: 68.53 kB / 0.8185 GB, free: 32.43 MB / 0.6544 GB Notification: Performance of SimCode: time 5.51e-07/0.6382, allocations: 0 / 0.8185 GB, free: 32.43 MB / 0.6544 GB Notification: Performance of Templates: time 0.02126/0.6595, allocations: 10.16 MB / 0.8284 GB, free: 31.5 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)