Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.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.0009715/0.0009715, 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.0009688/0.0009688, 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.9194/0.9194, allocations: 177.1 MB / 202.8 MB, free: 5.742 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.775/1.775, allocations: 377.8 MB / 0.6221 GB, free: 8.684 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.TotalAirDryAir,fileNamePrefix="Buildings_12_Buildings_Utilities_Psychrometrics_Examples_TotalAirDryAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir,fileNamePrefix="Buildings_12_Buildings_Utilities_Psychrometrics_Examples_TotalAirDryAir",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 0.9809 GB, free: 1.477 MB / 0.8855 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.761e-05/1.917e-05, allocations: 5.234 kB / 0.9809 GB, free: 1.473 MB / 0.8855 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir): time 0.001897/0.001916, allocations: 1.51 MB / 0.9824 GB, free: 15.95 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.0002567/0.002173, allocations: 127.5 kB / 0.9825 GB, free: 15.82 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.806e-05/0.002211, allocations: 0 / 0.9825 GB, free: 15.82 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 2.547e-05/0.002237, allocations: 7.875 kB / 0.9825 GB, free: 15.82 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 4.601e-05/0.002283, allocations: 3.938 kB / 0.9825 GB, free: 15.81 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002524/0.002535, allocations: 78.95 kB / 0.9826 GB, free: 15.74 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 9.532e-05/0.00263, allocations: 55.84 kB / 0.9827 GB, free: 15.68 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 9.725e-05/0.002727, allocations: 15.97 kB / 0.9827 GB, free: 15.67 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 7.51e-05/0.002803, allocations: 43.91 kB / 0.9827 GB, free: 15.62 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 5.199e-05/0.002855, allocations: 11.98 kB / 0.9827 GB, free: 15.61 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 2.756e-05/0.002882, allocations: 4 kB / 0.9828 GB, free: 15.61 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 1.133e-05/0.002893, allocations: 8 kB / 0.9828 GB, free: 15.6 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 3.255e-05/0.002926, allocations: 15.91 kB / 0.9828 GB, free: 15.59 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 3.139e-05/0.002957, allocations: 15.98 kB / 0.9828 GB, free: 15.57 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0001108/0.003068, allocations: 67.72 kB / 0.9829 GB, free: 15.5 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 1.693e-06/0.00307, allocations: 0 / 0.9829 GB, free: 15.5 MB / 0.9011 GB Notification: Performance of FrontEnd: time 6.31e-07/0.003071, allocations: 0 / 0.9829 GB, free: 15.5 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 4.718e-06/0.003075, allocations: 0 / 0.9829 GB, free: 15.5 MB / 0.9011 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0003554/0.003431, allocations: 302.2 kB / 0.9831 GB, free: 15.18 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.349e-05/0.003464, allocations: 8.031 kB / 0.9831 GB, free: 15.17 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.904e-05/0.003493, allocations: 38.75 kB / 0.9832 GB, free: 15.12 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.657e-05/0.00352, allocations: 4.891 kB / 0.9832 GB, free: 15.12 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.984e-05/0.00359, allocations: 109.8 kB / 0.9833 GB, free: 14.98 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.394e-05/0.003653, allocations: 63.95 kB / 0.9834 GB, free: 14.91 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.556e-06/0.003662, allocations: 4.375 kB / 0.9834 GB, free: 14.91 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001414/0.003803, allocations: 99.91 kB / 0.9835 GB, free: 14.8 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.612e-06/0.00381, allocations: 4.188 kB / 0.9835 GB, free: 14.79 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.049e-05/0.003821, allocations: 4.375 kB / 0.9835 GB, free: 14.79 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.793e-06/0.003827, allocations: 7.922 kB / 0.9835 GB, free: 14.78 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001004/0.003928, allocations: 47.89 kB / 0.9835 GB, free: 14.73 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003792/0.004307, allocations: 271.9 kB / 0.9838 GB, free: 14.43 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 8.065e-05/0.004388, allocations: 46.48 kB / 0.9838 GB, free: 14.37 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.209e-05/0.00444, allocations: 44.81 kB / 0.9839 GB, free: 14.32 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 9.037e-06/0.004449, allocations: 0 / 0.9839 GB, free: 14.32 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.8e-05/0.004467, allocations: 30.56 kB / 0.9839 GB, free: 14.29 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=4): time 6.31e-07/0.004467, allocations: 0 / 0.9839 GB, free: 14.29 MB / 0.9011 GB Notification: Performance of matching and sorting (n=4): time 0.0002128/0.00468, allocations: 101.6 kB / 0.984 GB, free: 14.18 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.134e-05/0.004711, allocations: 51.41 kB / 0.984 GB, free: 14.12 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.072e-05/0.004772, allocations: 117.8 kB / 0.9842 GB, free: 13.99 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 1.095e-05/0.004783, allocations: 25.7 kB / 0.9842 GB, free: 13.96 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 4.095e-05/0.004824, allocations: 92.08 kB / 0.9843 GB, free: 13.87 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 1.288e-05/0.004837, allocations: 11.91 kB / 0.9843 GB, free: 13.86 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.776e-05/0.004865, allocations: 17.72 kB / 0.9843 GB, free: 13.83 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 7.533e-05/0.00494, allocations: 322.8 kB / 0.9846 GB, free: 13.51 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.006e-05/0.00499, allocations: 19.98 kB / 0.9846 GB, free: 13.49 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.043e-05/0.005041, allocations: 33.69 kB / 0.9847 GB, free: 13.45 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.172e-05/0.005132, allocations: 57.69 kB / 0.9847 GB, free: 13.39 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.005135, allocations: 3.938 kB / 0.9847 GB, free: 13.38 MB / 0.9011 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001184/0.005253, allocations: 93.53 kB / 0.9848 GB, free: 13.29 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.195e-05/0.005265, allocations: 4 kB / 0.9848 GB, free: 13.28 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.098e-06/0.005269, allocations: 0 / 0.9848 GB, free: 13.28 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.588e-06/0.005279, allocations: 0 / 0.9848 GB, free: 13.28 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.906e-05/0.005338, allocations: 15.98 kB / 0.9848 GB, free: 13.27 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.278e-06/0.005342, allocations: 4.031 kB / 0.9848 GB, free: 13.26 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.593e-05/0.005368, allocations: 8 kB / 0.9848 GB, free: 13.25 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.579e-06/0.005373, allocations: 4 kB / 0.9848 GB, free: 13.25 MB / 0.9011 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (5): * Single equations (assignments): 5 * 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.093e-05/0.005424, allocations: 109.8 kB / 0.9849 GB, free: 13.13 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.743e-05/0.005441, allocations: 11.94 kB / 0.9849 GB, free: 13.12 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.959e-05/0.005461, allocations: 11.94 kB / 0.985 GB, free: 13.11 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.005462, allocations: 0 / 0.985 GB, free: 13.11 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.008e-06/0.005466, allocations: 0 / 0.985 GB, free: 13.11 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.806e-06/0.005469, allocations: 4 kB / 0.985 GB, free: 13.1 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001086/0.005578, allocations: 144.8 kB / 0.9851 GB, free: 12.92 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.00558, allocations: 8 kB / 0.9851 GB, free: 12.91 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.838e-05/0.005608, allocations: 11.98 kB / 0.9851 GB, free: 12.9 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.352e-06/0.005609, allocations: 0 / 0.9851 GB, free: 12.9 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.981e-06/0.005615, allocations: 7.938 kB / 0.9851 GB, free: 12.89 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.01e-07/0.005616, allocations: 0 / 0.9851 GB, free: 12.89 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.005617, allocations: 0 / 0.9851 GB, free: 12.89 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001416/0.005758, allocations: 183.7 kB / 0.9853 GB, free: 12.7 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 5.781e-06/0.005764, allocations: 3.953 kB / 0.9853 GB, free: 12.69 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.097e-06/0.005773, allocations: 4 kB / 0.9853 GB, free: 12.69 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.132e-05/0.005834, allocations: 11.98 kB / 0.9853 GB, free: 12.68 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.818e-05/0.005863, allocations: 0 / 0.9853 GB, free: 12.68 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.878e-06/0.005872, allocations: 15.86 kB / 0.9853 GB, free: 12.66 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 2.766e-05/0.0059, allocations: 83.28 kB / 0.9854 GB, free: 12.58 MB / 0.9011 GB Notification: Performance of sort global known variables: time 5e-08/0.0059, allocations: 4 kB / 0.9854 GB, free: 12.57 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0001461/0.006046, allocations: 8 kB / 0.9854 GB, free: 12.57 MB / 0.9011 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 (4): * Single equations (assignments): 4 * 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.0003031/0.006349, allocations: 0.7085 MB / 0.9861 GB, free: 11.83 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.0001321/0.006481, allocations: 55.89 kB / 0.9862 GB, free: 11.78 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.006483, allocations: 0 / 0.9862 GB, free: 11.78 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 4.182e-05/0.006525, allocations: 19.98 kB / 0.9862 GB, free: 11.76 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002016/0.006726, allocations: 11.98 kB / 0.9862 GB, free: 11.75 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009026/0.007629, allocations: 1.33 MB / 0.9875 GB, free: 10.33 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.281e-05/0.007672, allocations: 67.33 kB / 0.9876 GB, free: 10.24 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 3.157e-05/0.007703, allocations: 4 kB / 0.9876 GB, free: 10.24 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.624e-05/0.00774, allocations: 24.44 kB / 0.9876 GB, free: 10.21 MB / 0.9011 GB Notification: Performance of SimCode: time 3.8e-07/0.00774, allocations: 4 kB / 0.9876 GB, free: 10.21 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01262/0.02036, allocations: 2.47 MB / 0.99 GB, free: 7.898 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.759/6.779, allocations: 13.56 kB / 0.99 GB, free: 7.891 MB / 0.9011 GB " [Timeout remaining time 293] (rm -f Buildings_12_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe ; mkfifo Buildings_12_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe >> ../files/Buildings_12_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir_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_TotalAirDryAir.fmu > Buildings_12_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Psychrometrics_Examples_TotalAirDryAir.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable toTotalAir.XiDry in file Buildings_12_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir_res.csv. Warning: Get data of variable toTotalAir.XiDry from file Buildings_12_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir_res.csv failed! Error: Could not read variable toDryAir.XiTotalAir in file Buildings_12_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir_res.csv. Warning: Get data of variable toDryAir.XiTotalAir from file Buildings_12_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.919490463100374]