Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.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.0007938/0.0007938, allocations: 76.44 kB / 19.17 MB, free: 0.7305 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.0008477/0.0008477, allocations: 169.9 kB / 22.46 MB, free: 2.094 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.8989/0.8989, allocations: 177.1 MB / 202.8 MB, free: 5.75 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.78/1.78, allocations: 377.9 MB / 0.6221 GB, free: 8.672 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.HumidityRatioPressure,fileNamePrefix="Buildings_12_Buildings_Utilities_Psychrometrics_Examples_HumidityRatioPressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure,fileNamePrefix="Buildings_12_Buildings_Utilities_Psychrometrics_Examples_HumidityRatioPressure",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.713e-06/1.713e-06, allocations: 0 / 0.9809 GB, free: 2.629 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.533e-05/1.704e-05, allocations: 5.375 kB / 0.9809 GB, free: 2.625 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure): time 0.001916/0.001933, allocations: 1.658 MB / 0.9826 GB, free: 0.957 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.0005157/0.002448, allocations: 390.6 kB / 0.9829 GB, free: 0.5742 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.977e-05/0.002508, allocations: 0 / 0.9829 GB, free: 0.5742 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 8.613e-05/0.002594, allocations: 7.875 kB / 0.9829 GB, free: 0.5664 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 4.174e-05/0.002636, allocations: 27.78 kB / 0.983 GB, free: 0.5391 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003625/0.002999, allocations: 133.4 kB / 0.9831 GB, free: 420 kB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 0.0001255/0.003124, allocations: 107.5 kB / 0.9832 GB, free: 312 kB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000112/0.003236, allocations: 23.97 kB / 0.9832 GB, free: 288 kB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 7.531e-05/0.003311, allocations: 59.89 kB / 0.9833 GB, free: 228 kB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 5.46e-05/0.003366, allocations: 31.89 kB / 0.9833 GB, free: 196 kB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 1.841e-05/0.003384, allocations: 8 kB / 0.9833 GB, free: 188 kB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 9.976e-05/0.003484, allocations: 63.94 kB / 0.9834 GB, free: 124 kB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 2.265e-05/0.003507, allocations: 19.97 kB / 0.9834 GB, free: 104 kB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 2.945e-05/0.003536, allocations: 31.92 kB / 0.9834 GB, free: 72 kB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.0001939/0.00373, allocations: 147.5 kB / 0.9836 GB, free: 15.93 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 1.984e-06/0.003732, allocations: 0 / 0.9836 GB, free: 15.93 MB / 0.948 GB Notification: Performance of FrontEnd: time 8.02e-07/0.003733, allocations: 0 / 0.9836 GB, free: 15.93 MB / 0.948 GB Notification: Performance of Transformations before backend: time 4.658e-06/0.003738, allocations: 0 / 0.9836 GB, free: 15.93 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0004554/0.004193, allocations: 341.8 kB / 0.9839 GB, free: 15.56 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.884e-05/0.004232, allocations: 12.03 kB / 0.9839 GB, free: 15.55 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.422e-05/0.004266, allocations: 38.73 kB / 0.9839 GB, free: 15.5 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001513/0.004417, allocations: 32.86 kB / 0.984 GB, free: 15.47 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001895/0.004607, allocations: 137.6 kB / 0.9841 GB, free: 15.31 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.31e-05/0.00467, allocations: 63.95 kB / 0.9842 GB, free: 15.23 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.1e-05/0.004681, allocations: 4.375 kB / 0.9842 GB, free: 15.23 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001945/0.004875, allocations: 130.2 kB / 0.9843 GB, free: 15.09 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.234e-06/0.004883, allocations: 192 / 0.9843 GB, free: 15.09 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.323e-05/0.004896, allocations: 4.375 kB / 0.9843 GB, free: 15.09 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.24e-06/0.004901, allocations: 7.938 kB / 0.9843 GB, free: 15.08 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001508/0.005052, allocations: 87.78 kB / 0.9844 GB, free: 15 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000498/0.00555, allocations: 331.7 kB / 0.9847 GB, free: 14.63 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003146/0.005865, allocations: 130.6 kB / 0.9848 GB, free: 14.49 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.526e-05/0.00593, allocations: 36.78 kB / 0.9849 GB, free: 14.45 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.308e-05/0.005943, allocations: 7.984 kB / 0.9849 GB, free: 14.45 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.602e-05/0.005959, allocations: 30.56 kB / 0.9849 GB, free: 14.41 MB / 0.948 GB Notification: Performance of pre-optimization done (n=7): time 1.322e-06/0.00596, allocations: 0 / 0.9849 GB, free: 14.41 MB / 0.948 GB Notification: Performance of matching and sorting (n=7): time 0.0002747/0.006235, allocations: 141.4 kB / 0.985 GB, free: 14.26 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.459e-05/0.006259, allocations: 51.41 kB / 0.9851 GB, free: 14.2 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.971e-05/0.006339, allocations: 137.8 kB / 0.9852 GB, free: 14.05 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.351e-05/0.006353, allocations: 29.7 kB / 0.9852 GB, free: 14.02 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 4.222e-05/0.006395, allocations: 104 kB / 0.9853 GB, free: 13.91 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 1.924e-05/0.006414, allocations: 31.94 kB / 0.9854 GB, free: 13.88 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.2e-05/0.006446, allocations: 17.72 kB / 0.9854 GB, free: 13.86 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.734e-05/0.006523, allocations: 322.8 kB / 0.9857 GB, free: 13.54 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.879e-05/0.006582, allocations: 27.98 kB / 0.9857 GB, free: 13.51 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.503e-05/0.006647, allocations: 45.69 kB / 0.9858 GB, free: 13.46 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001219/0.006769, allocations: 82.09 kB / 0.9858 GB, free: 13.37 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.983e-06/0.006771, allocations: 0 / 0.9858 GB, free: 13.37 MB / 0.948 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001526/0.006924, allocations: 109.6 kB / 0.9859 GB, free: 13.26 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.474e-05/0.006938, allocations: 10.34 kB / 0.986 GB, free: 13.25 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.097e-06/0.006943, allocations: 0 / 0.986 GB, free: 13.25 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.064e-05/0.006953, allocations: 0 / 0.986 GB, free: 13.25 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.131e-05/0.007015, allocations: 19.92 kB / 0.986 GB, free: 13.23 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.18e-06/0.00702, allocations: 8.031 kB / 0.986 GB, free: 13.22 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.341e-05/0.007063, allocations: 19.86 kB / 0.986 GB, free: 13.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.899e-06/0.007068, allocations: 0 / 0.986 GB, free: 13.2 MB / 0.948 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 (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 6.317e-05/0.007131, allocations: 113.8 kB / 0.9861 GB, free: 13.08 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.056e-05/0.007152, allocations: 11.95 kB / 0.9861 GB, free: 13.07 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.205e-05/0.007174, allocations: 12.78 kB / 0.9861 GB, free: 13.06 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.007176, allocations: 0 / 0.9861 GB, free: 13.06 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.01e-06/0.007181, allocations: 0 / 0.9861 GB, free: 13.06 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.711e-06/0.007187, allocations: 7.938 kB / 0.9861 GB, free: 13.05 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002872/0.007474, allocations: 160.7 kB / 0.9863 GB, free: 12.85 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.007475, allocations: 4 kB / 0.9863 GB, free: 12.85 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.938e-05/0.007525, allocations: 19.98 kB / 0.9863 GB, free: 12.83 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.007527, allocations: 4 kB / 0.9863 GB, free: 12.82 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.035e-06/0.007535, allocations: 4 kB / 0.9863 GB, free: 12.82 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/0.007536, allocations: 0 / 0.9863 GB, free: 12.82 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.163e-06/0.007537, allocations: 3.938 kB / 0.9863 GB, free: 12.82 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001788/0.007716, allocations: 199.4 kB / 0.9865 GB, free: 12.61 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.3e-05/0.007729, allocations: 11.95 kB / 0.9865 GB, free: 12.59 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.277e-05/0.007742, allocations: 11.92 kB / 0.9865 GB, free: 12.58 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.836e-05/0.00782, allocations: 11.98 kB / 0.9866 GB, free: 12.57 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.385e-05/0.007854, allocations: 0 / 0.9866 GB, free: 12.57 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.157e-05/0.007865, allocations: 19.86 kB / 0.9866 GB, free: 12.55 MB / 0.948 GB Notification: Performance of sorting global known variables: time 4.616e-05/0.007912, allocations: 103.3 kB / 0.9867 GB, free: 12.45 MB / 0.948 GB Notification: Performance of sort global known variables: time 5e-08/0.007912, allocations: 0 / 0.9867 GB, free: 12.45 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001708/0.008082, allocations: 19.94 kB / 0.9867 GB, free: 12.43 MB / 0.948 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 (7): * Single equations (assignments): 7 * 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.0003519/0.008434, allocations: 0.7397 MB / 0.9874 GB, free: 11.66 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0001619/0.008596, allocations: 71.95 kB / 0.9875 GB, free: 11.59 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.008598, allocations: 0 / 0.9875 GB, free: 11.59 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 5.988e-05/0.008658, allocations: 39.91 kB / 0.9875 GB, free: 11.55 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002508/0.008908, allocations: 27.86 kB / 0.9875 GB, free: 11.53 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00126/0.01017, allocations: 1.554 MB / 0.9891 GB, free: 9.887 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.097e-05/0.01022, allocations: 75.33 kB / 0.9891 GB, free: 9.793 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 5.477e-05/0.01027, allocations: 16.72 kB / 0.9892 GB, free: 9.77 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.898e-05/0.01032, allocations: 28.44 kB / 0.9892 GB, free: 9.742 MB / 0.948 GB Notification: Performance of SimCode: time 4.11e-07/0.01032, allocations: 0 / 0.9892 GB, free: 9.742 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01558/0.02591, allocations: 3.533 MB / 0.9926 GB, free: 6.391 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.059/7.085, allocations: 8.797 kB / 0.9926 GB, free: 6.387 MB / 0.948 GB " [Timeout remaining time 293] (rm -f Buildings_12_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe ; mkfifo Buildings_12_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe >> ../files/Buildings_12_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure_res.mat --tempDir=temp_Buildings_12_Buildings_Utilities_Psychrometrics_Examples_HumidityRatioPressure_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Utilities_Psychrometrics_Examples_HumidityRatioPressure.fmu > Buildings_12_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Psychrometrics_Examples_HumidityRatioPressure.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.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: 11.080063009634614]