Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.Utilities.Validation.PIDWithInputGains.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.Utilities.Validation.PIDWithInputGains,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|PID.k|PIDWitInpGai.k|PID.Ti|PIDWitInpGai.Ti|PID.Td|PIDWitInpGai.Td|PID.y|PIDWitInpGai.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.Utilities.Validation.PIDWithInputGains") translateModel(Buildings.Controls.OBC.Utilities.Validation.PIDWithInputGains,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|PID.k|PIDWitInpGai.k|PID.Ti|PIDWitInpGai.Ti|PID.Td|PIDWitInpGai.Td|PID.y|PIDWitInpGai.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.Utilities.Validation.PIDWithInputGains") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001501/0.001501, allocations: 110.3 kB / 16.41 MB, free: 6.441 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.001618/0.001618, allocations: 190.7 kB / 17.35 MB, free: 5.703 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.472/1.472, allocations: 222.9 MB / 241.1 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.7/2.7, allocations: 461.9 MB / 0.7355 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001642/0.001643, allocations: 59.91 kB / 1.055 GB, free: 7.75 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.045/1.047, allocations: 157.4 MB / 1.208 GB, free: 13.64 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.Validation.PIDWithInputGains): time 0.004537/1.051, allocations: 2.78 MB / 1.211 GB, free: 10.86 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.003679/1.055, allocations: 2.113 MB / 1.213 GB, free: 8.73 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007798/1.056, allocations: 19.94 kB / 1.213 GB, free: 8.711 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0005018/1.056, allocations: 118.6 kB / 1.213 GB, free: 8.594 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0006234/1.057, allocations: 126.8 kB / 1.213 GB, free: 8.469 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.002175/1.059, allocations: 0.7688 MB / 1.214 GB, free: 7.715 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.002177/1.061, allocations: 1.297 MB / 1.215 GB, free: 6.41 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001063/1.062, allocations: 499.7 kB / 1.216 GB, free: 5.898 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008278/1.063, allocations: 474.5 kB / 1.216 GB, free: 5.434 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008879/1.064, allocations: 497.7 kB / 1.217 GB, free: 4.945 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0003912/1.064, allocations: 136 kB / 1.217 GB, free: 4.812 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000378/1.065, allocations: 152 kB / 1.217 GB, free: 4.664 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0002422/1.065, allocations: 211.2 kB / 1.217 GB, free: 4.457 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0008105/1.066, allocations: 0.4976 MB / 1.218 GB, free: 3.957 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.002057/1.068, allocations: 1.403 MB / 1.219 GB, free: 2.555 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/1.068, allocations: 0 / 1.219 GB, free: 2.555 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.164e-06/1.068, allocations: 0 / 1.219 GB, free: 2.555 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 3.953e-05/1.068, allocations: 0 / 1.219 GB, free: 2.555 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: 169 * Number of variables: 169 Notification: Performance of Generate backend data structure: time 0.003094/1.071, allocations: 1.332 MB / 1.22 GB, free: 1.137 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.456e-05/1.071, allocations: 8.031 kB / 1.22 GB, free: 1.129 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000302/1.071, allocations: 107.8 kB / 1.221 GB, free: 1.023 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0011/1.073, allocations: 0.56 MB / 1.221 GB, free: 436 kB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.406e-05/1.073, allocations: 62.38 kB / 1.221 GB, free: 372 kB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001789/1.073, allocations: 96.36 kB / 1.221 GB, free: 276 kB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001415/1.074, allocations: 0.6651 MB / 1.222 GB, free: 15.59 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.784e-05/1.074, allocations: 4.188 kB / 1.222 GB, free: 15.58 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.486e-05/1.074, allocations: 27.94 kB / 1.222 GB, free: 15.55 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.828e-05/1.074, allocations: 16 kB / 1.222 GB, free: 15.54 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00103/1.075, allocations: 485 kB / 1.222 GB, free: 15.06 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003542/1.079, allocations: 2.188 MB / 1.225 GB, free: 12.82 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00104/1.08, allocations: 0.5337 MB / 1.225 GB, free: 12.27 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004545/1.081, allocations: 286.4 kB / 1.225 GB, free: 11.99 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 3.881e-05/1.081, allocations: 8.547 kB / 1.225 GB, free: 11.98 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006762/1.081, allocations: 370.9 kB / 1.226 GB, free: 11.61 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=68): time 4.008e-06/1.081, allocations: 0 / 1.226 GB, free: 11.61 MB / 0.9512 GB Notification: Performance of matching and sorting (n=68): time 0.001521/1.083, allocations: 0.7481 MB / 1.226 GB, free: 10.86 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.995e-05/1.083, allocations: 115.4 kB / 1.227 GB, free: 10.72 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000696/1.084, allocations: 0.5378 MB / 1.227 GB, free: 10.17 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 0.0001197/1.084, allocations: 57.69 kB / 1.227 GB, free: 10.11 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003233/1.084, allocations: 332.6 kB / 1.227 GB, free: 9.781 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.000191/1.084, allocations: 217 kB / 1.228 GB, free: 9.566 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003367/1.085, allocations: 182.2 kB / 1.228 GB, free: 9.383 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001962/1.085, allocations: 374.8 kB / 1.228 GB, free: 9.008 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007901/1.086, allocations: 347.7 kB / 1.229 GB, free: 8.668 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008704/1.086, allocations: 482.7 kB / 1.229 GB, free: 8.141 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001276/1.088, allocations: 0.7418 MB / 1.23 GB, free: 7.336 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.871e-06/1.088, allocations: 0 / 1.23 GB, free: 7.336 MB / 0.9512 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.00213/1.09, allocations: 1.09 MB / 1.231 GB, free: 6.211 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001176/1.09, allocations: 176.5 kB / 1.231 GB, free: 6.008 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.046e-05/1.09, allocations: 0 / 1.231 GB, free: 6.008 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.397e-05/1.09, allocations: 8 kB / 1.231 GB, free: 6 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00044/1.091, allocations: 103.8 kB / 1.231 GB, free: 5.898 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.154e-05/1.091, allocations: 11.94 kB / 1.231 GB, free: 5.887 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001098/1.092, allocations: 207.1 kB / 1.231 GB, free: 5.684 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.867e-05/1.092, allocations: 47.95 kB / 1.231 GB, free: 5.637 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008429/1.093, allocations: 473.7 kB / 1.232 GB, free: 5.168 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007362/1.093, allocations: 450.8 kB / 1.232 GB, free: 4.68 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001063/1.094, allocations: 0.7066 MB / 1.233 GB, free: 3.902 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.878e-06/1.094, allocations: 0 / 1.233 GB, free: 3.902 MB / 0.9512 GB Notification: Performance of matching and sorting (n=91) (initialization_lambda0): time 0.001906/1.096, allocations: 1.051 MB / 1.234 GB, free: 2.812 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001264/1.097, allocations: 170.4 kB / 1.234 GB, free: 2.617 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.76e-06/1.097, allocations: 4.312 kB / 1.234 GB, free: 2.613 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.331e-05/1.097, allocations: 8 kB / 1.234 GB, free: 2.605 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003777/1.097, allocations: 95.83 kB / 1.234 GB, free: 2.512 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.183e-05/1.097, allocations: 4 kB / 1.234 GB, free: 2.508 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001099/1.098, allocations: 195.4 kB / 1.234 GB, free: 2.316 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.694e-05/1.098, allocations: 55.84 kB / 1.234 GB, free: 2.262 MB / 0.9512 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 27 (resSig.y,$PRE.resSig.y,$whenCondition11,$whenCondition9,$whenCondition10,$whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,or2.y,greThr.y,lesThr.lesHys.y,$PRE.lesThr.lesHys.y,Td.booPul.y,$PRE.Td.booPul.y,Ti.booPul.y,$PRE.Ti.booPul.y,k.booPul.y,$PRE.k.booPul.y,PIDWitInpGai.greThrkTd.greHys.y,$PRE.PIDWitInpGai.greThrkTd.greHys.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): 76 * Array equations: 0 * Algorithm blocks: 5 * 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.0003209/1.099, allocations: 242.3 kB / 1.235 GB, free: 2.016 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001234/1.099, allocations: 63.25 kB / 1.235 GB, free: 1.953 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001204/1.1, allocations: 0.5953 MB / 1.235 GB, free: 1.344 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.908e-06/1.1, allocations: 3.984 kB / 1.235 GB, free: 1.34 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.494e-06/1.1, allocations: 0 / 1.235 GB, free: 1.34 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001501/1.1, allocations: 152.2 kB / 1.235 GB, free: 1.172 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.39e-05/1.1, allocations: 12 kB / 1.235 GB, free: 1.16 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003023/1.1, allocations: 39.95 kB / 1.236 GB, free: 1.121 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001193/1.101, allocations: 60.48 kB / 1.236 GB, free: 1.062 MB / 0.9512 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001354/1.102, allocations: 0.6783 MB / 1.236 GB, free: 388 kB / 0.9512 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001655/1.104, allocations: 1.021 MB / 1.237 GB, free: 15.34 MB / 0.9669 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004696/1.104, allocations: 280.4 kB / 1.237 GB, free: 15.07 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.000457/1.105, allocations: 374.8 kB / 1.238 GB, free: 14.7 MB / 0.9669 GB Notification: Performance of Backend: time 6.41e-07/1.105, allocations: 0 / 1.238 GB, free: 14.7 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.002837/1.107, allocations: 1.723 MB / 1.24 GB, free: 12.86 MB / 0.9669 GB Notification: Performance of SimCode: time 0.00235/1.11, allocations: 1.595 MB / 1.241 GB, free: 11.21 MB / 0.9669 GB Notification: Performance of Templates: time 0.02676/1.137, allocations: 15.63 MB / 1.256 GB, free: 11.71 MB / 0.9825 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.Utilities.Validation.PIDWithInputGains.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.Utilities.Validation.PIDWithInputGains.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.Utilities.Validation.PIDWithInputGains.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.Utilities.Validation.PIDWithInputGains.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.Utilities.Validation.PIDWithInputGains.sim & ./Buildings_latest_Buildings.Controls.OBC.Utilities.Validation.PIDWithInputGains -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.Utilities.Validation.PIDWithInputGains.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.Utilities.Validation.PIDWithInputGains_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_Utilities_Validation_PIDWithInputGains.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.Utilities.Validation.PIDWithInputGains.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches