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.0008095/0.0008095, 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.0008886/0.0008886, 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.8656/0.8656, allocations: 177.1 MB / 202.8 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.723/1.723, allocations: 377.8 MB / 0.6221 GB, free: 8.621 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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: Performance of FrontEnd - loaded program: time 1.453e-06/1.453e-06, allocations: 0 / 0.9809 GB, free: 2.586 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.902e-05/2.047e-05, allocations: 2.281 kB / 0.9809 GB, free: 2.582 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Components.Validation.PumpMultipleRecord): time 0.003215/0.003236, allocations: 3.492 MB / 0.9843 GB, free: 15.07 MB / 0.948 GB Notification: Performance of NFInst.instExpressions: time 0.004932/0.008168, allocations: 5.946 MB / 0.9902 GB, free: 9.102 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001714/0.008339, allocations: 35.81 kB / 0.9902 GB, free: 9.066 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.002579/0.01092, allocations: 1.945 MB / 0.9921 GB, free: 7.117 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.0005176/0.01144, allocations: 0.6255 MB / 0.9927 GB, free: 6.488 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 1.661e-05/0.01145, allocations: 8 kB / 0.9927 GB, free: 6.48 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.01667/0.02813, allocations: 22.66 MB / 1.015 GB, free: 15.79 MB / 0.9792 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001152/0.02824, allocations: 42.56 kB / 1.015 GB, free: 15.73 MB / 0.9792 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005775/0.02882, allocations: 0.701 MB / 1.016 GB, free: 15.03 MB / 0.9792 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004261/0.02924, allocations: 0.5916 MB / 1.016 GB, free: 14.44 MB / 0.9792 GB Notification: Performance of NFPackage.collectConstants: time 4.688e-05/0.02929, allocations: 32 kB / 1.016 GB, free: 14.41 MB / 0.9792 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001037/0.02939, allocations: 32 kB / 1.016 GB, free: 14.38 MB / 0.9792 GB Notification: Performance of NFScalarize.scalarize: time 0.0003871/0.02978, allocations: 0.8143 MB / 1.017 GB, free: 13.56 MB / 0.9792 GB Notification: Performance of NFVerifyModel.verify: time 0.0002989/0.03008, allocations: 466.6 kB / 1.017 GB, free: 13.11 MB / 0.9792 GB Notification: Performance of NFConvertDAE.convert: time 0.001095/0.03118, allocations: 1.993 MB / 1.019 GB, free: 11.11 MB / 0.9792 GB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.03118, allocations: 0 / 1.019 GB, free: 11.11 MB / 0.9792 GB Notification: Performance of FrontEnd: time 1.382e-06/0.03118, allocations: 0 / 1.019 GB, free: 11.11 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 1.095e-05/0.03119, allocations: 0 / 1.019 GB, free: 11.11 MB / 0.9792 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.001779/0.03297, allocations: 2.179 MB / 1.022 GB, free: 8.883 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 3.841e-05/0.03301, allocations: 8.031 kB / 1.022 GB, free: 8.875 MB / 0.9792 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.165e-05/0.03305, allocations: 105.8 kB / 1.022 GB, free: 8.762 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001644/0.03321, allocations: 293.8 kB / 1.022 GB, free: 8.473 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002134/0.03535, allocations: 2.407 MB / 1.024 GB, free: 5.992 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.594e-05/0.03539, allocations: 154.6 kB / 1.024 GB, free: 5.84 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.299e-05/0.03542, allocations: 154.5 kB / 1.025 GB, free: 5.688 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.417e-05/0.03547, allocations: 104.9 kB / 1.025 GB, free: 5.578 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.062e-05/0.03549, allocations: 79.28 kB / 1.025 GB, free: 5.5 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.098e-05/0.03553, allocations: 158.5 kB / 1.025 GB, free: 5.344 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.91e-05/0.03557, allocations: 154.5 kB / 1.025 GB, free: 5.191 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.071e-05/0.03561, allocations: 154.5 kB / 1.025 GB, free: 5.039 MB / 0.9792 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006885/0.0363, allocations: 1.076 MB / 1.026 GB, free: 3.922 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 6.606e-05/0.03637, allocations: 177.1 kB / 1.026 GB, free: 3.738 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.361e-05/0.03639, allocations: 80.14 kB / 1.026 GB, free: 3.656 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 2.066e-05/0.03641, allocations: 75.28 kB / 1.027 GB, free: 3.582 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.436e-05/0.03645, allocations: 109.8 kB / 1.027 GB, free: 3.465 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=0): time 1.673e-06/0.03645, allocations: 3.984 kB / 1.027 GB, free: 3.461 MB / 0.9792 GB Notification: Performance of matching and sorting (n=0): time 0.0001609/0.03661, allocations: 240.2 kB / 1.027 GB, free: 3.219 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.37e-05/0.03665, allocations: 130.7 kB / 1.027 GB, free: 3.078 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002301/0.03895, allocations: 2.859 MB / 1.03 GB, free: 212 kB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 1.04e-05/0.03896, allocations: 25.7 kB / 1.03 GB, free: 180 kB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006105/0.03958, allocations: 0.9067 MB / 1.031 GB, free: 15.26 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 2.284e-06/0.03958, allocations: 0 / 1.031 GB, free: 15.26 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.75e-05/0.0396, allocations: 9.719 kB / 1.031 GB, free: 15.25 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 8.603e-05/0.03968, allocations: 310 kB / 1.031 GB, free: 14.94 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.523e-06/0.03969, allocations: 0 / 1.031 GB, free: 14.94 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.97e-06/0.03969, allocations: 4 kB / 1.031 GB, free: 14.93 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.481e-05/0.03972, allocations: 79.27 kB / 1.031 GB, free: 14.86 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.061e-05/0.03974, allocations: 75.28 kB / 1.031 GB, free: 14.78 MB / 0.9948 GB Notification: Performance of matching and sorting (n=0) (initialization): time 0.0001603/0.0399, allocations: 240.2 kB / 1.031 GB, free: 14.54 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 3.164e-05/0.03993, allocations: 79.28 kB / 1.031 GB, free: 14.46 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.301e-05/0.03995, allocations: 83.22 kB / 1.032 GB, free: 14.38 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.787e-05/0.04, allocations: 154.6 kB / 1.032 GB, free: 14.23 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.905e-05/0.04002, allocations: 75.33 kB / 1.032 GB, free: 14.15 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.176e-05/0.04006, allocations: 170.4 kB / 1.032 GB, free: 13.98 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002668/0.04033, allocations: 91.25 kB / 1.032 GB, free: 13.89 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.016e-05/0.04035, allocations: 79.22 kB / 1.032 GB, free: 13.82 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.0005787/0.04093, allocations: 0.9451 MB / 1.033 GB, free: 12.86 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000144/0.04107, allocations: 319.5 kB / 1.033 GB, free: 12.54 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002028/0.04127, allocations: 341.1 kB / 1.034 GB, free: 12.19 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.968e-05/0.04131, allocations: 176.3 kB / 1.034 GB, free: 12.01 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.42e-05/0.04136, allocations: 184.2 kB / 1.034 GB, free: 11.82 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.263e-05/0.0414, allocations: 188.1 kB / 1.034 GB, free: 11.63 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000722/0.04212, allocations: 1.021 MB / 1.035 GB, free: 10.56 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-05/0.04215, allocations: 113.1 kB / 1.035 GB, free: 10.45 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.622e-05/0.04218, allocations: 109 kB / 1.035 GB, free: 10.33 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.207e-05/0.04222, allocations: 176.3 kB / 1.036 GB, free: 10.15 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.721e-05/0.04227, allocations: 184.2 kB / 1.036 GB, free: 9.965 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.544e-05/0.04231, allocations: 184.2 kB / 1.036 GB, free: 9.777 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.137e-05/0.04235, allocations: 180.2 kB / 1.036 GB, free: 9.594 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000216/0.04257, allocations: 0.5184 MB / 1.037 GB, free: 9.051 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002076/0.04278, allocations: 307.4 kB / 1.037 GB, free: 8.742 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001357/0.04291, allocations: 180.3 kB / 1.037 GB, free: 8.559 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002777/0.04319, allocations: 124.9 kB / 1.037 GB, free: 8.43 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.833e-05/0.04324, allocations: 180.2 kB / 1.037 GB, free: 8.246 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.207e-05/0.04326, allocations: 101 kB / 1.037 GB, free: 8.141 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.001673/0.04493, allocations: 2.091 MB / 1.039 GB, free: 6.043 MB / 0.9948 GB Notification: Performance of sort global known variables: time 8.1e-08/0.04493, allocations: 7.938 kB / 1.039 GB, free: 6.035 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0002819/0.04521, allocations: 176 kB / 1.04 GB, free: 5.863 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.0003723/0.04559, allocations: 1.034 MB / 1.041 GB, free: 4.797 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 3.512e-05/0.04562, allocations: 0 / 1.041 GB, free: 4.797 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 1.302e-06/0.04562, allocations: 0 / 1.041 GB, free: 4.797 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 2.545e-06/0.04563, allocations: 7.938 kB / 1.041 GB, free: 4.789 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002896/0.04852, allocations: 2.34 MB / 1.043 GB, free: 2.496 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3971/0.4457, allocations: 15.08 MB / 1.058 GB, free: 98.07 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006701/0.4463, allocations: 1.13 MB / 1.059 GB, free: 97.72 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.001084/0.4474, allocations: 436.2 kB / 1.059 GB, free: 97.68 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003831/0.4478, allocations: 0.6499 MB / 1.06 GB, free: 97.18 MB / 0.9948 GB Notification: Performance of SimCode: time 1.453e-06/0.4478, allocations: 0 / 1.06 GB, free: 97.18 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09161/0.5394, allocations: 78.84 MB / 1.137 GB, free: 68.09 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.832/8.371, allocations: 9.891 kB / 1.137 GB, free: 68.08 MB / 0.9948 GB " [Timeout remaining time 292] (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/jenkins/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: 12.533526457846165]