Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.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.0008073/0.0008073, 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.0008954/0.0008954, 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.9271/0.9271, allocations: 177.2 MB / 202.8 MB, free: 5.734 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.719/1.719, allocations: 377.8 MB / 0.6221 GB, free: 8.656 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.Utilities.Psychrometrics.Examples.MassFraction_pTphi,fileNamePrefix="Buildings_12_Buildings_Utilities_Psychrometrics_Examples_MassFraction_pTphi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi,fileNamePrefix="Buildings_12_Buildings_Utilities_Psychrometrics_Examples_MassFraction_pTphi",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.723e-06/1.723e-06, allocations: 0 / 0.9809 GB, free: 2.598 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.511e-05/1.683e-05, allocations: 6.281 kB / 0.9809 GB, free: 2.59 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi): time 0.001875/0.001892, allocations: 1.629 MB / 0.9825 GB, free: 0.9531 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.5538/0.5557, allocations: 133.2 MB / 1.113 GB, free: 21.88 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.72e-05/0.5558, allocations: 5 kB / 1.113 GB, free: 21.88 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.0001467/0.556, allocations: 19.91 kB / 1.113 GB, free: 21.86 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.0002674/0.5562, allocations: 46.58 kB / 1.113 GB, free: 21.83 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003287/0.5566, allocations: 156.5 kB / 1.113 GB, free: 21.75 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.0001736/0.5567, allocations: 120.2 kB / 1.113 GB, free: 21.7 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001269/0.5569, allocations: 23.14 kB / 1.113 GB, free: 21.69 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008131/0.5577, allocations: 195.5 kB / 1.113 GB, free: 21.64 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 5.146e-05/0.5577, allocations: 36.53 kB / 1.113 GB, free: 21.62 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 2.134e-05/0.5578, allocations: 6.844 kB / 1.113 GB, free: 21.62 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002813/0.558, allocations: 180.1 kB / 1.113 GB, free: 21.57 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 4.315e-05/0.5581, allocations: 26.09 kB / 1.113 GB, free: 21.56 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 3.973e-05/0.5581, allocations: 36.11 kB / 1.113 GB, free: 21.54 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.0002953/0.5584, allocations: 204.4 kB / 1.114 GB, free: 21.47 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 3.778e-06/0.5584, allocations: 0 / 1.114 GB, free: 21.47 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.723e-06/0.5584, allocations: 0 / 1.114 GB, free: 21.47 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 5.07e-06/0.5584, allocations: 1.281 kB / 1.114 GB, free: 21.47 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0004358/0.5589, allocations: 375.9 kB / 1.114 GB, free: 21.15 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.123e-05/0.5589, allocations: 14.12 kB / 1.114 GB, free: 21.14 MB / 0.9948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.064e-05/0.5589, allocations: 38.97 kB / 1.114 GB, free: 21.1 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005382/0.5595, allocations: 87.08 kB / 1.114 GB, free: 21.09 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00017/0.5596, allocations: 147.6 kB / 1.114 GB, free: 20.95 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.268e-05/0.5597, allocations: 10.14 kB / 1.114 GB, free: 20.94 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.808e-05/0.5597, allocations: 5.344 kB / 1.114 GB, free: 20.94 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003022/0.56, allocations: 139.5 kB / 1.114 GB, free: 20.88 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.505e-06/0.56, allocations: 4 kB / 1.114 GB, free: 20.88 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.347e-05/0.56, allocations: 1.438 kB / 1.114 GB, free: 20.88 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.63e-06/0.56, allocations: 1.156 kB / 1.114 GB, free: 20.88 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002999/0.5603, allocations: 143.2 kB / 1.115 GB, free: 20.84 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005343/0.5608, allocations: 370.2 kB / 1.115 GB, free: 20.54 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004061/0.5612, allocations: 174.8 kB / 1.115 GB, free: 20.48 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001356/0.5614, allocations: 68.95 kB / 1.115 GB, free: 20.46 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.109e-05/0.5614, allocations: 2.156 kB / 1.115 GB, free: 20.46 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.459e-05/0.5614, allocations: 36.61 kB / 1.115 GB, free: 20.41 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=8): time 1.262e-06/0.5614, allocations: 0 / 1.115 GB, free: 20.41 MB / 0.9948 GB Notification: Performance of matching and sorting (n=8): time 0.0004673/0.5619, allocations: 218 kB / 1.115 GB, free: 20.34 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.529e-05/0.5619, allocations: 56.44 kB / 1.115 GB, free: 20.27 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.801e-05/0.562, allocations: 144.9 kB / 1.116 GB, free: 20.16 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 1.074e-05/0.562, allocations: 30.83 kB / 1.116 GB, free: 20.12 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 3.735e-05/0.562, allocations: 104.8 kB / 1.116 GB, free: 20.03 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 2.588e-05/0.5621, allocations: 28.41 kB / 1.116 GB, free: 20 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.894e-05/0.5621, allocations: 24.28 kB / 1.116 GB, free: 19.98 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 3.678e-05/0.5621, allocations: 321.4 kB / 1.116 GB, free: 19.67 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001212/0.5623, allocations: 54.05 kB / 1.116 GB, free: 19.66 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000145/0.5624, allocations: 131.4 kB / 1.116 GB, free: 19.55 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002362/0.5626, allocations: 119.6 kB / 1.116 GB, free: 19.52 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.5626, allocations: 1.188 kB / 1.116 GB, free: 19.52 MB / 0.9948 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002848/0.5629, allocations: 163.2 kB / 1.116 GB, free: 19.45 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.455e-05/0.5629, allocations: 5.531 kB / 1.117 GB, free: 19.45 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.599e-06/0.5629, allocations: 1.031 kB / 1.117 GB, free: 19.45 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.338e-05/0.563, allocations: 1.062 kB / 1.117 GB, free: 19.45 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001236/0.5631, allocations: 35.3 kB / 1.117 GB, free: 19.45 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.781e-06/0.5631, allocations: 1.031 kB / 1.117 GB, free: 19.45 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.897e-05/0.5632, allocations: 22.55 kB / 1.117 GB, free: 19.44 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.122e-05/0.5632, allocations: 5.609 kB / 1.117 GB, free: 19.44 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 (8): * Single equations (assignments): 8 * 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 5.314e-05/0.5632, allocations: 120.5 kB / 1.117 GB, free: 19.32 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.995e-05/0.5632, allocations: 8.422 kB / 1.117 GB, free: 19.32 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.464e-05/0.5633, allocations: 23.3 kB / 1.117 GB, free: 19.3 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.587e-06/0.5633, allocations: 5.859 kB / 1.117 GB, free: 19.29 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/0.5633, allocations: 3.938 kB / 1.117 GB, free: 19.29 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.5633, allocations: 1.75 kB / 1.117 GB, free: 19.29 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004857/0.5638, allocations: 422.6 kB / 1.117 GB, free: 18.97 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.5638, allocations: 4 kB / 1.117 GB, free: 18.96 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001259/0.5639, allocations: 28 kB / 1.117 GB, free: 18.96 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.536e-06/0.5639, allocations: 0.5625 kB / 1.117 GB, free: 18.96 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.395e-05/0.5639, allocations: 1.578 kB / 1.117 GB, free: 18.96 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.755e-06/0.5639, allocations: 1.75 kB / 1.117 GB, free: 18.96 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.5639, allocations: 3.938 kB / 1.117 GB, free: 18.96 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003227/0.5643, allocations: 260 kB / 1.117 GB, free: 18.79 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.305e-05/0.5643, allocations: 9.031 kB / 1.117 GB, free: 18.79 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.612e-05/0.5643, allocations: 1.062 kB / 1.117 GB, free: 18.79 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.189e-05/0.5644, allocations: 14.61 kB / 1.117 GB, free: 18.79 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.125e-05/0.5644, allocations: 10.08 kB / 1.117 GB, free: 18.79 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.213e-06/0.5644, allocations: 2.578 kB / 1.117 GB, free: 18.79 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 4.411e-05/0.5645, allocations: 119.9 kB / 1.118 GB, free: 18.7 MB / 0.9948 GB Notification: Performance of sort global known variables: time 7e-08/0.5645, allocations: 4 kB / 1.118 GB, free: 18.69 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0001834/0.5646, allocations: 32.61 kB / 1.118 GB, free: 18.68 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 (8): * Single equations (assignments): 8 * 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.0004666/0.5651, allocations: 0.7989 MB / 1.118 GB, free: 17.99 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.0002897/0.5654, allocations: 127.9 kB / 1.118 GB, free: 17.96 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 1.393e-06/0.5654, allocations: 0 / 1.118 GB, free: 17.96 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001258/0.5655, allocations: 67.72 kB / 1.119 GB, free: 17.95 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002438/0.5658, allocations: 32.48 kB / 1.119 GB, free: 17.94 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00156/0.5673, allocations: 1.729 MB / 1.12 GB, free: 16.6 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.251e-05/0.5674, allocations: 90.83 kB / 1.12 GB, free: 16.52 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 9.241e-05/0.5675, allocations: 33.78 kB / 1.12 GB, free: 16.51 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.242e-05/0.5675, allocations: 31.3 kB / 1.12 GB, free: 16.49 MB / 0.9948 GB Notification: Performance of SimCode: time 6.41e-07/0.5675, allocations: 3.938 kB / 1.12 GB, free: 16.48 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02043/0.588, allocations: 4.22 MB / 1.125 GB, free: 15.42 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.949/7.537, allocations: 5.312 kB / 1.125 GB, free: 15.42 MB / 0.9948 GB " [Timeout remaining time 292] (rm -f Buildings_12_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe ; mkfifo Buildings_12_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe >> ../files/Buildings_12_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_12_Buildings_Utilities_Psychrometrics_Examples_MassFraction_pTphi.fmu > Buildings_12_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Psychrometrics_Examples_MassFraction_pTphi.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable masFra1.phi in file Buildings_12_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi_res.csv. Warning: Get data of variable masFra1.phi from file Buildings_12_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi_res.csv failed! Error: Could not read variable masFra1.T in file Buildings_12_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi_res.csv. Warning: Get data of variable masFra1.T from file Buildings_12_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 11.690305696800351]