Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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="mat",numberOfIntervals=5000,variableFilter="time|limPID.u_s|limPID.u_m|limPID.y|noLimPID.y|limP.y|limPI.y|limPD.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PID") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.PID,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|limPID.u_s|limPID.u_m|limPID.y|noLimPID.y|limP.y|limPI.y|limPD.y",fileNamePrefix="Buildings_9_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.00141/0.00141, allocations: 108.3 kB / 16.41 MB, free: 6.492 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.001236/0.001236, allocations: 185.5 kB / 17.34 MB, free: 5.762 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.439/1.439, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.306/2.306, allocations: 390.3 MB / 0.6655 GB, free: 0.6602 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001365/0.001365, allocations: 63.91 kB / 0.9516 GB, free: 7.605 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8306/0.832, allocations: 140.4 MB / 1.089 GB, free: 5.523 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.PID): time 0.004433/0.8365, allocations: 3.618 MB / 1.092 GB, free: 2.867 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.003844/0.8404, allocations: 2.125 MB / 1.094 GB, free: 1.262 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009382/0.8413, allocations: 24.84 kB / 1.094 GB, free: 1.254 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.000502/0.8418, allocations: 176.3 kB / 1.094 GB, free: 1.125 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0004988/0.8424, allocations: 146.3 kB / 1.095 GB, free: 1.012 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001359/0.8438, allocations: 0.502 MB / 1.095 GB, free: 0.7031 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.00161/0.8454, allocations: 1.263 MB / 1.096 GB, free: 44 kB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001072/0.8465, allocations: 0.5916 MB / 1.097 GB, free: 15.71 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006881/0.8472, allocations: 444.9 kB / 1.097 GB, free: 15.46 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006453/0.8478, allocations: 487.1 kB / 1.098 GB, free: 15.17 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0002365/0.8481, allocations: 129.3 kB / 1.098 GB, free: 15.17 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003022/0.8484, allocations: 147.6 kB / 1.098 GB, free: 15.16 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0002232/0.8486, allocations: 256 kB / 1.098 GB, free: 14.98 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0005032/0.8491, allocations: 0.5017 MB / 1.099 GB, free: 14.61 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.00181/0.8509, allocations: 1.437 MB / 1.1 GB, free: 14 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 5.05e-06/0.8509, allocations: 0 / 1.1 GB, free: 14 MB / 0.8731 GB Notification: Performance of FrontEnd: time 2.745e-06/0.851, allocations: 0.9688 kB / 1.1 GB, free: 14 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 4.077e-05/0.851, allocations: 0 / 1.1 GB, free: 14 MB / 0.8731 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 218 * Number of variables: 218 Notification: Performance of Generate backend data structure: time 0.002884/0.8539, allocations: 1.365 MB / 1.102 GB, free: 13.09 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.081e-05/0.8539, allocations: 8.75 kB / 1.102 GB, free: 13.09 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002499/0.8542, allocations: 119.6 kB / 1.102 GB, free: 13.04 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001019/0.8552, allocations: 0.602 MB / 1.102 GB, free: 12.59 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.021e-05/0.8553, allocations: 73.44 kB / 1.102 GB, free: 12.56 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001521/0.8555, allocations: 95.45 kB / 1.102 GB, free: 12.53 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001777/0.8573, allocations: 0.8565 MB / 1.103 GB, free: 12.15 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.948e-05/0.8573, allocations: 5.219 kB / 1.103 GB, free: 12.15 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.662e-05/0.8574, allocations: 40.22 kB / 1.103 GB, free: 12.12 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.475e-05/0.8574, allocations: 21.38 kB / 1.103 GB, free: 12.12 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001502/0.8589, allocations: 0.6383 MB / 1.104 GB, free: 11.9 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005264/0.8642, allocations: 2.959 MB / 1.107 GB, free: 10.12 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001542/0.8658, allocations: 0.6851 MB / 1.107 GB, free: 9.867 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000688/0.8665, allocations: 378.2 kB / 1.108 GB, free: 9.73 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 4.529e-05/0.8665, allocations: 8.891 kB / 1.108 GB, free: 9.727 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007671/0.8673, allocations: 343 kB / 1.108 GB, free: 9.582 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=68): time 3.096e-06/0.8673, allocations: 1.031 kB / 1.108 GB, free: 9.582 MB / 0.8731 GB Notification: Performance of matching and sorting (n=68): time 0.00201/0.8693, allocations: 0.8333 MB / 1.109 GB, free: 9.266 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001174/0.8695, allocations: 198.7 kB / 1.109 GB, free: 9.039 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00103/0.8705, allocations: 0.6737 MB / 1.11 GB, free: 8.742 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 0.0001053/0.8706, allocations: 39.73 kB / 1.11 GB, free: 8.703 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003861/0.871, allocations: 431.4 kB / 1.11 GB, free: 8.367 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002192/0.8712, allocations: 231.8 kB / 1.111 GB, free: 8.184 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000247/0.8715, allocations: 141.9 kB / 1.111 GB, free: 8.117 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001438/0.8716, allocations: 337.7 kB / 1.111 GB, free: 7.797 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007094/0.8724, allocations: 301.3 kB / 1.111 GB, free: 7.684 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008428/0.8732, allocations: 482.8 kB / 1.112 GB, free: 7.367 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001343/0.8746, allocations: 0.678 MB / 1.112 GB, free: 6.98 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.03e-06/0.8746, allocations: 1.375 kB / 1.112 GB, free: 6.98 MB / 0.8731 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.002173/0.8768, allocations: 0.8774 MB / 1.113 GB, free: 6.605 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 4.698e-05/0.8768, allocations: 38.11 kB / 1.113 GB, free: 6.574 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.299e-05/0.8768, allocations: 3.844 kB / 1.113 GB, free: 6.574 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.628e-05/0.8769, allocations: 5.625 kB / 1.113 GB, free: 6.574 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006548/0.8775, allocations: 167.1 kB / 1.113 GB, free: 6.555 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.231e-05/0.8776, allocations: 10.38 kB / 1.113 GB, free: 6.551 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007914/0.8784, allocations: 139.9 kB / 1.114 GB, free: 6.496 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.718e-05/0.8785, allocations: 38.14 kB / 1.114 GB, free: 6.484 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007943/0.8793, allocations: 399.1 kB / 1.114 GB, free: 6.258 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006591/0.8799, allocations: 417.5 kB / 1.114 GB, free: 5.957 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000934/0.8809, allocations: 0.5679 MB / 1.115 GB, free: 5.59 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.1e-06/0.8809, allocations: 1.531 kB / 1.115 GB, free: 5.59 MB / 0.8731 GB Notification: Performance of matching and sorting (n=92) (initialization_lambda0): time 0.001566/0.8825, allocations: 0.7577 MB / 1.116 GB, free: 5.234 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 4.269e-05/0.8825, allocations: 44.28 kB / 1.116 GB, free: 5.195 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.028e-05/0.8825, allocations: 3.344 kB / 1.116 GB, free: 5.195 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.458e-05/0.8825, allocations: 11.34 kB / 1.116 GB, free: 5.191 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005465/0.8831, allocations: 137.3 kB / 1.116 GB, free: 5.176 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.896e-05/0.8831, allocations: 11.47 kB / 1.116 GB, free: 5.172 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007102/0.8838, allocations: 107.1 kB / 1.116 GB, free: 5.137 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.207e-05/0.8839, allocations: 27.47 kB / 1.116 GB, free: 5.133 MB / 0.8731 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 (90): * Single equations (assignments): 89 * 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.000297/0.8842, allocations: 236.4 kB / 1.116 GB, free: 4.91 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001864/0.8844, allocations: 80.11 kB / 1.116 GB, free: 4.867 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001533/0.886, allocations: 0.6555 MB / 1.117 GB, free: 4.59 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.588e-06/0.886, allocations: 5.656 kB / 1.117 GB, free: 4.59 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.795e-06/0.886, allocations: 1.188 kB / 1.117 GB, free: 4.59 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.397e-05/0.886, allocations: 3.328 kB / 1.117 GB, free: 4.59 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003253/0.8893, allocations: 1.67 MB / 1.119 GB, free: 3.684 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.707e-06/0.8893, allocations: 6.812 kB / 1.119 GB, free: 3.68 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005535/0.8899, allocations: 129.9 kB / 1.119 GB, free: 3.668 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.121e-05/0.8899, allocations: 4.469 kB / 1.119 GB, free: 3.668 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.405e-05/0.8899, allocations: 17.64 kB / 1.119 GB, free: 3.66 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.886e-06/0.89, allocations: 4.688 kB / 1.119 GB, free: 3.66 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.401e-06/0.89, allocations: 4.688 kB / 1.119 GB, free: 3.66 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002147/0.8921, allocations: 1.09 MB / 1.12 GB, free: 3.09 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002641/0.8924, allocations: 175.2 kB / 1.12 GB, free: 2.93 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001279/0.8925, allocations: 19.41 kB / 1.12 GB, free: 2.918 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004443/0.893, allocations: 45.16 kB / 1.12 GB, free: 2.91 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.3e-05/0.8931, allocations: 51.14 kB / 1.12 GB, free: 2.895 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.629e-05/0.8931, allocations: 24.23 kB / 1.12 GB, free: 2.891 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0007555/0.8939, allocations: 482.3 kB / 1.121 GB, free: 2.68 MB / 0.8731 GB Notification: Performance of sort global known variables: time 2.2e-07/0.8939, allocations: 0 / 1.121 GB, free: 2.68 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.001155/0.8951, allocations: 319.5 kB / 1.121 GB, free: 2.586 MB / 0.8731 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 (68): * Single equations (assignments): 67 * 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.0002802/0.8954, allocations: 131.5 kB / 1.121 GB, free: 2.48 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.002492/0.8979, allocations: 1.149 MB / 1.122 GB, free: 1.996 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 6.402e-06/0.8979, allocations: 1.875 kB / 1.122 GB, free: 1.996 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0006466/0.8985, allocations: 320.7 kB / 1.122 GB, free: 1.891 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001097/0.8996, allocations: 186.9 kB / 1.123 GB, free: 1.816 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00291/0.9026, allocations: 1.513 MB / 1.124 GB, free: 0.9336 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007482/0.9033, allocations: 0.9797 MB / 1.125 GB, free: 216 kB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002887/0.9036, allocations: 70.02 kB / 1.125 GB, free: 204 kB / 0.8731 GB Notification: Performance of SimCode: time 1.012e-06/0.9036, allocations: 4 kB / 1.125 GB, free: 200 kB / 0.8731 GB Notification: Performance of Templates: time 0.02235/0.926, allocations: 10.19 MB / 1.135 GB, free: 15.04 MB / 0.8887 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PID.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PID.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PID.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PID.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PID.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PID -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PID.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PID_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_PID.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PID.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches