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.001835/0.001835, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.00229/0.00229, allocations: 213.2 kB / 22.24 MB, free: 5.262 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.569/1.569, allocations: 230.6 MB / 256 MB, free: 7.789 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.838/2.838, allocations: 476 MB / 0.7699 GB, free: 4.719 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: "" <> buildModelFMU(Buildings.Templates.Components.Validation.PumpMultipleRecord,fileNamePrefix="Buildings_11_Buildings_Templates_Components_Validation_PumpMultipleRecord",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Templates.Components.Validation.PumpMultipleRecord,fileNamePrefix="Buildings_11_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.002118/0.002118, allocations: 66.44 kB / 1.117 GB, free: 41.09 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3596/0.3618, allocations: 170 MB / 1.283 GB, free: 12.46 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Components.Validation.PumpMultipleRecord): time 0.005557/0.3673, allocations: 3.491 MB / 1.286 GB, free: 8.957 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.009722/0.377, allocations: 5.89 MB / 1.292 GB, free: 3.047 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005205/0.3776, allocations: 27.88 kB / 1.292 GB, free: 3.02 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.005805/0.3834, allocations: 1.886 MB / 1.294 GB, free: 1.133 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.001743/0.3851, allocations: 0.5715 MB / 1.294 GB, free: 0.5586 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 5.549e-05/0.3852, allocations: 4 kB / 1.294 GB, free: 0.5547 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.03637/0.4215, allocations: 23.65 MB / 1.317 GB, free: 8.871 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002423/0.4218, allocations: 42.62 kB / 1.317 GB, free: 8.816 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001237/0.423, allocations: 0.5914 MB / 1.318 GB, free: 8.223 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001214/0.4242, allocations: 0.657 MB / 1.318 GB, free: 7.562 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0002192/0.4244, allocations: 28 kB / 1.319 GB, free: 7.535 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003813/0.4248, allocations: 28 kB / 1.319 GB, free: 7.508 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0008433/0.4257, allocations: 0.7514 MB / 1.319 GB, free: 6.754 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0009812/0.4266, allocations: 0.6056 MB / 1.32 GB, free: 6.145 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.002234/0.4289, allocations: 2.128 MB / 1.322 GB, free: 4.008 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.4289, allocations: 3.938 kB / 1.322 GB, free: 4.004 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.122e-06/0.4289, allocations: 0 / 1.322 GB, free: 4.004 MB / 1.014 GB Notification: Performance of Transformations before backend: time 2.899e-05/0.4289, allocations: 0 / 1.322 GB, free: 4.004 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.003544/0.4325, allocations: 2.179 MB / 1.324 GB, free: 1.781 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.982e-05/0.4325, allocations: 12.03 kB / 1.324 GB, free: 1.77 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.362e-05/0.4326, allocations: 105.8 kB / 1.324 GB, free: 1.656 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003058/0.4329, allocations: 297.8 kB / 1.324 GB, free: 1.363 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003928/0.4368, allocations: 2.396 MB / 1.327 GB, free: 14.89 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.89e-05/0.4369, allocations: 150.6 kB / 1.327 GB, free: 14.74 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.815e-05/0.4369, allocations: 158.6 kB / 1.327 GB, free: 14.59 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.536e-05/0.437, allocations: 112.9 kB / 1.327 GB, free: 14.47 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.637e-05/0.4371, allocations: 75.28 kB / 1.327 GB, free: 14.39 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.996e-05/0.4371, allocations: 150.6 kB / 1.327 GB, free: 14.25 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.816e-05/0.4372, allocations: 158.3 kB / 1.328 GB, free: 14.09 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.588e-05/0.4373, allocations: 150.6 kB / 1.328 GB, free: 13.95 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001431/0.4387, allocations: 1.088 MB / 1.329 GB, free: 12.82 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001148/0.4388, allocations: 169.1 kB / 1.329 GB, free: 12.64 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.339e-05/0.4389, allocations: 80.14 kB / 1.329 GB, free: 12.56 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 4.09e-05/0.4389, allocations: 79.28 kB / 1.329 GB, free: 12.48 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.304e-05/0.439, allocations: 105.8 kB / 1.329 GB, free: 12.37 MB / 1.029 GB Notification: Performance of pre-optimization done (n=0): time 1.633e-06/0.439, allocations: 4 kB / 1.329 GB, free: 12.36 MB / 1.029 GB Notification: Performance of matching and sorting (n=0): time 0.0003095/0.4393, allocations: 244.2 kB / 1.329 GB, free: 12.12 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.686e-05/0.4394, allocations: 130.7 kB / 1.33 GB, free: 11.98 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004298/0.4437, allocations: 2.852 MB / 1.332 GB, free: 9.113 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.16e-05/0.4437, allocations: 25.7 kB / 1.332 GB, free: 9.082 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.001095/0.4448, allocations: 0.9066 MB / 1.333 GB, free: 8.172 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.669e-06/0.4448, allocations: 0 / 1.333 GB, free: 8.172 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.91e-05/0.4448, allocations: 9.719 kB / 1.333 GB, free: 8.156 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0002061/0.445, allocations: 314 kB / 1.334 GB, free: 7.844 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.584e-06/0.445, allocations: 0 / 1.334 GB, free: 7.844 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.053e-06/0.4451, allocations: 0 / 1.334 GB, free: 7.844 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.047e-05/0.4451, allocations: 75.28 kB / 1.334 GB, free: 7.77 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.277e-05/0.4451, allocations: 75.28 kB / 1.334 GB, free: 7.695 MB / 1.029 GB Notification: Performance of matching and sorting (n=0) (initialization): time 0.0004321/0.4456, allocations: 244.2 kB / 1.334 GB, free: 7.449 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 7.334e-05/0.4457, allocations: 83.28 kB / 1.334 GB, free: 7.367 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.968e-05/0.4457, allocations: 83.22 kB / 1.334 GB, free: 7.285 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.735e-05/0.4458, allocations: 154.5 kB / 1.334 GB, free: 7.133 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.04e-05/0.4458, allocations: 79.28 kB / 1.334 GB, free: 7.055 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.784e-05/0.4459, allocations: 154.5 kB / 1.334 GB, free: 6.902 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007532/0.4467, allocations: 95.25 kB / 1.335 GB, free: 6.809 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.136e-05/0.4467, allocations: 79.22 kB / 1.335 GB, free: 6.73 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.001262/0.448, allocations: 0.9465 MB / 1.336 GB, free: 5.773 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003328/0.4483, allocations: 319.5 kB / 1.336 GB, free: 5.453 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004133/0.4487, allocations: 345.1 kB / 1.336 GB, free: 5.102 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.809e-05/0.4488, allocations: 184.2 kB / 1.336 GB, free: 4.914 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.582e-05/0.4489, allocations: 176.3 kB / 1.337 GB, free: 4.734 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.55e-05/0.449, allocations: 192.2 kB / 1.337 GB, free: 4.539 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001434/0.4504, allocations: 1.025 MB / 1.338 GB, free: 3.465 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0002088/0.4507, allocations: 116.9 kB / 1.338 GB, free: 3.344 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.577e-05/0.4507, allocations: 101 kB / 1.338 GB, free: 3.238 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000104/0.4508, allocations: 176.3 kB / 1.338 GB, free: 3.059 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002133/0.451, allocations: 192.1 kB / 1.338 GB, free: 2.863 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.714e-05/0.4511, allocations: 176.3 kB / 1.338 GB, free: 2.684 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001033/0.4512, allocations: 184.2 kB / 1.339 GB, free: 2.496 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004732/0.4517, allocations: 0.5107 MB / 1.339 GB, free: 1.961 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005849/0.4523, allocations: 299.5 kB / 1.339 GB, free: 1.66 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002849/0.4526, allocations: 188.2 kB / 1.34 GB, free: 1.469 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005449/0.4531, allocations: 125.3 kB / 1.34 GB, free: 1.34 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000114/0.4532, allocations: 176.3 kB / 1.34 GB, free: 1.16 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.286e-05/0.4533, allocations: 101 kB / 1.34 GB, free: 1.055 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.003837/0.4571, allocations: 2.095 MB / 1.342 GB, free: 14.95 MB / 1.045 GB Notification: Performance of sort global known variables: time 6.61e-07/0.4571, allocations: 4 kB / 1.342 GB, free: 14.95 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0007152/0.4578, allocations: 176 kB / 1.342 GB, free: 14.78 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.0008902/0.4587, allocations: 1.042 MB / 1.343 GB, free: 13.71 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 6.731e-05/0.4588, allocations: 7.938 kB / 1.343 GB, free: 13.7 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 3.477e-06/0.4588, allocations: 0 / 1.343 GB, free: 13.7 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 7.143e-06/0.4588, allocations: 4 kB / 1.343 GB, free: 13.7 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006928/0.4657, allocations: 2.349 MB / 1.346 GB, free: 11.39 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02529/0.491, allocations: 15.05 MB / 1.36 GB, free: 12.17 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00144/0.4925, allocations: 1.136 MB / 1.361 GB, free: 11 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.001597/0.4941, allocations: 431.6 kB / 1.362 GB, free: 10.57 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008212/0.4949, allocations: 0.6555 MB / 1.362 GB, free: 9.918 MB / 1.061 GB Notification: Performance of SimCode: time 1.363e-06/0.4949, allocations: 0 / 1.362 GB, free: 9.918 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1449/0.6398, allocations: 79.46 MB / 1.44 GB, free: 12.01 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.53/15.17, allocations: 7.438 kB / 1.44 GB, free: 12.01 MB / 1.139 GB " [Timeout remaining time 284] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Templates.Components.Validation.PumpMultipleRecord_res.mat --tempDir=temp_Buildings_11_Buildings_Templates_Components_Validation_PumpMultipleRecord_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Templates_Components_Validation_PumpMultipleRecord.fmu > Buildings_11_Buildings.Templates.Components.Validation.PumpMultipleRecord.pipe 2>&1) [Timeout 420.0] 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: 22.38076264085248]