Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Movers.Examples.ClosedLoop_y.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.001695/0.001695, 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.002112/0.002112, allocations: 216.3 kB / 23 MB, free: 4.969 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.435/1.435, allocations: 230.6 MB / 256.8 MB, free: 7.809 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.115/3.115, allocations: 0.49 GB / 0.7959 GB, free: 35.38 MB / 0.6231 GB " [Timeout remaining time 177] 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.Fluid.Movers.Examples.ClosedLoop_y,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|conPID.u_s|conPID.u_m|conPID.y",fileNamePrefix="Buildings_12_Buildings.Fluid.Movers.Examples.ClosedLoop_y") translateModel(Buildings.Fluid.Movers.Examples.ClosedLoop_y,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|conPID.u_s|conPID.u_m|conPID.y",fileNamePrefix="Buildings_12_Buildings.Fluid.Movers.Examples.ClosedLoop_y") [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.001938/0.001938, allocations: 64.12 kB / 1.155 GB, free: 25.16 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3171/0.319, allocations: 176.1 MB / 1.327 GB, free: 0.9844 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Examples.ClosedLoop_y): time 0.219/0.5379, allocations: 182.6 MB / 1.505 GB, free: 9.742 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.02211/0.5601, allocations: 14.25 MB / 1.519 GB, free: 11.45 MB / 1.217 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002123/0.5622, allocations: 75.38 kB / 1.519 GB, free: 11.38 MB / 1.217 GB Notification: Performance of NFTyping.typeComponents: time 0.004667/0.5668, allocations: 1.754 MB / 1.521 GB, free: 9.621 MB / 1.217 GB Notification: Performance of NFTyping.typeBindings: time 0.006792/0.5736, allocations: 2.754 MB / 1.524 GB, free: 6.855 MB / 1.217 GB Notification: Performance of NFTyping.typeClassSections: time 0.00405/0.5777, allocations: 1.648 MB / 1.525 GB, free: 5.215 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.01358/0.5913, allocations: 9.48 MB / 1.535 GB, free: 11.72 MB / 1.232 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001943/0.5932, allocations: 1.133 MB / 1.536 GB, free: 10.54 MB / 1.232 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004754/0.598, allocations: 2.304 MB / 1.538 GB, free: 8.227 MB / 1.232 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002214/0.6002, allocations: 1.274 MB / 1.539 GB, free: 6.949 MB / 1.232 GB Notification: Performance of NFPackage.collectConstants: time 0.000252/0.6004, allocations: 156 kB / 1.539 GB, free: 6.797 MB / 1.232 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004396/0.6048, allocations: 2.354 MB / 1.542 GB, free: 4.438 MB / 1.232 GB Notification: Performance of NFScalarize.scalarize: time 0.0007644/0.6056, allocations: 0.7281 MB / 1.542 GB, free: 3.707 MB / 1.232 GB Notification: Performance of NFVerifyModel.verify: time 0.001022/0.6066, allocations: 0.8242 MB / 1.543 GB, free: 2.879 MB / 1.232 GB Notification: Performance of NFConvertDAE.convert: time 0.005706/0.6123, allocations: 3.745 MB / 1.547 GB, free: 15.12 MB / 1.248 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.6123, allocations: 0 / 1.547 GB, free: 15.12 MB / 1.248 GB Notification: Performance of FrontEnd: time 1.693e-06/0.6123, allocations: 0 / 1.547 GB, free: 15.12 MB / 1.248 GB Notification: Performance of Transformations before backend: time 2.468e-05/0.6124, allocations: 3.938 kB / 1.547 GB, free: 15.12 MB / 1.248 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 241 * Number of variables: 241 Notification: Performance of Generate backend data structure: time 0.00456/0.6169, allocations: 2.519 MB / 1.549 GB, free: 12.54 MB / 1.248 GB Notification: Performance of prepare preOptimizeDAE: time 3.84e-05/0.617, allocations: 8.031 kB / 1.549 GB, free: 12.54 MB / 1.248 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004129/0.6211, allocations: 0.6269 MB / 1.55 GB, free: 11.91 MB / 1.248 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004462/0.6255, allocations: 2.042 MB / 1.552 GB, free: 9.809 MB / 1.248 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.388e-05/0.6256, allocations: 78 kB / 1.552 GB, free: 9.734 MB / 1.248 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000188/0.6258, allocations: 100 kB / 1.552 GB, free: 9.637 MB / 1.248 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002536/0.6283, allocations: 1.422 MB / 1.553 GB, free: 8.145 MB / 1.248 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.798e-05/0.6284, allocations: 0 / 1.553 GB, free: 8.145 MB / 1.248 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001158/0.6285, allocations: 43.94 kB / 1.554 GB, free: 8.102 MB / 1.248 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.078e-05/0.6285, allocations: 41.94 kB / 1.554 GB, free: 8.062 MB / 1.248 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002307/0.6308, allocations: 1.003 MB / 1.555 GB, free: 7.055 MB / 1.248 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006754/0.6376, allocations: 4.02 MB / 1.558 GB, free: 2.941 MB / 1.248 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002591/0.6402, allocations: 0.8977 MB / 1.559 GB, free: 2.027 MB / 1.248 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001094/0.6413, allocations: 474.2 kB / 1.56 GB, free: 1.562 MB / 1.248 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001596/0.6414, allocations: 28.64 kB / 1.56 GB, free: 1.535 MB / 1.248 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001298/0.6427, allocations: 0.6826 MB / 1.56 GB, free: 0.8164 MB / 1.248 GB Notification: Performance of pre-optimization done (n=66): time 2.675e-06/0.6427, allocations: 3.938 kB / 1.56 GB, free: 0.8125 MB / 1.248 GB Notification: Performance of matching and sorting (n=66): time 0.003888/0.6466, allocations: 1.396 MB / 1.562 GB, free: 15.4 MB / 1.264 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.37e-05/0.6467, allocations: 60.06 kB / 1.562 GB, free: 15.33 MB / 1.264 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002114/0.6488, allocations: 1.643 MB / 1.564 GB, free: 13.69 MB / 1.264 GB Notification: Performance of collectPreVariables (initialization): time 9.068e-05/0.6489, allocations: 45.64 kB / 1.564 GB, free: 13.64 MB / 1.264 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007073/0.6496, allocations: 0.7765 MB / 1.564 GB, free: 12.86 MB / 1.264 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002478/0.6498, allocations: 257.9 kB / 1.565 GB, free: 12.6 MB / 1.264 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004472/0.6503, allocations: 282.8 kB / 1.565 GB, free: 12.32 MB / 1.264 GB Notification: Performance of setup shared object (initialization): time 0.0001765/0.6505, allocations: 353.9 kB / 1.565 GB, free: 11.97 MB / 1.264 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001405/0.6519, allocations: 0.8041 MB / 1.566 GB, free: 11.16 MB / 1.264 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001771/0.6536, allocations: 1.283 MB / 1.567 GB, free: 9.715 MB / 1.264 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002911/0.6565, allocations: 1.706 MB / 1.569 GB, free: 7.938 MB / 1.264 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.857e-06/0.6565, allocations: 4 kB / 1.569 GB, free: 7.934 MB / 1.264 GB Notification: Performance of matching and sorting (n=165) (initialization): time 0.003976/0.6605, allocations: 2.185 MB / 1.571 GB, free: 5.723 MB / 1.264 GB Notification: Performance of prepare postOptimizeDAE: time 4.257e-05/0.6606, allocations: 33.7 kB / 1.571 GB, free: 5.684 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.166e-05/0.6606, allocations: 4 kB / 1.571 GB, free: 5.68 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000513/0.6611, allocations: 161.2 kB / 1.571 GB, free: 5.52 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001217/0.6623, allocations: 255.6 kB / 1.571 GB, free: 5.27 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001128/0.6634, allocations: 1.236 MB / 1.573 GB, free: 3.984 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001274/0.6647, allocations: 139.2 kB / 1.573 GB, free: 3.848 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001283/0.6648, allocations: 67.97 kB / 1.573 GB, free: 3.781 MB / 1.264 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001898/0.6667, allocations: 1.098 MB / 1.574 GB, free: 2.672 MB / 1.264 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001611/0.6683, allocations: 1.173 MB / 1.575 GB, free: 1.344 MB / 1.264 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002519/0.6709, allocations: 1.499 MB / 1.577 GB, free: 15.76 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.452e-06/0.6709, allocations: 8 kB / 1.577 GB, free: 15.75 MB / 1.279 GB Notification: Performance of matching and sorting (n=165) (initialization_lambda0): time 0.003786/0.6747, allocations: 1.974 MB / 1.578 GB, free: 13.76 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 3.745e-05/0.6747, allocations: 36.14 kB / 1.579 GB, free: 13.72 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.089e-05/0.6747, allocations: 8 kB / 1.579 GB, free: 13.71 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006567/0.6754, allocations: 176.7 kB / 1.579 GB, free: 13.54 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001025/0.6764, allocations: 235.6 kB / 1.579 GB, free: 13.3 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00535/0.6817, allocations: 3.223 MB / 1.582 GB, free: 9.91 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00151/0.6832, allocations: 119.5 kB / 1.582 GB, free: 9.793 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001118/0.6834, allocations: 51.98 kB / 1.582 GB, free: 9.742 MB / 1.279 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 6 (y.count,$PRE.y.count,y.T_start,$PRE.y.T_start,$whenCondition1,conPID.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (126): * Single equations (assignments): 121 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0004234/0.6838, allocations: 244 kB / 1.582 GB, free: 9.496 MB / 1.279 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002793/0.6841, allocations: 170.9 kB / 1.583 GB, free: 9.328 MB / 1.279 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0028/0.6869, allocations: 1.104 MB / 1.584 GB, free: 8.207 MB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002158/0.689, allocations: 0.9809 MB / 1.585 GB, free: 7.191 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.017e-06/0.689, allocations: 0 / 1.585 GB, free: 7.191 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007398/0.6898, allocations: 250.6 kB / 1.585 GB, free: 6.945 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001993/0.69, allocations: 15.94 kB / 1.585 GB, free: 6.93 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008888/0.6909, allocations: 61.25 kB / 1.585 GB, free: 6.871 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001367/0.691, allocations: 48.56 kB / 1.585 GB, free: 6.824 MB / 1.279 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003234/0.6942, allocations: 1.116 MB / 1.586 GB, free: 5.695 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003321/0.6975, allocations: 1.617 MB / 1.588 GB, free: 4.059 MB / 1.279 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000925/0.6985, allocations: 400.9 kB / 1.588 GB, free: 3.668 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.001665/0.7001, allocations: 1.094 MB / 1.589 GB, free: 2.582 MB / 1.279 GB Notification: Performance of Backend: time 3.7e-07/0.7001, allocations: 0 / 1.589 GB, free: 2.582 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.006885/0.707, allocations: 2.893 MB / 1.592 GB, free: 15.63 MB / 1.295 GB Notification: Performance of SimCode: time 0.007293/0.7143, allocations: 4.197 MB / 1.596 GB, free: 11.4 MB / 1.295 GB Notification: Performance of Templates: time 0.6531/1.367, allocations: 50.11 MB / 1.645 GB, free: 264.8 MB / 1.295 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.Movers.Examples.ClosedLoop_y.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Movers.Examples.ClosedLoop_y.pipe ; mkfifo Buildings_12_Buildings.Fluid.Movers.Examples.ClosedLoop_y.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Movers.Examples.ClosedLoop_y.pipe >> ../files/Buildings_12_Buildings.Fluid.Movers.Examples.ClosedLoop_y.sim & ./Buildings_12_Buildings.Fluid.Movers.Examples.ClosedLoop_y -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Movers.Examples.ClosedLoop_y.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.Movers.Examples.ClosedLoop_y_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Movers_Examples_ClosedLoop_y.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.Movers.Examples.ClosedLoop_y.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.870086773000367]