Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.Utilities.Validation.PIDWithInputGains.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001396/0.001396, allocations: 107.8 kB / 19.71 MB, free: 2.145 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001592/0.001592, allocations: 215.6 kB / 23 MB, free: 4.965 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.498/1.498, allocations: 230.6 MB / 256.8 MB, free: 7.812 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.387/3.387, allocations: 0.49 GB / 0.7959 GB, free: 35.51 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.Utilities.Validation.PIDWithInputGains,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|PID.k|PIDWitInpGai.k|PID.Ti|PIDWitInpGai.Ti|PID.Td|PIDWitInpGai.Td|PID.y|PIDWitInpGai.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.Utilities.Validation.PIDWithInputGains") translateModel(Buildings.Controls.OBC.Utilities.Validation.PIDWithInputGains,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|PID.k|PIDWitInpGai.k|PID.Ti|PIDWitInpGai.Ti|PID.Td|PIDWitInpGai.Td|PID.y|PIDWitInpGai.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.Utilities.Validation.PIDWithInputGains") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002011/0.002011, allocations: 66.27 kB / 1.155 GB, free: 25.27 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3939/0.3959, allocations: 176.1 MB / 1.327 GB, free: 1.023 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.Validation.PIDWithInputGains): time 0.004551/0.4005, allocations: 2.426 MB / 1.329 GB, free: 14.6 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.003902/0.4044, allocations: 2.121 MB / 1.331 GB, free: 12.46 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006557/0.405, allocations: 19.88 kB / 1.332 GB, free: 12.44 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.000387/0.4054, allocations: 122.6 kB / 1.332 GB, free: 12.32 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0003853/0.4058, allocations: 146.8 kB / 1.332 GB, free: 12.18 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001804/0.4076, allocations: 0.7607 MB / 1.333 GB, free: 11.43 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.001553/0.4091, allocations: 1.274 MB / 1.334 GB, free: 10.14 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006355/0.4098, allocations: 348.2 kB / 1.334 GB, free: 9.785 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005572/0.4103, allocations: 490.5 kB / 1.335 GB, free: 9.305 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005458/0.4109, allocations: 493.8 kB / 1.335 GB, free: 8.82 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0001854/0.4111, allocations: 136 kB / 1.335 GB, free: 8.688 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002268/0.4113, allocations: 148 kB / 1.335 GB, free: 8.543 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001785/0.4115, allocations: 211.3 kB / 1.336 GB, free: 8.336 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0004355/0.4119, allocations: 422.2 kB / 1.336 GB, free: 7.922 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.001646/0.4136, allocations: 1.416 MB / 1.337 GB, free: 6.5 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.51e-06/0.4136, allocations: 0 / 1.337 GB, free: 6.5 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.064e-06/0.4136, allocations: 4 kB / 1.337 GB, free: 6.496 MB / 1.029 GB Notification: Performance of Transformations before backend: time 2.14e-05/0.4136, allocations: 0 / 1.337 GB, free: 6.496 MB / 1.029 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.002675/0.4163, allocations: 1.394 MB / 1.339 GB, free: 5.027 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.41e-05/0.4163, allocations: 8.031 kB / 1.339 GB, free: 5.02 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002255/0.4165, allocations: 108.3 kB / 1.339 GB, free: 4.914 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001014/0.4175, allocations: 0.5117 MB / 1.339 GB, free: 4.371 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.736e-05/0.4176, allocations: 62.38 kB / 1.339 GB, free: 4.312 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000169/0.4178, allocations: 88.33 kB / 1.339 GB, free: 4.227 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001297/0.4191, allocations: 0.7733 MB / 1.34 GB, free: 3.41 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.38e-05/0.4191, allocations: 192 / 1.34 GB, free: 3.41 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.656e-05/0.4192, allocations: 39.81 kB / 1.34 GB, free: 3.371 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.267e-05/0.4192, allocations: 19.94 kB / 1.34 GB, free: 3.352 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009903/0.4202, allocations: 473 kB / 1.341 GB, free: 2.891 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003562/0.4238, allocations: 1.761 MB / 1.342 GB, free: 1.086 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001103/0.4249, allocations: 0.4984 MB / 1.343 GB, free: 0.5781 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004685/0.4253, allocations: 254.2 kB / 1.343 GB, free: 336 kB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.643e-05/0.4254, allocations: 8.5 kB / 1.343 GB, free: 328 kB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007189/0.4261, allocations: 423.5 kB / 1.344 GB, free: 15.88 MB / 1.045 GB Notification: Performance of pre-optimization done (n=68): time 3.206e-06/0.4261, allocations: 0 / 1.344 GB, free: 15.88 MB / 1.045 GB Notification: Performance of matching and sorting (n=68): time 0.001569/0.4277, allocations: 0.7513 MB / 1.344 GB, free: 15.12 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.684e-05/0.4277, allocations: 119.5 kB / 1.344 GB, free: 14.98 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006374/0.4284, allocations: 0.4901 MB / 1.345 GB, free: 14.48 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 0.0001053/0.4285, allocations: 49.7 kB / 1.345 GB, free: 14.43 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003343/0.4288, allocations: 353 kB / 1.345 GB, free: 14.07 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001938/0.429, allocations: 214.2 kB / 1.345 GB, free: 13.86 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000339/0.4294, allocations: 190.2 kB / 1.346 GB, free: 13.67 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001977/0.4296, allocations: 374.7 kB / 1.346 GB, free: 13.3 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008553/0.4304, allocations: 0.4884 MB / 1.346 GB, free: 12.77 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001045/0.4315, allocations: 0.7247 MB / 1.347 GB, free: 11.95 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00125/0.4327, allocations: 0.7534 MB / 1.348 GB, free: 11.12 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.987e-06/0.4327, allocations: 0 / 1.348 GB, free: 11.12 MB / 1.045 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.002235/0.4349, allocations: 1.263 MB / 1.349 GB, free: 9.793 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001356/0.4351, allocations: 170 kB / 1.349 GB, free: 9.598 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.056e-05/0.4351, allocations: 4 kB / 1.349 GB, free: 9.594 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.044e-05/0.4351, allocations: 4.109 kB / 1.349 GB, free: 9.59 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004837/0.4356, allocations: 107.8 kB / 1.349 GB, free: 9.484 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.556e-05/0.4356, allocations: 11.98 kB / 1.349 GB, free: 9.473 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001069/0.4367, allocations: 199.4 kB / 1.35 GB, free: 9.277 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.979e-05/0.4368, allocations: 51.91 kB / 1.35 GB, free: 9.227 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009842/0.4378, allocations: 0.6115 MB / 1.35 GB, free: 8.578 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009388/0.4387, allocations: 0.709 MB / 1.351 GB, free: 7.77 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001089/0.4398, allocations: 0.6987 MB / 1.352 GB, free: 7.004 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.839e-06/0.4398, allocations: 8 kB / 1.352 GB, free: 6.996 MB / 1.045 GB Notification: Performance of matching and sorting (n=91) (initialization_lambda0): time 0.002028/0.4418, allocations: 1.208 MB / 1.353 GB, free: 5.719 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001413/0.442, allocations: 160.5 kB / 1.353 GB, free: 5.531 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/0.442, allocations: 4 kB / 1.353 GB, free: 5.527 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.179e-05/0.442, allocations: 8 kB / 1.353 GB, free: 5.52 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004023/0.4424, allocations: 100.1 kB / 1.353 GB, free: 5.422 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.107e-05/0.4424, allocations: 11.98 kB / 1.353 GB, free: 5.41 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001029/0.4434, allocations: 187.5 kB / 1.353 GB, free: 5.227 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.364e-05/0.4435, allocations: 47.97 kB / 1.353 GB, free: 5.18 MB / 1.045 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.0002883/0.4438, allocations: 246.7 kB / 1.354 GB, free: 4.934 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001084/0.4439, allocations: 67.52 kB / 1.354 GB, free: 4.867 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001167/0.4451, allocations: 0.6011 MB / 1.354 GB, free: 4.254 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.284e-06/0.4451, allocations: 0 / 1.354 GB, free: 4.254 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.458e-06/0.4451, allocations: 3.984 kB / 1.354 GB, free: 4.25 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001204/0.4452, allocations: 75.45 kB / 1.354 GB, free: 4.176 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.137e-05/0.4453, allocations: 19.92 kB / 1.354 GB, free: 4.156 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002873/0.4456, allocations: 39.95 kB / 1.354 GB, free: 4.117 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001217/0.4457, allocations: 56.56 kB / 1.354 GB, free: 4.062 MB / 1.045 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001406/0.4471, allocations: 0.6767 MB / 1.355 GB, free: 3.375 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001669/0.4488, allocations: 1.028 MB / 1.356 GB, free: 2.332 MB / 1.045 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004287/0.4492, allocations: 245.1 kB / 1.356 GB, free: 2.094 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0004008/0.4496, allocations: 334.9 kB / 1.357 GB, free: 1.77 MB / 1.045 GB Notification: Performance of Backend: time 7.82e-07/0.4496, allocations: 0 / 1.357 GB, free: 1.77 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.003073/0.4527, allocations: 1.872 MB / 1.358 GB, free: 15.7 MB / 1.061 GB Notification: Performance of SimCode: time 0.002386/0.4551, allocations: 1.599 MB / 1.36 GB, free: 14.05 MB / 1.061 GB Notification: Performance of Templates: time 0.03047/0.4855, allocations: 17.97 MB / 1.378 GB, free: 12.34 MB / 1.076 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.Utilities.Validation.PIDWithInputGains.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.Utilities.Validation.PIDWithInputGains.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.Utilities.Validation.PIDWithInputGains.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.Utilities.Validation.PIDWithInputGains.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.Utilities.Validation.PIDWithInputGains.sim & ./Buildings_12_Buildings.Controls.OBC.Utilities.Validation.PIDWithInputGains -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.Utilities.Validation.PIDWithInputGains.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.Utilities.Validation.PIDWithInputGains_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_Utilities_Validation_PIDWithInputGains.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.Utilities.Validation.PIDWithInputGains.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.001061222006683]