Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Templates.Components.Validation.PumpMultipleRecord.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.001369/0.001369, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.00156/0.00156, allocations: 214.5 kB / 23.01 MB, free: 4.609 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.437/1.437, allocations: 230.6 MB / 256.8 MB, free: 8.051 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.763/2.763, allocations: 476.7 MB / 0.7714 GB, free: 4.488 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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.Templates.Components.Validation.PumpMultipleRecord,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|V_flow_nominal.1.|V_flow_nominal.2.|datDef.per.1..pressure.V_flow.2.|datDef.per.2..pressure.V_flow.2.|datRed.per.1..pressure.V_flow.2.|datRed.per.2..pressure.V_flow.2.|datAss.per.1..pressure.V_flow.2.|datAss.per.2..pressure.V_flow.2.|datPre.per.1..pressure.V_flow.2.|datPre.per.2..pressure.V_flow.2.",fileNamePrefix="Buildings_11_Buildings.Templates.Components.Validation.PumpMultipleRecord") translateModel(Buildings.Templates.Components.Validation.PumpMultipleRecord,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|V_flow_nominal.1.|V_flow_nominal.2.|datDef.per.1..pressure.V_flow.2.|datDef.per.2..pressure.V_flow.2.|datRed.per.1..pressure.V_flow.2.|datRed.per.2..pressure.V_flow.2.|datAss.per.1..pressure.V_flow.2.|datAss.per.2..pressure.V_flow.2.|datPre.per.1..pressure.V_flow.2.|datPre.per.2..pressure.V_flow.2.",fileNamePrefix="Buildings_11_Buildings.Templates.Components.Validation.PumpMultipleRecord") [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.002053/0.002053, allocations: 64.64 kB / 1.119 GB, free: 40.3 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3343/0.3364, allocations: 170 MB / 1.285 GB, free: 11.3 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Components.Validation.PumpMultipleRecord): time 0.006407/0.3428, allocations: 3.859 MB / 1.288 GB, free: 7.418 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.01071/0.3535, allocations: 6.429 MB / 1.295 GB, free: 0.9648 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000694/0.3542, allocations: 31.81 kB / 1.295 GB, free: 0.9336 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.006564/0.3607, allocations: 2.009 MB / 1.297 GB, free: 14.91 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.00158/0.3623, allocations: 0.5676 MB / 1.297 GB, free: 14.34 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 8.376e-05/0.3624, allocations: 4 kB / 1.297 GB, free: 14.34 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.03855/0.401, allocations: 23.76 MB / 1.32 GB, free: 6.559 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002443/0.4012, allocations: 42.62 kB / 1.32 GB, free: 6.504 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001235/0.4024, allocations: 0.5836 MB / 1.321 GB, free: 5.918 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000965/0.4034, allocations: 0.6571 MB / 1.322 GB, free: 5.258 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0001151/0.4035, allocations: 28 kB / 1.322 GB, free: 5.23 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001872/0.4037, allocations: 28 kB / 1.322 GB, free: 5.203 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0008271/0.4045, allocations: 0.7514 MB / 1.322 GB, free: 4.449 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0009548/0.4055, allocations: 0.8271 MB / 1.323 GB, free: 3.617 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.00252/0.408, allocations: 2.116 MB / 1.325 GB, free: 1.492 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 9.358e-06/0.408, allocations: 3.984 kB / 1.325 GB, free: 1.488 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.954e-06/0.408, allocations: 0 / 1.325 GB, free: 1.488 MB / 1.014 GB Notification: Performance of Transformations before backend: time 4.594e-05/0.4081, allocations: 3.938 kB / 1.325 GB, free: 1.484 MB / 1.014 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.004/0.4121, allocations: 2.183 MB / 1.327 GB, free: 15.26 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.231e-05/0.4121, allocations: 8.031 kB / 1.327 GB, free: 15.25 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003662/0.4125, allocations: 293.8 kB / 1.328 GB, free: 14.96 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004276/0.4167, allocations: 2.399 MB / 1.33 GB, free: 12.49 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.344e-05/0.4168, allocations: 154.5 kB / 1.33 GB, free: 12.34 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.329e-05/0.4169, allocations: 154.5 kB / 1.33 GB, free: 12.18 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.973e-05/0.417, allocations: 108.9 kB / 1.33 GB, free: 12.07 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.179e-05/0.417, allocations: 75.28 kB / 1.331 GB, free: 12 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.292e-05/0.4171, allocations: 150.6 kB / 1.331 GB, free: 11.85 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.843e-05/0.4172, allocations: 154.5 kB / 1.331 GB, free: 11.7 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.524e-05/0.4172, allocations: 154.6 kB / 1.331 GB, free: 11.54 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001429/0.4187, allocations: 1.111 MB / 1.332 GB, free: 10.39 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001088/0.4188, allocations: 177.1 kB / 1.332 GB, free: 10.21 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.643e-05/0.4188, allocations: 80.14 kB / 1.332 GB, free: 10.12 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 5.053e-05/0.4189, allocations: 75.28 kB / 1.332 GB, free: 10.05 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.522e-05/0.4189, allocations: 105.8 kB / 1.332 GB, free: 9.938 MB / 1.029 GB Notification: Performance of pre-optimization done (n=0): time 1.382e-06/0.4189, allocations: 4 kB / 1.332 GB, free: 9.934 MB / 1.029 GB Notification: Performance of matching and sorting (n=0): time 0.0003151/0.4192, allocations: 244.2 kB / 1.333 GB, free: 9.688 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.493e-05/0.4193, allocations: 134.6 kB / 1.333 GB, free: 9.543 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004101/0.4234, allocations: 2.852 MB / 1.336 GB, free: 6.68 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.94e-05/0.4234, allocations: 29.69 kB / 1.336 GB, free: 6.645 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009869/0.4244, allocations: 0.8989 MB / 1.337 GB, free: 5.742 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.176e-06/0.4244, allocations: 0 / 1.337 GB, free: 5.742 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.005e-05/0.4245, allocations: 13.72 kB / 1.337 GB, free: 5.723 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001505/0.4246, allocations: 310 kB / 1.337 GB, free: 5.414 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.402e-06/0.4246, allocations: 3.938 kB / 1.337 GB, free: 5.41 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.631e-06/0.4246, allocations: 4 kB / 1.337 GB, free: 5.406 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.791e-05/0.4247, allocations: 75.28 kB / 1.337 GB, free: 5.332 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.152e-05/0.4247, allocations: 79.22 kB / 1.337 GB, free: 5.254 MB / 1.029 GB Notification: Performance of matching and sorting (n=0) (initialization): time 0.0003106/0.425, allocations: 240.2 kB / 1.337 GB, free: 5.012 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 5.297e-05/0.4251, allocations: 83.28 kB / 1.337 GB, free: 4.93 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.914e-05/0.4251, allocations: 87.22 kB / 1.337 GB, free: 4.844 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.696e-05/0.4252, allocations: 150.6 kB / 1.338 GB, free: 4.695 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.815e-05/0.4252, allocations: 83.16 kB / 1.338 GB, free: 4.613 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.244e-05/0.4253, allocations: 154.5 kB / 1.338 GB, free: 4.461 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005772/0.4259, allocations: 95.25 kB / 1.338 GB, free: 4.367 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.44e-05/0.426, allocations: 79.22 kB / 1.338 GB, free: 4.289 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * 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.001085/0.427, allocations: 0.9489 MB / 1.339 GB, free: 3.328 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002733/0.4273, allocations: 319.5 kB / 1.339 GB, free: 3.008 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003891/0.4277, allocations: 341.1 kB / 1.339 GB, free: 2.66 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.937e-05/0.4278, allocations: 180.2 kB / 1.34 GB, free: 2.477 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.539e-05/0.4279, allocations: 192.2 kB / 1.34 GB, free: 2.281 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.856e-05/0.4279, allocations: 180.2 kB / 1.34 GB, free: 2.098 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001172/0.4291, allocations: 1.056 MB / 1.341 GB, free: 0.9922 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.789e-05/0.4292, allocations: 104.9 kB / 1.341 GB, free: 0.8828 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.332e-05/0.4292, allocations: 101 kB / 1.341 GB, free: 0.7773 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.426e-05/0.4293, allocations: 184.3 kB / 1.341 GB, free: 0.5898 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.201e-05/0.4294, allocations: 188.2 kB / 1.342 GB, free: 408 kB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.553e-05/0.4295, allocations: 180.2 kB / 1.342 GB, free: 220 kB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.489e-05/0.4296, allocations: 180.2 kB / 1.342 GB, free: 32 kB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000411/0.43, allocations: 0.5185 MB / 1.342 GB, free: 15.49 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004806/0.4305, allocations: 299.5 kB / 1.343 GB, free: 15.19 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002544/0.4307, allocations: 176.7 kB / 1.343 GB, free: 15.01 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005223/0.4312, allocations: 124.8 kB / 1.343 GB, free: 14.88 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.17e-05/0.4313, allocations: 176.3 kB / 1.343 GB, free: 14.7 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.205e-05/0.4314, allocations: 109 kB / 1.343 GB, free: 14.59 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.003118/0.4345, allocations: 2.094 MB / 1.345 GB, free: 12.48 MB / 1.045 GB Notification: Performance of sort global known variables: time 1e-07/0.4345, allocations: 0 / 1.345 GB, free: 12.48 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0005484/0.4351, allocations: 176 kB / 1.346 GB, free: 12.31 MB / 1.045 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0002274/0.4353, allocations: 174.5 kB / 1.346 GB, free: 12.13 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 5.179e-05/0.4353, allocations: 8.062 kB / 1.346 GB, free: 12.12 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.4353, allocations: 4 kB / 1.346 GB, free: 12.12 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 1.793e-06/0.4353, allocations: 0 / 1.346 GB, free: 12.12 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006/0.4413, allocations: 2.349 MB / 1.348 GB, free: 9.82 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005594/0.4469, allocations: 3.702 MB / 1.352 GB, free: 6.074 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001648/0.4486, allocations: 1.703 MB / 1.353 GB, free: 4.34 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002289/0.4488, allocations: 111.4 kB / 1.353 GB, free: 4.23 MB / 1.045 GB Notification: Performance of SimCode: time 1.333e-06/0.4488, allocations: 0 / 1.353 GB, free: 4.23 MB / 1.045 GB Notification: Performance of Templates: time 0.06434/0.5132, allocations: 40.06 MB / 1.392 GB, free: 12.73 MB / 1.092 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Templates.Components.Validation.PumpMultipleRecord.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Templates.Components.Validation.PumpMultipleRecord.pipe ; mkfifo Buildings_11_Buildings.Templates.Components.Validation.PumpMultipleRecord.pipe ; head -c 1048576 < Buildings_11_Buildings.Templates.Components.Validation.PumpMultipleRecord.pipe >> ../files/Buildings_11_Buildings.Templates.Components.Validation.PumpMultipleRecord.sim & ./Buildings_11_Buildings.Templates.Components.Validation.PumpMultipleRecord -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Templates.Components.Validation.PumpMultipleRecord.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Templates.Components.Validation.PumpMultipleRecord_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Templates_Components_Validation_PumpMultipleRecord.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Templates.Components.Validation.PumpMultipleRecord.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: 23.850102428987157]