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.000797/0.000797, 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.000823/0.000823, allocations: 169.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.85/0.85, allocations: 177.1 MB / 202.8 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] 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 1.756/1.756, allocations: 389 MB / 0.633 GB, free: 12.67 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Templates.Components.Validation.PumpMultipleRecord,fileNamePrefix="Buildings_latest_Buildings_Templates_Components_Validation_PumpMultipleRecord",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 5e-06/5e-06, allocations: 0 / 0.9996 GB, free: 13.52 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.267e-05/2.767e-05, allocations: 2.281 kB / 0.9996 GB, free: 13.51 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Components.Validation.PumpMultipleRecord): time 0.003495/0.003523, allocations: 3.5 MB / 1.003 GB, free: 9.992 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.006268/0.009791, allocations: 6.085 MB / 1.009 GB, free: 3.875 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004734/0.01026, allocations: 31.81 kB / 1.009 GB, free: 3.844 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.003738/0.014, allocations: 1.942 MB / 1.011 GB, free: 1.895 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.0009259/0.01493, allocations: 0.6333 MB / 1.012 GB, free: 1.258 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 2.8e-05/0.01496, allocations: 4 kB / 1.012 GB, free: 1.254 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.01887/0.03383, allocations: 22.66 MB / 1.034 GB, free: 10.57 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002291/0.03406, allocations: 46.62 kB / 1.034 GB, free: 10.52 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001004/0.03506, allocations: 0.701 MB / 1.034 GB, free: 9.812 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006567/0.03572, allocations: 0.5878 MB / 1.035 GB, free: 9.223 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 8.99e-05/0.03581, allocations: 32 kB / 1.035 GB, free: 9.191 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001742/0.03598, allocations: 32 kB / 1.035 GB, free: 9.16 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.0005046/0.03649, allocations: 0.8103 MB / 1.036 GB, free: 8.348 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.0004394/0.03693, allocations: 474.6 kB / 1.036 GB, free: 7.883 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.001393/0.03832, allocations: 1.993 MB / 1.038 GB, free: 5.883 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.03833, allocations: 4 kB / 1.038 GB, free: 5.879 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.993e-06/0.03833, allocations: 0 / 1.038 GB, free: 5.879 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 5.274e-05/0.03838, allocations: 0 / 1.038 GB, free: 5.879 MB / 0.9948 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.00269/0.04107, allocations: 2.167 MB / 1.04 GB, free: 3.668 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.79e-05/0.04112, allocations: 12.75 kB / 1.04 GB, free: 3.656 MB / 0.9948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.285e-05/0.04116, allocations: 105.8 kB / 1.04 GB, free: 3.543 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002605/0.04142, allocations: 293.8 kB / 1.041 GB, free: 3.254 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002743/0.04416, allocations: 2.411 MB / 1.043 GB, free: 0.7656 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.929e-05/0.0442, allocations: 158.5 kB / 1.043 GB, free: 0.6094 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.522e-05/0.04424, allocations: 154.5 kB / 1.043 GB, free: 468 kB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.951e-05/0.0443, allocations: 101 kB / 1.043 GB, free: 360 kB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.138e-05/0.04432, allocations: 75.28 kB / 1.044 GB, free: 284 kB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.878e-05/0.04436, allocations: 154.5 kB / 1.044 GB, free: 128 kB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.4913/0.5356, allocations: 154.6 kB / 1.044 GB, free: 84.83 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.82e-05/0.5357, allocations: 154.3 kB / 1.044 GB, free: 84.68 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00117/0.5368, allocations: 1.077 MB / 1.045 GB, free: 84.16 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 4.364e-05/0.5369, allocations: 169 kB / 1.045 GB, free: 83.99 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.341e-05/0.5369, allocations: 87.2 kB / 1.045 GB, free: 83.91 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.15e-05/0.5369, allocations: 75.28 kB / 1.045 GB, free: 83.84 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.586e-05/0.5369, allocations: 110.8 kB / 1.045 GB, free: 83.72 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=0): time 1.893e-06/0.5369, allocations: 2.875 kB / 1.045 GB, free: 83.72 MB / 0.9948 GB Notification: Performance of matching and sorting (n=0): time 0.0001875/0.5371, allocations: 243.9 kB / 1.046 GB, free: 83.69 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.87e-05/0.5371, allocations: 133.2 kB / 1.046 GB, free: 83.55 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002078/0.5392, allocations: 2.85 MB / 1.049 GB, free: 82.65 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 5.119e-06/0.5392, allocations: 28.05 kB / 1.049 GB, free: 82.62 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004175/0.5396, allocations: 0.9036 MB / 1.05 GB, free: 81.91 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 2.685e-06/0.5396, allocations: 0 / 1.05 GB, free: 81.91 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.048e-05/0.5397, allocations: 12.66 kB / 1.05 GB, free: 81.89 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 3.303e-05/0.5397, allocations: 313.3 kB / 1.05 GB, free: 81.59 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.081e-06/0.5397, allocations: 0 / 1.05 GB, free: 81.59 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.258e-06/0.5397, allocations: 0.875 kB / 1.05 GB, free: 81.59 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.2e-05/0.5397, allocations: 78.19 kB / 1.05 GB, free: 81.51 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.231e-06/0.5397, allocations: 76.34 kB / 1.05 GB, free: 81.44 MB / 0.9948 GB Notification: Performance of matching and sorting (n=0) (initialization): time 0.000138/0.5399, allocations: 249.5 kB / 1.05 GB, free: 81.32 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 2.029e-05/0.5399, allocations: 80.78 kB / 1.05 GB, free: 81.25 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.646e-06/0.5399, allocations: 80.41 kB / 1.05 GB, free: 81.17 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.65e-05/0.5399, allocations: 158.9 kB / 1.051 GB, free: 81.02 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.354e-06/0.5399, allocations: 77.16 kB / 1.051 GB, free: 80.95 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.355e-05/0.5399, allocations: 154.3 kB / 1.051 GB, free: 80.8 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003572/0.5403, allocations: 96.05 kB / 1.051 GB, free: 80.73 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.333e-06/0.5403, allocations: 82.75 kB / 1.051 GB, free: 80.65 MB / 0.9948 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.0004517/0.5407, allocations: 0.945 MB / 1.052 GB, free: 80.18 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.949e-05/0.5408, allocations: 314.4 kB / 1.052 GB, free: 79.95 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001664/0.541, allocations: 344.5 kB / 1.052 GB, free: 79.77 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.427e-05/0.541, allocations: 182.4 kB / 1.053 GB, free: 79.59 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.469e-05/0.541, allocations: 181.5 kB / 1.053 GB, free: 79.4 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.415e-05/0.5411, allocations: 184.3 kB / 1.053 GB, free: 79.22 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005581/0.5416, allocations: 1.024 MB / 1.054 GB, free: 78.61 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.638e-06/0.5416, allocations: 108.2 kB / 1.054 GB, free: 78.5 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.004e-05/0.5416, allocations: 104.5 kB / 1.054 GB, free: 78.39 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.784e-05/0.5417, allocations: 181.8 kB / 1.054 GB, free: 78.21 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.097e-05/0.5417, allocations: 183.6 kB / 1.055 GB, free: 78.03 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.579e-05/0.5417, allocations: 182.9 kB / 1.055 GB, free: 77.84 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.688e-05/0.5417, allocations: 186.5 kB / 1.055 GB, free: 77.66 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001289/0.5418, allocations: 0.5109 MB / 1.055 GB, free: 77.22 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000174/0.542, allocations: 299.5 kB / 1.056 GB, free: 76.98 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001015/0.5421, allocations: 187 kB / 1.056 GB, free: 76.79 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002383/0.5423, allocations: 130.6 kB / 1.056 GB, free: 76.68 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.035e-05/0.5424, allocations: 180.3 kB / 1.056 GB, free: 76.5 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.023e-05/0.5424, allocations: 107.8 kB / 1.056 GB, free: 76.39 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.001464/0.5438, allocations: 2.092 MB / 1.058 GB, free: 75.7 MB / 0.9948 GB Notification: Performance of sort global known variables: time 2e-07/0.5438, allocations: 0 / 1.058 GB, free: 75.7 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0002866/0.5441, allocations: 177.9 kB / 1.058 GB, free: 75.7 MB / 0.9948 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.000253/0.5444, allocations: 1.03 MB / 1.059 GB, free: 74.78 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 4.091e-05/0.5444, allocations: 14.66 kB / 1.059 GB, free: 74.77 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.5444, allocations: 0 / 1.059 GB, free: 74.77 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 1.002e-06/0.5444, allocations: 0 / 1.059 GB, free: 74.77 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002769/0.5472, allocations: 2.343 MB / 1.062 GB, free: 73.93 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0139/0.5611, allocations: 15.07 MB / 1.077 GB, free: 68.27 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009002/0.562, allocations: 1.131 MB / 1.078 GB, free: 67.92 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.001617/0.5636, allocations: 433.2 kB / 1.078 GB, free: 67.84 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004311/0.564, allocations: 0.654 MB / 1.079 GB, free: 67.34 MB / 0.9948 GB Notification: Performance of SimCode: time 1.463e-06/0.564, allocations: 5.281 kB / 1.079 GB, free: 67.34 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08783/0.6519, allocations: 78.77 MB / 1.156 GB, free: 30.22 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.824/8.476, allocations: 10.92 kB / 1.156 GB, free: 30.21 MB / 0.9948 GB " [Timeout remaining time 291] (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/jenkins/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: 12.633494812063873]