Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001355/0.001355, allocations: 103.6 kB / 18.95 MB, free: 2.66 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.001575/0.001575, allocations: 219.9 kB / 22.24 MB, free: 5.258 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.508/1.508, allocations: 230.6 MB / 256 MB, free: 7.781 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.331/3.331, allocations: 0.49 GB / 0.7951 GB, free: 35.54 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: "" <> buildModelFMU(Buildings.Templates.Components.Validation.PumpMultipleRecord,fileNamePrefix="Buildings_12_Buildings_Templates_Components_Validation_PumpMultipleRecord",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Templates.Components.Validation.PumpMultipleRecord,fileNamePrefix="Buildings_12_Buildings_Templates_Components_Validation_PumpMultipleRecord",fmuType="me",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.002136/0.002136, allocations: 75.62 kB / 1.154 GB, free: 25.46 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4437/0.4458, allocations: 176.1 MB / 1.326 GB, free: 1.539 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Components.Validation.PumpMultipleRecord): time 0.006197/0.452, allocations: 3.507 MB / 1.329 GB, free: 14.01 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.009788/0.4618, allocations: 5.936 MB / 1.335 GB, free: 8.047 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004179/0.4622, allocations: 31.81 kB / 1.335 GB, free: 8.016 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.005329/0.4676, allocations: 1.942 MB / 1.337 GB, free: 6.07 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.00131/0.4689, allocations: 0.6144 MB / 1.338 GB, free: 5.453 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 2.988e-05/0.4689, allocations: 7.938 kB / 1.338 GB, free: 5.445 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.04833/0.5172, allocations: 22.5 MB / 1.36 GB, free: 14.91 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000329/0.5176, allocations: 42.61 kB / 1.36 GB, free: 14.86 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001609/0.5192, allocations: 0.5718 MB / 1.36 GB, free: 14.29 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001379/0.5206, allocations: 0.6532 MB / 1.361 GB, free: 13.63 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0001415/0.5207, allocations: 32 kB / 1.361 GB, free: 13.6 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002608/0.521, allocations: 32 kB / 1.361 GB, free: 13.57 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0009629/0.5219, allocations: 0.7475 MB / 1.362 GB, free: 12.82 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.00108/0.523, allocations: 0.6134 MB / 1.362 GB, free: 12.2 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.003276/0.5263, allocations: 2.143 MB / 1.364 GB, free: 10.05 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 7.303e-06/0.5263, allocations: 0 / 1.364 GB, free: 10.05 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.743e-06/0.5263, allocations: 0 / 1.364 GB, free: 10.05 MB / 1.061 GB Notification: Performance of Transformations before backend: time 3.452e-05/0.5263, allocations: 0 / 1.364 GB, free: 10.05 MB / 1.061 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.005887/0.5322, allocations: 2.194 MB / 1.366 GB, free: 7.812 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 5.434e-05/0.5323, allocations: 8.031 kB / 1.366 GB, free: 7.805 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.439e-05/0.5323, allocations: 117.8 kB / 1.367 GB, free: 7.68 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004788/0.5328, allocations: 289.8 kB / 1.367 GB, free: 7.395 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00509/0.5379, allocations: 2.411 MB / 1.369 GB, free: 4.906 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.125e-05/0.538, allocations: 154.5 kB / 1.369 GB, free: 4.754 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.676e-05/0.5381, allocations: 154.5 kB / 1.369 GB, free: 4.602 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.224e-05/0.5382, allocations: 109 kB / 1.37 GB, free: 4.488 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.063e-05/0.5382, allocations: 75.28 kB / 1.37 GB, free: 4.414 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.052e-05/0.5383, allocations: 154.5 kB / 1.37 GB, free: 4.262 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.448e-05/0.5384, allocations: 150.6 kB / 1.37 GB, free: 4.113 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.182e-05/0.5385, allocations: 150.6 kB / 1.37 GB, free: 3.965 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001692/0.5402, allocations: 1.088 MB / 1.371 GB, free: 2.836 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001262/0.5403, allocations: 173.1 kB / 1.371 GB, free: 2.656 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.573e-05/0.5403, allocations: 80.14 kB / 1.371 GB, free: 2.574 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 3.857e-05/0.5404, allocations: 75.28 kB / 1.371 GB, free: 2.5 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.169e-05/0.5405, allocations: 109.8 kB / 1.372 GB, free: 2.383 MB / 1.061 GB Notification: Performance of pre-optimization done (n=0): time 1.803e-06/0.5405, allocations: 0 / 1.372 GB, free: 2.383 MB / 1.061 GB Notification: Performance of matching and sorting (n=0): time 0.0003882/0.5408, allocations: 248.1 kB / 1.372 GB, free: 2.133 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.63e-05/0.5409, allocations: 126.7 kB / 1.372 GB, free: 1.996 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004606/0.5455, allocations: 2.852 MB / 1.375 GB, free: 15.13 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 1.708e-05/0.5456, allocations: 29.7 kB / 1.375 GB, free: 15.1 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.001015/0.5466, allocations: 0.9105 MB / 1.376 GB, free: 14.18 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 2.925e-06/0.5466, allocations: 0 / 1.376 GB, free: 14.18 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.228e-05/0.5466, allocations: 9.719 kB / 1.376 GB, free: 14.17 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.000142/0.5467, allocations: 310 kB / 1.376 GB, free: 13.86 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.242e-06/0.5468, allocations: 0 / 1.376 GB, free: 13.86 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.622e-06/0.5468, allocations: 0 / 1.376 GB, free: 13.86 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.653e-05/0.5468, allocations: 75.28 kB / 1.376 GB, free: 13.79 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.307e-05/0.5468, allocations: 79.22 kB / 1.376 GB, free: 13.71 MB / 1.076 GB Notification: Performance of matching and sorting (n=0) (initialization): time 0.000379/0.5472, allocations: 248.2 kB / 1.376 GB, free: 13.46 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 5.569e-05/0.5473, allocations: 83.28 kB / 1.376 GB, free: 13.38 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.509e-05/0.5473, allocations: 79.28 kB / 1.376 GB, free: 13.3 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.277e-05/0.5474, allocations: 154.5 kB / 1.377 GB, free: 13.14 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.03e-05/0.5474, allocations: 87.22 kB / 1.377 GB, free: 13.06 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.166e-05/0.5475, allocations: 150.6 kB / 1.377 GB, free: 12.91 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007185/0.5482, allocations: 99.19 kB / 1.377 GB, free: 12.81 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.526e-05/0.5482, allocations: 75.28 kB / 1.377 GB, free: 12.74 MB / 1.076 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.001122/0.5494, allocations: 0.9456 MB / 1.378 GB, free: 11.78 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003186/0.5497, allocations: 315.5 kB / 1.378 GB, free: 11.46 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004152/0.5501, allocations: 353.1 kB / 1.379 GB, free: 11.11 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001093/0.5502, allocations: 184.3 kB / 1.379 GB, free: 10.92 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001218/0.5503, allocations: 180.2 kB / 1.379 GB, free: 10.73 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.433e-05/0.5504, allocations: 180.2 kB / 1.379 GB, free: 10.55 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001286/0.5517, allocations: 1.021 MB / 1.38 GB, free: 9.48 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.012e-05/0.5518, allocations: 104.9 kB / 1.38 GB, free: 9.371 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.847e-05/0.5518, allocations: 105 kB / 1.38 GB, free: 9.262 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001019/0.5519, allocations: 184.2 kB / 1.38 GB, free: 9.074 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.425e-05/0.552, allocations: 180.2 kB / 1.381 GB, free: 8.891 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.98e-05/0.5521, allocations: 184.2 kB / 1.381 GB, free: 8.703 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.425e-05/0.5522, allocations: 184.2 kB / 1.381 GB, free: 8.516 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004264/0.5526, allocations: 0.5149 MB / 1.381 GB, free: 7.977 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005129/0.5531, allocations: 299.5 kB / 1.382 GB, free: 7.676 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002727/0.5534, allocations: 184.2 kB / 1.382 GB, free: 7.488 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000583/0.554, allocations: 124.9 kB / 1.382 GB, free: 7.359 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001047/0.5541, allocations: 180.3 kB / 1.382 GB, free: 7.176 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.567e-05/0.5542, allocations: 104.9 kB / 1.382 GB, free: 7.066 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.003272/0.5574, allocations: 2.098 MB / 1.384 GB, free: 4.961 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5574, allocations: 3.938 kB / 1.384 GB, free: 4.957 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0005726/0.558, allocations: 176 kB / 1.385 GB, free: 4.785 MB / 1.076 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.0007993/0.5588, allocations: 1.03 MB / 1.386 GB, free: 3.727 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 6.661e-05/0.5589, allocations: 15.88 kB / 1.386 GB, free: 3.711 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.5589, allocations: 0 / 1.386 GB, free: 3.711 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 1.563e-06/0.5589, allocations: 0 / 1.386 GB, free: 3.711 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00628/0.5652, allocations: 2.344 MB / 1.388 GB, free: 1.414 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0246/0.5898, allocations: 15.03 MB / 1.403 GB, free: 2.215 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001463/0.5912, allocations: 1.132 MB / 1.404 GB, free: 1.047 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.001897/0.5931, allocations: 435.5 kB / 1.404 GB, free: 0.6172 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009934/0.5941, allocations: 0.6555 MB / 1.405 GB, free: 15.96 MB / 1.107 GB Notification: Performance of SimCode: time 1.914e-06/0.5941, allocations: 0 / 1.405 GB, free: 15.96 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1517/0.7458, allocations: 79.45 MB / 1.482 GB, free: 2.031 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.18/14.93, allocations: 7.812 kB / 1.482 GB, free: 2.027 MB / 1.17 GB " [Timeout remaining time 285] (rm -f Buildings_12_Buildings.Templates.Components.Validation.PumpMultipleRecord.pipe ; mkfifo Buildings_12_Buildings.Templates.Components.Validation.PumpMultipleRecord.pipe ; head -c 1048576 < Buildings_12_Buildings.Templates.Components.Validation.PumpMultipleRecord.pipe >> ../files/Buildings_12_Buildings.Templates.Components.Validation.PumpMultipleRecord.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Templates.Components.Validation.PumpMultipleRecord_res.mat --tempDir=temp_Buildings_12_Buildings_Templates_Components_Validation_PumpMultipleRecord_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Templates_Components_Validation_PumpMultipleRecord.fmu > Buildings_12_Buildings.Templates.Components.Validation.PumpMultipleRecord.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Templates.Components.Validation.PumpMultipleRecord_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Templates_Components_Validation_PumpMultipleRecord.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 22.152633477002382]