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.001194/0.001194, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0008323/0.0008323, allocations: 165.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.9019/0.9019, allocations: 177.1 MB / 202.8 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.637/1.637, allocations: 359 MB / 0.6037 GB, free: 11.11 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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: Performance of FrontEnd - loaded program: time 1.473e-06/1.473e-06, allocations: 0 / 0.9505 GB, free: 3.562 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.204e-05/1.352e-05, allocations: 2.281 kB / 0.9505 GB, free: 3.559 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Components.Validation.PumpMultipleRecord): time 0.003059/0.003073, allocations: 3.499 MB / 0.9539 GB, free: 32 kB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.005015/0.008087, allocations: 5.876 MB / 0.9596 GB, free: 10.13 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002007/0.008288, allocations: 27.88 kB / 0.9596 GB, free: 10.1 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.002606/0.01089, allocations: 1.902 MB / 0.9615 GB, free: 8.195 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.0004864/0.01138, allocations: 0.5942 MB / 0.9621 GB, free: 7.598 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 1.67e-05/0.0114, allocations: 4 kB / 0.9621 GB, free: 7.594 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.01866/0.03006, allocations: 23.89 MB / 0.9854 GB, free: 15.67 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001682/0.03023, allocations: 42.62 kB / 0.9855 GB, free: 15.62 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007994/0.03103, allocations: 0.7322 MB / 0.9862 GB, free: 14.88 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005102/0.03154, allocations: 0.5839 MB / 0.9867 GB, free: 14.3 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 4.646e-05/0.03158, allocations: 36 kB / 0.9868 GB, free: 14.26 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001131/0.0317, allocations: 28 kB / 0.9868 GB, free: 14.23 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 0.0003902/0.03209, allocations: 0.8103 MB / 0.9876 GB, free: 13.42 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 0.000289/0.03237, allocations: 466.6 kB / 0.988 GB, free: 12.96 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.001116/0.03349, allocations: 1.981 MB / 0.99 GB, free: 10.98 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.03349, allocations: 3.938 kB / 0.99 GB, free: 10.97 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.573e-06/0.0335, allocations: 0 / 0.99 GB, free: 10.97 MB / 0.948 GB Notification: Performance of Transformations before backend: time 1.311e-05/0.03351, allocations: 0 / 0.99 GB, free: 10.97 MB / 0.948 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.001763/0.03527, allocations: 2.155 MB / 0.9921 GB, free: 8.773 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.106e-05/0.03531, allocations: 12.03 kB / 0.9921 GB, free: 8.762 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.879e-05/0.03535, allocations: 109.8 kB / 0.9922 GB, free: 8.645 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001512/0.0355, allocations: 297.8 kB / 0.9925 GB, free: 8.352 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002172/0.03767, allocations: 2.395 MB / 0.9948 GB, free: 5.879 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.367e-05/0.03771, allocations: 150.6 kB / 0.995 GB, free: 5.73 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.11e-05/0.03774, allocations: 154.6 kB / 0.9951 GB, free: 5.578 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.691e-05/0.0378, allocations: 109 kB / 0.9952 GB, free: 5.465 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.939e-05/0.03782, allocations: 83.22 kB / 0.9953 GB, free: 5.383 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.454e-05/0.03785, allocations: 150.6 kB / 0.9954 GB, free: 5.234 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.102e-05/0.03788, allocations: 150.6 kB / 0.9956 GB, free: 5.086 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.643e-05/0.03792, allocations: 154.6 kB / 0.9957 GB, free: 4.934 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006863/0.0386, allocations: 1.084 MB / 0.9968 GB, free: 3.809 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 6.343e-05/0.03867, allocations: 165.1 kB / 0.9969 GB, free: 3.637 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.658e-05/0.03869, allocations: 84.08 kB / 0.997 GB, free: 3.551 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.995e-05/0.03871, allocations: 75.28 kB / 0.9971 GB, free: 3.477 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.636e-05/0.03875, allocations: 109.8 kB / 0.9972 GB, free: 3.359 MB / 0.948 GB Notification: Performance of pre-optimization done (n=0): time 1.262e-06/0.03875, allocations: 0 / 0.9972 GB, free: 3.359 MB / 0.948 GB Notification: Performance of matching and sorting (n=0): time 0.0001608/0.03891, allocations: 244.2 kB / 0.9974 GB, free: 3.113 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.161e-05/0.03895, allocations: 126.7 kB / 0.9976 GB, free: 2.977 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002273/0.04123, allocations: 2.855 MB / 1 GB, free: 112 kB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 9.348e-06/0.04124, allocations: 25.7 kB / 1 GB, free: 80 kB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006486/0.04189, allocations: 0.9067 MB / 1.001 GB, free: 15.17 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 2.024e-06/0.04189, allocations: 0 / 1.001 GB, free: 15.17 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.761e-05/0.0419, allocations: 9.719 kB / 1.001 GB, free: 15.15 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 6.614e-05/0.04197, allocations: 310 kB / 1.002 GB, free: 14.84 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.171e-06/0.04198, allocations: 3.938 kB / 1.002 GB, free: 14.84 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.196e-06/0.04198, allocations: 4 kB / 1.002 GB, free: 14.84 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.99e-05/0.042, allocations: 75.28 kB / 1.002 GB, free: 14.76 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-05/0.04202, allocations: 75.28 kB / 1.002 GB, free: 14.69 MB / 0.9636 GB Notification: Performance of matching and sorting (n=0) (initialization): time 0.00014/0.04216, allocations: 244.2 kB / 1.002 GB, free: 14.44 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 2.96e-05/0.04219, allocations: 83.28 kB / 1.002 GB, free: 14.36 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.809e-05/0.0422, allocations: 79.22 kB / 1.002 GB, free: 14.28 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.938e-05/0.04224, allocations: 150.6 kB / 1.002 GB, free: 14.13 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.748e-05/0.04226, allocations: 83.28 kB / 1.002 GB, free: 14.05 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.468e-05/0.04229, allocations: 158.5 kB / 1.002 GB, free: 13.89 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000261/0.04256, allocations: 103.1 kB / 1.003 GB, free: 13.79 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.63e-05/0.04257, allocations: 79.22 kB / 1.003 GB, free: 13.71 MB / 0.9636 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.0005881/0.04316, allocations: 0.9451 MB / 1.004 GB, free: 12.76 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001397/0.0433, allocations: 319.5 kB / 1.004 GB, free: 12.44 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002126/0.04351, allocations: 337.2 kB / 1.004 GB, free: 12.1 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.795e-05/0.04356, allocations: 184.2 kB / 1.004 GB, free: 11.91 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.407e-05/0.0436, allocations: 180.3 kB / 1.005 GB, free: 11.73 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.834e-05/0.04365, allocations: 184.1 kB / 1.005 GB, free: 11.54 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006659/0.04432, allocations: 1.021 MB / 1.006 GB, free: 10.47 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.948e-05/0.04435, allocations: 109.2 kB / 1.006 GB, free: 10.36 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.019e-05/0.04438, allocations: 112.9 kB / 1.006 GB, free: 10.24 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.14e-05/0.04442, allocations: 176.3 kB / 1.006 GB, free: 10.06 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.943e-05/0.04447, allocations: 184.2 kB / 1.006 GB, free: 9.871 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.226e-05/0.04451, allocations: 180.3 kB / 1.006 GB, free: 9.688 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.441e-05/0.04456, allocations: 184.2 kB / 1.007 GB, free: 9.5 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002309/0.04479, allocations: 0.5223 MB / 1.007 GB, free: 8.953 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002139/0.045, allocations: 303.4 kB / 1.007 GB, free: 8.648 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001366/0.04514, allocations: 184.3 kB / 1.008 GB, free: 8.461 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003493/0.04549, allocations: 121 kB / 1.008 GB, free: 8.336 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.582e-05/0.04553, allocations: 180.2 kB / 1.008 GB, free: 8.152 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.635e-05/0.04556, allocations: 104.9 kB / 1.008 GB, free: 8.043 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.00165/0.04721, allocations: 2.091 MB / 1.01 GB, free: 5.945 MB / 0.9636 GB Notification: Performance of sort global known variables: time 9.1e-08/0.04721, allocations: 0 / 1.01 GB, free: 5.945 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.000299/0.04751, allocations: 180 kB / 1.01 GB, free: 5.77 MB / 0.9636 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.0004222/0.04793, allocations: 1.034 MB / 1.011 GB, free: 4.707 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 5.406e-05/0.04798, allocations: 4 kB / 1.011 GB, free: 4.703 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.04799, allocations: 0 / 1.011 GB, free: 4.703 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 1.032e-06/0.04799, allocations: 0 / 1.011 GB, free: 4.703 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003026/0.05101, allocations: 2.361 MB / 1.014 GB, free: 2.395 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01272/0.06373, allocations: 15.09 MB / 1.028 GB, free: 3.137 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009091/0.06464, allocations: 1.128 MB / 1.029 GB, free: 1.973 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.001193/0.06584, allocations: 443.5 kB / 1.03 GB, free: 1.535 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005002/0.06634, allocations: 0.6487 MB / 1.03 GB, free: 0.8867 MB / 0.9792 GB Notification: Performance of SimCode: time 2.665e-06/0.06634, allocations: 4 kB / 1.03 GB, free: 0.8828 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.482/0.5483, allocations: 78.85 MB / 1.107 GB, free: 118.6 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.706/9.254, allocations: 9.766 kB / 1.107 GB, free: 118.6 MB / 0.9948 GB " [Timeout remaining time 291] (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/jenkins/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: 13.396937758661807]