Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.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_10_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_10_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.00118/0.00118, allocations: 110.4 kB / 16.42 MB, free: 6.508 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.001876/0.001876, allocations: 185.5 kB / 17.35 MB, free: 5.738 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.433/1.433, 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 10.1.1-maint.10.0.x/package.mo): time 2.585/2.585, allocations: 437 MB / 0.7112 GB, free: 4.336 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001589/0.00159, allocations: 63.91 kB / 1.019 GB, free: 9.426 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.101/1.103, allocations: 151.6 MB / 1.167 GB, free: 3.992 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.Validation.PIDWithInputGains): time 0.004569/1.108, allocations: 2.784 MB / 1.17 GB, free: 1.199 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.003868/1.111, allocations: 2.11 MB / 1.172 GB, free: 15.07 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007559/1.112, allocations: 19.94 kB / 1.172 GB, free: 15.05 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0005249/1.113, allocations: 122.5 kB / 1.172 GB, free: 14.93 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.0006033/1.113, allocations: 146.8 kB / 1.172 GB, free: 14.79 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.001976/1.115, allocations: 0.7649 MB / 1.173 GB, free: 14.04 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.001708/1.117, allocations: 1.301 MB / 1.174 GB, free: 12.73 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009475/1.118, allocations: 495.7 kB / 1.175 GB, free: 12.23 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007351/1.119, allocations: 478.4 kB / 1.175 GB, free: 11.76 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007618/1.12, allocations: 497.8 kB / 1.176 GB, free: 11.27 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.000347/1.12, allocations: 132 kB / 1.176 GB, free: 11.14 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003283/1.12, allocations: 152 kB / 1.176 GB, free: 10.99 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0002659/1.121, allocations: 207.2 kB / 1.176 GB, free: 10.79 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0006265/1.121, allocations: 0.4976 MB / 1.177 GB, free: 10.29 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.001376/1.123, allocations: 1.403 MB / 1.178 GB, free: 8.887 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/1.123, allocations: 0 / 1.178 GB, free: 8.887 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.433e-06/1.123, allocations: 0 / 1.178 GB, free: 8.887 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 4.41e-05/1.123, allocations: 4 kB / 1.178 GB, free: 8.883 MB / 0.9044 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.002894/1.126, allocations: 1.32 MB / 1.179 GB, free: 7.477 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.983e-05/1.126, allocations: 20.81 kB / 1.179 GB, free: 7.457 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002185/1.126, allocations: 107.8 kB / 1.179 GB, free: 7.352 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008226/1.127, allocations: 0.56 MB / 1.18 GB, free: 6.75 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.006e-05/1.127, allocations: 78.3 kB / 1.18 GB, free: 6.676 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001321/1.127, allocations: 84.38 kB / 1.18 GB, free: 6.594 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001085/1.128, allocations: 0.6651 MB / 1.181 GB, free: 5.91 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.884e-05/1.128, allocations: 192 / 1.181 GB, free: 5.91 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.349e-05/1.128, allocations: 35.92 kB / 1.181 GB, free: 5.875 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.469e-05/1.128, allocations: 16 kB / 1.181 GB, free: 5.859 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008653/1.129, allocations: 477 kB / 1.181 GB, free: 5.391 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003197/1.132, allocations: 2.188 MB / 1.183 GB, free: 3.137 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001015/1.133, allocations: 0.5372 MB / 1.184 GB, free: 2.586 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004544/1.134, allocations: 279.6 kB / 1.184 GB, free: 2.312 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 3.821e-05/1.134, allocations: 8.562 kB / 1.184 GB, free: 2.305 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006046/1.134, allocations: 370.8 kB / 1.185 GB, free: 1.934 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=68): time 2.535e-06/1.134, allocations: 0 / 1.185 GB, free: 1.934 MB / 0.9044 GB Notification: Performance of matching and sorting (n=68): time 0.001424/1.136, allocations: 0.7521 MB / 1.185 GB, free: 1.172 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.557e-05/1.136, allocations: 115.4 kB / 1.185 GB, free: 1.035 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006171/1.136, allocations: 0.5339 MB / 1.186 GB, free: 0.4922 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 0.0001009/1.137, allocations: 57.7 kB / 1.186 GB, free: 440 kB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002799/1.137, allocations: 340.6 kB / 1.186 GB, free: 92 kB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001707/1.137, allocations: 209 kB / 1.187 GB, free: 15.88 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003023/1.137, allocations: 178.3 kB / 1.187 GB, free: 15.7 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001607/1.138, allocations: 382.8 kB / 1.187 GB, free: 15.32 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006711/1.138, allocations: 343.7 kB / 1.187 GB, free: 14.98 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007444/1.139, allocations: 482.7 kB / 1.188 GB, free: 14.46 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00108/1.14, allocations: 0.7496 MB / 1.189 GB, free: 13.65 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.779e-06/1.14, allocations: 7.938 kB / 1.189 GB, free: 13.64 MB / 0.92 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.002731/1.143, allocations: 1.09 MB / 1.19 GB, free: 12.52 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001821/1.143, allocations: 164.5 kB / 1.19 GB, free: 12.32 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.606e-05/1.143, allocations: 4 kB / 1.19 GB, free: 12.32 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.722e-05/1.143, allocations: 4 kB / 1.19 GB, free: 12.32 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006882/1.144, allocations: 111.8 kB / 1.19 GB, free: 12.21 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.84e-05/1.144, allocations: 4 kB / 1.19 GB, free: 12.2 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001594/1.145, allocations: 211.1 kB / 1.19 GB, free: 12 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000148/1.146, allocations: 43.97 kB / 1.19 GB, free: 11.95 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001347/1.147, allocations: 469.7 kB / 1.191 GB, free: 11.49 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001086/1.148, allocations: 454.7 kB / 1.191 GB, free: 10.99 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001391/1.149, allocations: 0.7028 MB / 1.192 GB, free: 10.23 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.188e-06/1.149, allocations: 0 / 1.192 GB, free: 10.23 MB / 0.92 GB Notification: Performance of matching and sorting (n=91) (initialization_lambda0): time 0.001895/1.151, allocations: 1.047 MB / 1.193 GB, free: 9.141 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001374/1.152, allocations: 172.8 kB / 1.193 GB, free: 8.941 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.508e-05/1.152, allocations: 15.91 kB / 1.193 GB, free: 8.926 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.244e-05/1.152, allocations: 4 kB / 1.193 GB, free: 8.922 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000369/1.152, allocations: 91.84 kB / 1.193 GB, free: 8.832 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.725e-05/1.152, allocations: 11.94 kB / 1.193 GB, free: 8.82 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001065/1.153, allocations: 191.3 kB / 1.193 GB, free: 8.633 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001009/1.153, allocations: 51.91 kB / 1.193 GB, free: 8.582 MB / 0.92 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.0003235/1.153, allocations: 238.3 kB / 1.194 GB, free: 8.344 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001242/1.154, allocations: 67.23 kB / 1.194 GB, free: 8.277 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001215/1.155, allocations: 0.5953 MB / 1.194 GB, free: 7.668 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.063e-05/1.155, allocations: 3.984 kB / 1.194 GB, free: 7.664 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/1.155, allocations: 0 / 1.194 GB, free: 7.664 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001548/1.155, allocations: 152.2 kB / 1.194 GB, free: 7.496 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.645e-05/1.155, allocations: 16 kB / 1.194 GB, free: 7.48 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003042/1.155, allocations: 43.95 kB / 1.194 GB, free: 7.438 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001311/1.156, allocations: 56.48 kB / 1.194 GB, free: 7.383 MB / 0.92 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00137/1.157, allocations: 0.6705 MB / 1.195 GB, free: 6.703 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00157/1.159, allocations: 1.029 MB / 1.196 GB, free: 5.656 MB / 0.92 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004513/1.159, allocations: 280.4 kB / 1.196 GB, free: 5.387 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0005492/1.16, allocations: 374.8 kB / 1.197 GB, free: 5.023 MB / 0.92 GB Notification: Performance of Backend: time 2e-07/1.16, allocations: 0 / 1.197 GB, free: 5.023 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.002961/1.163, allocations: 1.732 MB / 1.198 GB, free: 3.164 MB / 0.92 GB Notification: Performance of SimCode: time 0.002552/1.165, allocations: 1.591 MB / 1.2 GB, free: 1.523 MB / 0.92 GB Notification: Performance of Templates: time 0.03359/1.199, allocations: 15.64 MB / 1.215 GB, free: 2.023 MB / 0.9356 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.Utilities.Validation.PIDWithInputGains.makefile (rm -f Buildings_10_Buildings.Controls.OBC.Utilities.Validation.PIDWithInputGains.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.Utilities.Validation.PIDWithInputGains.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.Utilities.Validation.PIDWithInputGains.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.Utilities.Validation.PIDWithInputGains.sim & ./Buildings_10_Buildings.Controls.OBC.Utilities.Validation.PIDWithInputGains -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.Utilities.Validation.PIDWithInputGains.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.Utilities.Validation.PIDWithInputGains_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_Utilities_Validation_PIDWithInputGains.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.Utilities.Validation.PIDWithInputGains.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches