Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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.Reals.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_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PID") translateModel(Buildings.Controls.OBC.CDL.Reals.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_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PID") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001657/0.001657, allocations: 108.3 kB / 16.42 MB, free: 6.512 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.002003/0.002003, allocations: 189.5 kB / 17.35 MB, free: 5.734 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.419/1.419, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.65/2.65, allocations: 461.9 MB / 0.7355 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001499/0.001499, allocations: 71.89 kB / 1.055 GB, free: 7.637 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9971/0.9986, allocations: 157.4 MB / 1.208 GB, free: 13.61 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.PID): time 0.005305/1.004, allocations: 3.612 MB / 1.212 GB, free: 9.992 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.004333/1.008, allocations: 2.139 MB / 1.214 GB, free: 7.836 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001152/1.01, allocations: 23.94 kB / 1.214 GB, free: 7.812 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0007426/1.01, allocations: 170.1 kB / 1.214 GB, free: 7.645 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0009465/1.011, allocations: 154.5 kB / 1.214 GB, free: 7.492 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.00169/1.013, allocations: 0.4949 MB / 1.215 GB, free: 7 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.001747/1.015, allocations: 1.26 MB / 1.216 GB, free: 5.734 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009092/1.016, allocations: 0.5916 MB / 1.217 GB, free: 5.121 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004673/1.016, allocations: 446.3 kB / 1.217 GB, free: 4.684 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004868/1.017, allocations: 493.4 kB / 1.218 GB, free: 4.199 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0001582/1.017, allocations: 132 kB / 1.218 GB, free: 4.07 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002145/1.017, allocations: 136 kB / 1.218 GB, free: 3.938 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.000196/1.017, allocations: 251.2 kB / 1.218 GB, free: 3.691 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0004325/1.018, allocations: 0.5128 MB / 1.219 GB, free: 3.176 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.001504/1.019, allocations: 1.426 MB / 1.22 GB, free: 1.75 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/1.019, allocations: 0 / 1.22 GB, free: 1.75 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.034e-06/1.019, allocations: 0 / 1.22 GB, free: 1.75 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.36e-05/1.019, allocations: 0 / 1.22 GB, free: 1.75 MB / 0.9356 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.002576/1.022, allocations: 1.371 MB / 1.221 GB, free: 320 kB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 5.077e-05/1.022, allocations: 12.02 kB / 1.221 GB, free: 308 kB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002116/1.022, allocations: 115.6 kB / 1.221 GB, free: 192 kB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009738/1.023, allocations: 0.6064 MB / 1.222 GB, free: 15.54 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.872e-05/1.023, allocations: 74.38 kB / 1.222 GB, free: 15.46 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001348/1.023, allocations: 88.38 kB / 1.222 GB, free: 15.38 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001494/1.025, allocations: 0.8602 MB / 1.223 GB, free: 14.5 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.961e-05/1.025, allocations: 4.188 kB / 1.223 GB, free: 14.49 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.812e-05/1.025, allocations: 39.94 kB / 1.223 GB, free: 14.45 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.852e-05/1.025, allocations: 20 kB / 1.223 GB, free: 14.43 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001292/1.026, allocations: 0.6402 MB / 1.224 GB, free: 13.79 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004396/1.031, allocations: 2.96 MB / 1.227 GB, free: 10.73 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001595/1.032, allocations: 0.6868 MB / 1.227 GB, free: 10.03 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007187/1.033, allocations: 374.6 kB / 1.228 GB, free: 9.664 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 5.26e-05/1.033, allocations: 8.562 kB / 1.228 GB, free: 9.656 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007812/1.034, allocations: 343 kB / 1.228 GB, free: 9.305 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=68): time 5.099e-06/1.034, allocations: 0 / 1.228 GB, free: 9.305 MB / 0.9512 GB Notification: Performance of matching and sorting (n=68): time 0.001847/1.036, allocations: 0.8376 MB / 1.229 GB, free: 8.461 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001196/1.036, allocations: 188.5 kB / 1.229 GB, free: 8.234 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008662/1.037, allocations: 0.6724 MB / 1.23 GB, free: 7.551 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 7.179e-05/1.037, allocations: 45.7 kB / 1.23 GB, free: 7.5 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004076/1.037, allocations: 432.8 kB / 1.23 GB, free: 7.07 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.000193/1.037, allocations: 232.6 kB / 1.23 GB, free: 6.84 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002253/1.038, allocations: 146.7 kB / 1.23 GB, free: 6.691 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001397/1.038, allocations: 333.9 kB / 1.231 GB, free: 6.359 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006576/1.038, allocations: 292.7 kB / 1.231 GB, free: 6.07 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007825/1.039, allocations: 490.1 kB / 1.232 GB, free: 5.52 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001199/1.04, allocations: 0.677 MB / 1.232 GB, free: 4.801 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.138e-06/1.04, allocations: 0 / 1.232 GB, free: 4.801 MB / 0.9512 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001711/1.042, allocations: 0.8769 MB / 1.233 GB, free: 3.91 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 4.769e-05/1.042, allocations: 41.64 kB / 1.233 GB, free: 3.863 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.179e-05/1.042, allocations: 7.984 kB / 1.233 GB, free: 3.855 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.123e-05/1.042, allocations: 8 kB / 1.233 GB, free: 3.848 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006477/1.043, allocations: 163.7 kB / 1.233 GB, free: 3.688 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.883e-05/1.043, allocations: 8 kB / 1.233 GB, free: 3.68 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006389/1.044, allocations: 143 kB / 1.233 GB, free: 3.539 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.415e-05/1.044, allocations: 27.98 kB / 1.233 GB, free: 3.512 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000661/1.044, allocations: 398 kB / 1.234 GB, free: 3.117 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005653/1.045, allocations: 414.2 kB / 1.234 GB, free: 2.645 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008154/1.046, allocations: 0.5755 MB / 1.235 GB, free: 2.02 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.827e-06/1.046, allocations: 4 kB / 1.235 GB, free: 2.016 MB / 0.9512 GB Notification: Performance of matching and sorting (n=92) (initialization_lambda0): time 0.001255/1.047, allocations: 0.7596 MB / 1.236 GB, free: 1.242 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 3.772e-05/1.047, allocations: 37.7 kB / 1.236 GB, free: 1.199 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.652e-06/1.047, allocations: 4 kB / 1.236 GB, free: 1.195 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.872e-06/1.047, allocations: 4 kB / 1.236 GB, free: 1.191 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004878/1.048, allocations: 135.8 kB / 1.236 GB, free: 1.059 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.254e-05/1.048, allocations: 11.94 kB / 1.236 GB, free: 1.047 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000562/1.048, allocations: 111.6 kB / 1.236 GB, free: 0.9375 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.376e-05/1.048, allocations: 31.98 kB / 1.236 GB, free: 0.9062 MB / 0.9512 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.0002293/1.048, allocations: 234.5 kB / 1.236 GB, free: 0.6719 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.598e-05/1.049, allocations: 78.97 kB / 1.236 GB, free: 0.5938 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001317/1.05, allocations: 0.6554 MB / 1.237 GB, free: 15.92 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.075e-05/1.05, allocations: 3.984 kB / 1.237 GB, free: 15.92 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.973e-06/1.05, allocations: 0 / 1.237 GB, free: 15.92 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001517/1.05, allocations: 163.9 kB / 1.237 GB, free: 15.74 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.078e-05/1.05, allocations: 20 kB / 1.237 GB, free: 15.72 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003179/1.05, allocations: 47.89 kB / 1.237 GB, free: 15.67 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.77e-05/1.051, allocations: 36.52 kB / 1.237 GB, free: 15.64 MB / 0.9669 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001545/1.052, allocations: 0.7368 MB / 1.238 GB, free: 14.9 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001825/1.054, allocations: 1.119 MB / 1.239 GB, free: 13.76 MB / 0.9669 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000501/1.054, allocations: 292.4 kB / 1.239 GB, free: 13.48 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0005777/1.055, allocations: 483 kB / 1.24 GB, free: 13.01 MB / 0.9669 GB Notification: Performance of Backend: time 7.52e-07/1.055, allocations: 0 / 1.24 GB, free: 13.01 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.002251/1.057, allocations: 1.023 MB / 1.241 GB, free: 11.96 MB / 0.9669 GB Notification: Performance of SimCode: time 0.002621/1.06, allocations: 1.842 MB / 1.242 GB, free: 10.07 MB / 0.9669 GB Notification: Performance of Templates: time 0.02079/1.081, allocations: 12.38 MB / 1.254 GB, free: 13.78 MB / 0.9825 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PID.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PID.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PID.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PID.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PID.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PID -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PID.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PID_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_PID.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PID.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches