Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001399/0.001399, allocations: 108.2 kB / 17.54 MB, free: 4.746 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001427/0.001427, allocations: 186.7 kB / 20.71 MB, free: 1.586 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.309/1.309, allocations: 225.6 MB / 249.3 MB, free: 3.195 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.357/2.357, allocations: 443.5 MB / 0.7304 GB, free: 13.9 MB / 0.5763 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi,fileNamePrefix="Buildings_10_Buildings_Utilities_Psychrometrics_Examples_MassFraction_pTphi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi,fileNamePrefix="Buildings_10_Buildings_Utilities_Psychrometrics_Examples_MassFraction_pTphi",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001834/0.001834, allocations: 71.88 kB / 1.059 GB, free: 0.9492 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.255/0.2568, allocations: 160.7 MB / 1.216 GB, free: 15.93 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi): time 0.002706/0.2595, allocations: 1.659 MB / 1.217 GB, free: 14.25 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.6632/0.9227, allocations: 152.1 MB / 1.366 GB, free: 4.254 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000118/0.9229, allocations: 1.156 kB / 1.366 GB, free: 4.254 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0001483/0.923, allocations: 16.8 kB / 1.366 GB, free: 4.242 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0002582/0.9233, allocations: 47.3 kB / 1.366 GB, free: 4.211 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004748/0.9237, allocations: 153.7 kB / 1.366 GB, free: 4.133 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0002044/0.9239, allocations: 119.2 kB / 1.366 GB, free: 4.078 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001112/0.9241, allocations: 21.75 kB / 1.366 GB, free: 4.066 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001292/0.9253, allocations: 179.5 kB / 1.366 GB, free: 4.016 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 8.234e-05/0.9254, allocations: 41.41 kB / 1.366 GB, free: 3.996 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.873e-05/0.9254, allocations: 11.59 kB / 1.366 GB, free: 3.992 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000398/0.9258, allocations: 177.8 kB / 1.366 GB, free: 3.945 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 6.6e-05/0.9259, allocations: 26.66 kB / 1.366 GB, free: 3.93 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 8.294e-05/0.926, allocations: 47.59 kB / 1.366 GB, free: 3.898 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0004071/0.9264, allocations: 190.3 kB / 1.367 GB, free: 3.828 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.9264, allocations: 1.625 kB / 1.367 GB, free: 3.828 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.263e-06/0.9264, allocations: 0 / 1.367 GB, free: 3.828 MB / 1.045 GB Notification: Performance of Transformations before backend: time 6.663e-06/0.9264, allocations: 0 / 1.367 GB, free: 3.828 MB / 1.045 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.0006867/0.9271, allocations: 457.6 kB / 1.367 GB, free: 3.402 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.539e-05/0.9271, allocations: 9.969 kB / 1.367 GB, free: 3.402 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.176e-05/0.9272, allocations: 36.94 kB / 1.367 GB, free: 3.359 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008685/0.928, allocations: 82.09 kB / 1.367 GB, free: 3.348 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002491/0.9283, allocations: 210.5 kB / 1.367 GB, free: 3.129 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.174e-05/0.9283, allocations: 7.75 kB / 1.367 GB, free: 3.125 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.424e-05/0.9283, allocations: 5.312 kB / 1.367 GB, free: 3.125 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004235/0.9288, allocations: 134.9 kB / 1.368 GB, free: 3.07 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.405e-06/0.9288, allocations: 5.469 kB / 1.368 GB, free: 3.066 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.591e-05/0.9288, allocations: 4 kB / 1.368 GB, free: 3.062 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.244e-06/0.9288, allocations: 6 kB / 1.368 GB, free: 3.059 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005215/0.9293, allocations: 136.3 kB / 1.368 GB, free: 3.031 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007637/0.9301, allocations: 416.5 kB / 1.368 GB, free: 2.691 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007189/0.9308, allocations: 246.1 kB / 1.368 GB, free: 2.535 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002425/0.931, allocations: 77.94 kB / 1.368 GB, free: 2.512 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.188e-05/0.9311, allocations: 0 / 1.368 GB, free: 2.512 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.563e-05/0.9311, allocations: 37.88 kB / 1.368 GB, free: 2.469 MB / 1.045 GB Notification: Performance of pre-optimization done (n=8): time 9.12e-07/0.9311, allocations: 1.438 kB / 1.368 GB, free: 2.469 MB / 1.045 GB Notification: Performance of matching and sorting (n=8): time 0.0007757/0.9319, allocations: 222.2 kB / 1.369 GB, free: 2.387 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.286e-05/0.9319, allocations: 51.41 kB / 1.369 GB, free: 2.324 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001453/0.932, allocations: 147.2 kB / 1.369 GB, free: 2.211 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.369e-05/0.9321, allocations: 25.7 kB / 1.369 GB, free: 2.18 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 6.799e-05/0.9321, allocations: 102.4 kB / 1.369 GB, free: 2.086 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 3.572e-05/0.9322, allocations: 32.64 kB / 1.369 GB, free: 2.059 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.418e-05/0.9322, allocations: 26.48 kB / 1.369 GB, free: 2.035 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001333/0.9324, allocations: 326.7 kB / 1.369 GB, free: 1.715 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002152/0.9326, allocations: 54.34 kB / 1.369 GB, free: 1.703 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000232/0.9328, allocations: 78.09 kB / 1.369 GB, free: 1.664 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004061/0.9332, allocations: 117.5 kB / 1.37 GB, free: 1.633 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.9332, allocations: 0 / 1.37 GB, free: 1.633 MB / 1.045 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0004973/0.9337, allocations: 158.6 kB / 1.37 GB, free: 1.57 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.441e-05/0.9337, allocations: 7.781 kB / 1.37 GB, free: 1.57 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.727e-06/0.9337, allocations: 0 / 1.37 GB, free: 1.57 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.355e-05/0.9337, allocations: 1.25 kB / 1.37 GB, free: 1.57 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002102/0.934, allocations: 39.02 kB / 1.37 GB, free: 1.559 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.02e-06/0.934, allocations: 0 / 1.37 GB, free: 1.559 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001451/0.9341, allocations: 24.88 kB / 1.37 GB, free: 1.551 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.059e-05/0.9341, allocations: 2.312 kB / 1.37 GB, free: 1.551 MB / 1.045 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 9.885e-05/0.9342, allocations: 120.7 kB / 1.37 GB, free: 1.43 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.07e-05/0.9343, allocations: 12.7 kB / 1.37 GB, free: 1.422 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.224e-05/0.9343, allocations: 17.75 kB / 1.37 GB, free: 1.41 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.384e-06/0.9343, allocations: 1.25 kB / 1.37 GB, free: 1.41 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.9343, allocations: 0 / 1.37 GB, free: 1.41 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/0.9343, allocations: 5.359 kB / 1.37 GB, free: 1.406 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008156/0.9351, allocations: 473.4 kB / 1.37 GB, free: 1.039 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.9351, allocations: 0 / 1.37 GB, free: 1.039 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001784/0.9353, allocations: 29.23 kB / 1.37 GB, free: 1.039 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.336e-06/0.9353, allocations: 5.406 kB / 1.37 GB, free: 1.035 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.215e-05/0.9353, allocations: 1.125 kB / 1.37 GB, free: 1.035 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.488e-06/0.9353, allocations: 3.938 kB / 1.37 GB, free: 1.031 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/0.9353, allocations: 1.219 kB / 1.37 GB, free: 1.031 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005487/0.9359, allocations: 262.8 kB / 1.371 GB, free: 0.8594 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 5.399e-05/0.9359, allocations: 85.12 kB / 1.371 GB, free: 0.7617 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.375e-05/0.936, allocations: 6.516 kB / 1.371 GB, free: 0.7578 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000171/0.9361, allocations: 21.7 kB / 1.371 GB, free: 0.75 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.381e-05/0.9362, allocations: 8.891 kB / 1.371 GB, free: 0.7461 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.03e-05/0.9362, allocations: 3.234 kB / 1.371 GB, free: 0.7461 MB / 1.045 GB Notification: Performance of sorting global known variables: time 9.176e-05/0.9363, allocations: 116.7 kB / 1.371 GB, free: 0.6602 MB / 1.045 GB Notification: Performance of sort global known variables: time 7e-08/0.9363, allocations: 0 / 1.371 GB, free: 0.6602 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002853/0.9366, allocations: 31.83 kB / 1.371 GB, free: 0.6523 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 (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.0009442/0.9375, allocations: 0.7973 MB / 1.372 GB, free: 15.96 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0005091/0.938, allocations: 127.2 kB / 1.372 GB, free: 15.93 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.938, allocations: 0 / 1.372 GB, free: 15.93 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0002484/0.9383, allocations: 67.94 kB / 1.372 GB, free: 15.91 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003998/0.9387, allocations: 40.42 kB / 1.372 GB, free: 15.9 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00262/0.9413, allocations: 1.732 MB / 1.374 GB, free: 14.56 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003164/0.9416, allocations: 0.7029 MB / 1.374 GB, free: 13.86 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0001193/0.9417, allocations: 23.03 kB / 1.374 GB, free: 13.86 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.841e-05/0.9418, allocations: 35.3 kB / 1.374 GB, free: 13.83 MB / 1.061 GB Notification: Performance of SimCode: time 4.01e-07/0.9418, allocations: 4 kB / 1.374 GB, free: 13.83 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02335/0.9652, allocations: 3.36 MB / 1.378 GB, free: 13.35 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.134/8.099, allocations: 5.312 kB / 1.378 GB, free: 13.35 MB / 1.061 GB " [Timeout remaining time 292] (rm -f Buildings_10_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe ; mkfifo Buildings_10_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe >> ../files/Buildings_10_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.sim & python3 -m fmpy simulate --output-file Buildings_10_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_10_Buildings_Utilities_Psychrometrics_Examples_MassFraction_pTphi.fmu > Buildings_10_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Psychrometrics_Examples_MassFraction_pTphi.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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_10_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi_res.csv. Warning: Get data of variable masFra1.phi from file Buildings_10_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi_res.csv failed! Error: Could not read variable masFra1.T in file Buildings_10_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi_res.csv. Warning: Get data of variable masFra1.T from file Buildings_10_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 13.354699499999697]