Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.00154/0.00154, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.001509/0.001509, allocations: 212.8 kB / 23.04 MB, free: 5.074 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.525/1.525, 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 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.402/3.402, allocations: 0.5003 GB / 0.8061 GB, free: 26.74 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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: "" <> buildModelFMU(Buildings.Templates.Components.Validation.PumpMultipleRecord,fileNamePrefix="Buildings_latest_Buildings_Templates_Components_Validation_PumpMultipleRecord",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Templates.Components.Validation.PumpMultipleRecord,fileNamePrefix="Buildings_latest_Buildings_Templates_Components_Validation_PumpMultipleRecord",fmuType="cs",version="2.0",platforms={"static"}) [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.002095/0.002095, allocations: 74.02 kB / 1.171 GB, free: 19.82 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4292/0.4313, allocations: 179 MB / 1.345 GB, free: 468 kB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Components.Validation.PumpMultipleRecord): time 0.006219/0.4375, allocations: 3.864 MB / 1.349 GB, free: 12.57 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.011/0.4485, allocations: 6.476 MB / 1.355 GB, free: 6.062 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005556/0.4491, allocations: 31.81 kB / 1.355 GB, free: 6.031 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.006163/0.4552, allocations: 2.07 MB / 1.357 GB, free: 3.957 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.001613/0.4568, allocations: 0.6105 MB / 1.358 GB, free: 3.344 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 3.767e-05/0.4569, allocations: 4 kB / 1.358 GB, free: 3.34 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.03621/0.4931, allocations: 22.5 MB / 1.38 GB, free: 12.81 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002721/0.4934, allocations: 46.61 kB / 1.38 GB, free: 12.75 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001272/0.4946, allocations: 0.5679 MB / 1.381 GB, free: 12.18 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009527/0.4956, allocations: 0.657 MB / 1.381 GB, free: 11.52 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0001223/0.4957, allocations: 32 kB / 1.381 GB, free: 11.49 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001841/0.4959, allocations: 28 kB / 1.381 GB, free: 11.46 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0007957/0.4967, allocations: 0.7553 MB / 1.382 GB, free: 10.71 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0009122/0.4976, allocations: 0.8348 MB / 1.383 GB, free: 9.867 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.002617/0.5002, allocations: 2.127 MB / 1.385 GB, free: 7.73 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 8.977e-06/0.5002, allocations: 0 / 1.385 GB, free: 7.73 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.683e-06/0.5002, allocations: 4 kB / 1.385 GB, free: 7.727 MB / 1.076 GB Notification: Performance of Transformations before backend: time 3.683e-05/0.5003, allocations: 3.938 kB / 1.385 GB, free: 7.723 MB / 1.076 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.004601/0.5049, allocations: 2.183 MB / 1.387 GB, free: 5.496 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 5.407e-05/0.5049, allocations: 8.031 kB / 1.387 GB, free: 5.488 MB / 1.076 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 6.793e-05/0.505, allocations: 87.27 kB / 1.387 GB, free: 5.402 MB / 1.076 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.794e-05/0.5051, allocations: 113.8 kB / 1.387 GB, free: 5.281 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00038/0.5054, allocations: 289.8 kB / 1.388 GB, free: 4.996 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004465/0.5099, allocations: 2.419 MB / 1.39 GB, free: 2.504 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.438e-05/0.51, allocations: 150.6 kB / 1.39 GB, free: 2.355 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.432e-05/0.5101, allocations: 150.6 kB / 1.39 GB, free: 2.207 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.682e-05/0.5101, allocations: 105 kB / 1.39 GB, free: 2.098 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.797e-05/0.5102, allocations: 75.28 kB / 1.39 GB, free: 2.023 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.11e-05/0.5103, allocations: 154.5 kB / 1.391 GB, free: 1.871 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.05e-05/0.5103, allocations: 154.6 kB / 1.391 GB, free: 1.719 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.795e-05/0.5104, allocations: 154.5 kB / 1.391 GB, free: 1.566 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001511/0.5119, allocations: 1.115 MB / 1.392 GB, free: 420 kB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001147/0.5121, allocations: 165.1 kB / 1.392 GB, free: 244 kB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.802e-05/0.5121, allocations: 92.08 kB / 1.392 GB, free: 148 kB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 3.919e-05/0.5121, allocations: 75.28 kB / 1.392 GB, free: 72 kB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.287e-05/0.5122, allocations: 109.8 kB / 1.392 GB, free: 15.95 MB / 1.092 GB Notification: Performance of pre-optimization done (n=0): time 1.353e-06/0.5122, allocations: 0 / 1.392 GB, free: 15.95 MB / 1.092 GB Notification: Performance of matching and sorting (n=0): time 0.0003692/0.5126, allocations: 248.1 kB / 1.393 GB, free: 15.7 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.929e-05/0.5127, allocations: 126.7 kB / 1.393 GB, free: 15.57 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00417/0.5168, allocations: 2.852 MB / 1.395 GB, free: 12.7 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 1.702e-05/0.5169, allocations: 25.7 kB / 1.395 GB, free: 12.67 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.001048/0.5179, allocations: 0.9067 MB / 1.396 GB, free: 11.76 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 3.697e-06/0.5179, allocations: 4 kB / 1.396 GB, free: 11.76 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.096e-05/0.518, allocations: 9.719 kB / 1.396 GB, free: 11.74 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001673/0.5181, allocations: 310 kB / 1.397 GB, free: 11.43 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.202e-06/0.5181, allocations: 0 / 1.397 GB, free: 11.43 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.99e-06/0.5181, allocations: 0 / 1.397 GB, free: 11.43 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.884e-05/0.5182, allocations: 75.28 kB / 1.397 GB, free: 11.36 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.506e-05/0.5182, allocations: 75.28 kB / 1.397 GB, free: 11.29 MB / 1.092 GB Notification: Performance of matching and sorting (n=0) (initialization): time 0.0003556/0.5186, allocations: 248.2 kB / 1.397 GB, free: 11.04 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 5.519e-05/0.5186, allocations: 83.28 kB / 1.397 GB, free: 10.95 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.104e-05/0.5187, allocations: 83.22 kB / 1.397 GB, free: 10.87 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.319e-05/0.5188, allocations: 150.6 kB / 1.397 GB, free: 10.72 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.916e-05/0.5188, allocations: 79.22 kB / 1.397 GB, free: 10.64 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.144e-05/0.5189, allocations: 154.6 kB / 1.398 GB, free: 10.49 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007029/0.5196, allocations: 103.1 kB / 1.398 GB, free: 10.39 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.364e-05/0.5197, allocations: 79.28 kB / 1.398 GB, free: 10.31 MB / 1.092 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.001118/0.5208, allocations: 0.9411 MB / 1.399 GB, free: 9.359 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003056/0.5211, allocations: 323.5 kB / 1.399 GB, free: 9.035 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003904/0.5215, allocations: 348.9 kB / 1.399 GB, free: 8.68 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001076/0.5216, allocations: 184.3 kB / 1.4 GB, free: 8.492 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.595e-05/0.5217, allocations: 184.2 kB / 1.4 GB, free: 8.305 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.306e-05/0.5218, allocations: 180.2 kB / 1.4 GB, free: 8.121 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001356/0.5231, allocations: 1.056 MB / 1.401 GB, free: 7.016 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.235e-05/0.5232, allocations: 101 kB / 1.401 GB, free: 6.91 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.315e-05/0.5232, allocations: 101 kB / 1.401 GB, free: 6.805 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000115/0.5234, allocations: 188.2 kB / 1.401 GB, free: 6.613 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001042/0.5235, allocations: 184.2 kB / 1.401 GB, free: 6.426 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001048/0.5236, allocations: 188.2 kB / 1.402 GB, free: 6.234 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001146/0.5237, allocations: 180.2 kB / 1.402 GB, free: 6.051 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004905/0.5242, allocations: 0.5149 MB / 1.402 GB, free: 5.512 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005286/0.5247, allocations: 303.5 kB / 1.403 GB, free: 5.207 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002686/0.525, allocations: 188.1 kB / 1.403 GB, free: 5.016 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005914/0.5256, allocations: 121 kB / 1.403 GB, free: 4.891 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001429/0.5257, allocations: 184.3 kB / 1.403 GB, free: 4.703 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.876e-05/0.5258, allocations: 104.9 kB / 1.403 GB, free: 4.594 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.003858/0.5296, allocations: 2.091 MB / 1.405 GB, free: 2.496 MB / 1.092 GB Notification: Performance of sort global known variables: time 9e-08/0.5296, allocations: 0 / 1.405 GB, free: 2.496 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.0007523/0.5304, allocations: 180 kB / 1.405 GB, free: 2.32 MB / 1.092 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.000823/0.5312, allocations: 1.034 MB / 1.406 GB, free: 1.258 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 5.313e-05/0.5313, allocations: 3.938 kB / 1.406 GB, free: 1.254 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.5313, allocations: 0 / 1.406 GB, free: 1.254 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 2.144e-06/0.5313, allocations: 0 / 1.406 GB, free: 1.254 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006954/0.5382, allocations: 2.348 MB / 1.409 GB, free: 14.95 MB / 1.108 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02544/0.5637, allocations: 15.04 MB / 1.423 GB, free: 15.73 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00177/0.5654, allocations: 1.723 MB / 1.425 GB, free: 13.98 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.002134/0.5676, allocations: 427.5 kB / 1.425 GB, free: 13.55 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001043/0.5686, allocations: 0.6516 MB / 1.426 GB, free: 12.91 MB / 1.123 GB Notification: Performance of SimCode: time 2.364e-06/0.5686, allocations: 0 / 1.426 GB, free: 12.91 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1458/0.7144, allocations: 72.6 MB / 1.497 GB, free: 5.285 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.7/18.41, allocations: 3.938 kB / 1.497 GB, free: 5.281 MB / 1.186 GB " [Timeout remaining time 281] (rm -f Buildings_latest_Buildings.Templates.Components.Validation.PumpMultipleRecord.pipe ; mkfifo Buildings_latest_Buildings.Templates.Components.Validation.PumpMultipleRecord.pipe ; head -c 1048576 < Buildings_latest_Buildings.Templates.Components.Validation.PumpMultipleRecord.pipe >> ../files/Buildings_latest_Buildings.Templates.Components.Validation.PumpMultipleRecord.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Templates.Components.Validation.PumpMultipleRecord_res.mat --tempDir=temp_Buildings_latest_Buildings_Templates_Components_Validation_PumpMultipleRecord_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Templates_Components_Validation_PumpMultipleRecord.fmu > Buildings_latest_Buildings.Templates.Components.Validation.PumpMultipleRecord.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Templates.Components.Validation.PumpMultipleRecord_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Templates_Components_Validation_PumpMultipleRecord.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 26.236532669048756]