Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.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.0008251/0.0008251, allocations: 68.47 kB / 19.17 MB, free: 0.7344 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.0008841/0.0008841, allocations: 173.9 kB / 22.46 MB, free: 2.09 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.8823/0.8823, allocations: 177.1 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.749/1.749, allocations: 377.9 MB / 0.6221 GB, free: 8.641 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.Phi_pTX,fileNamePrefix="Buildings_12_Buildings_Utilities_Psychrometrics_Examples_Phi_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.Phi_pTX,fileNamePrefix="Buildings_12_Buildings_Utilities_Psychrometrics_Examples_Phi_pTX",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0 / 0.9809 GB, free: 2.574 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.895e-05/2.059e-05, allocations: 5.516 kB / 0.9809 GB, free: 2.57 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.Phi_pTX): time 0.001978/0.001999, allocations: 1.513 MB / 0.9824 GB, free: 1.047 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.000871/0.00287, allocations: 0.7476 MB / 0.9832 GB, free: 304 kB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.359e-05/0.002903, allocations: 0 / 0.9832 GB, free: 304 kB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 2.812e-05/0.002932, allocations: 3.938 kB / 0.9832 GB, free: 300 kB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 4.437e-05/0.002976, allocations: 15.86 kB / 0.9832 GB, free: 284 kB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003944/0.00337, allocations: 135.3 kB / 0.9833 GB, free: 148 kB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 7.412e-05/0.003444, allocations: 55.78 kB / 0.9834 GB, free: 92 kB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 8.672e-05/0.003531, allocations: 11.98 kB / 0.9834 GB, free: 80 kB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 5.475e-05/0.003586, allocations: 35.91 kB / 0.9834 GB, free: 44 kB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 3.664e-05/0.003623, allocations: 15.98 kB / 0.9834 GB, free: 28 kB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 1.466e-05/0.003637, allocations: 4 kB / 0.9834 GB, free: 24 kB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002414/0.003879, allocations: 167.6 kB / 0.9836 GB, free: 15.86 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 1.509e-05/0.003894, allocations: 8 kB / 0.9836 GB, free: 15.85 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 2.293e-05/0.003917, allocations: 15.92 kB / 0.9836 GB, free: 15.84 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0002053/0.004122, allocations: 171.5 kB / 0.9838 GB, free: 15.67 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 1.703e-06/0.004124, allocations: 0 / 0.9838 GB, free: 15.67 MB / 0.948 GB Notification: Performance of FrontEnd: time 9.02e-07/0.004125, allocations: 0 / 0.9838 GB, free: 15.67 MB / 0.948 GB Notification: Performance of Transformations before backend: time 3.526e-06/0.004128, allocations: 4 kB / 0.9838 GB, free: 15.66 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003786/0.004507, allocations: 317.9 kB / 0.9841 GB, free: 15.32 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.921e-05/0.004546, allocations: 12.03 kB / 0.9841 GB, free: 15.31 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.682e-05/0.004573, allocations: 30.75 kB / 0.9841 GB, free: 15.27 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.054e-05/0.004593, allocations: 4.938 kB / 0.9841 GB, free: 15.27 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.818e-05/0.004671, allocations: 125.6 kB / 0.9842 GB, free: 15.12 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.778e-06/0.004681, allocations: 4.375 kB / 0.9842 GB, free: 15.11 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.458e-06/0.004691, allocations: 8.375 kB / 0.9842 GB, free: 15.11 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001695/0.00486, allocations: 78.16 kB / 0.9843 GB, free: 15.02 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.332e-06/0.004866, allocations: 4.125 kB / 0.9843 GB, free: 15.02 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.804e-06/0.004874, allocations: 384 / 0.9843 GB, free: 15.02 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.232e-06/0.00488, allocations: 4.125 kB / 0.9843 GB, free: 15.02 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001475/0.005028, allocations: 67.92 kB / 0.9844 GB, free: 14.95 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002905/0.005319, allocations: 239.9 kB / 0.9846 GB, free: 14.67 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000119/0.005438, allocations: 66.47 kB / 0.9847 GB, free: 14.6 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.396e-05/0.005512, allocations: 32.92 kB / 0.9847 GB, free: 14.56 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001085/0.00562, allocations: 15.98 kB / 0.9847 GB, free: 14.55 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.804e-05/0.005638, allocations: 34.55 kB / 0.9848 GB, free: 14.5 MB / 0.948 GB Notification: Performance of pre-optimization done (n=3): time 1.072e-06/0.005639, allocations: 0 / 0.9848 GB, free: 14.5 MB / 0.948 GB Notification: Performance of matching and sorting (n=3): time 0.0003198/0.005959, allocations: 137.5 kB / 0.9849 GB, free: 14.36 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.974e-05/0.005989, allocations: 55.41 kB / 0.985 GB, free: 14.3 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.892e-05/0.006058, allocations: 113.8 kB / 0.9851 GB, free: 14.18 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.181e-05/0.006069, allocations: 29.7 kB / 0.9851 GB, free: 14.14 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 4.01e-05/0.006109, allocations: 92.08 kB / 0.9852 GB, free: 14.05 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 1.422e-05/0.006124, allocations: 3.953 kB / 0.9852 GB, free: 14.04 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.943e-05/0.006153, allocations: 17.72 kB / 0.9852 GB, free: 14.02 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.619e-05/0.006239, allocations: 322.8 kB / 0.9855 GB, free: 13.7 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.017e-05/0.00631, allocations: 27.97 kB / 0.9855 GB, free: 13.67 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.828e-05/0.006378, allocations: 31.95 kB / 0.9856 GB, free: 13.64 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001347/0.006513, allocations: 65.08 kB / 0.9856 GB, free: 13.57 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.482e-06/0.006514, allocations: 4 kB / 0.9856 GB, free: 13.57 MB / 0.948 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001717/0.006686, allocations: 113.4 kB / 0.9857 GB, free: 13.45 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.213e-05/0.006698, allocations: 8 kB / 0.9857 GB, free: 13.44 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.753e-06/0.006705, allocations: 0 / 0.9857 GB, free: 13.44 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.158e-05/0.006716, allocations: 0 / 0.9857 GB, free: 13.44 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.383e-05/0.00679, allocations: 15.98 kB / 0.9858 GB, free: 13.43 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.659e-06/0.006795, allocations: 4 kB / 0.9858 GB, free: 13.42 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.645e-05/0.006831, allocations: 7.984 kB / 0.9858 GB, free: 13.41 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.233e-06/0.006838, allocations: 8 kB / 0.9858 GB, free: 13.41 MB / 0.948 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 (3): * Single equations (assignments): 3 * 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.142e-05/0.0069, allocations: 109.8 kB / 0.9859 GB, free: 13.29 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.564e-05/0.006915, allocations: 11.89 kB / 0.9859 GB, free: 13.28 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001997/0.007115, allocations: 109.5 kB / 0.986 GB, free: 13.16 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.007117, allocations: 7.938 kB / 0.986 GB, free: 13.16 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/0.007121, allocations: 0 / 0.986 GB, free: 13.16 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.007124, allocations: 0 / 0.986 GB, free: 13.16 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001179/0.007242, allocations: 144.8 kB / 0.9861 GB, free: 12.97 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.01e-07/0.007242, allocations: 0 / 0.9861 GB, free: 12.97 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.344e-05/0.007286, allocations: 15.97 kB / 0.9862 GB, free: 12.96 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.007289, allocations: 4 kB / 0.9862 GB, free: 12.95 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.691e-06/0.007294, allocations: 0 / 0.9862 GB, free: 12.95 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.007295, allocations: 3.938 kB / 0.9862 GB, free: 12.95 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.41e-07/0.007296, allocations: 0 / 0.9862 GB, free: 12.95 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001882/0.007484, allocations: 195.4 kB / 0.9864 GB, free: 12.74 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.179e-05/0.007496, allocations: 11.94 kB / 0.9864 GB, free: 12.73 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.09e-05/0.007507, allocations: 4 kB / 0.9864 GB, free: 12.73 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.073e-05/0.007558, allocations: 15.92 kB / 0.9864 GB, free: 12.71 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.615e-05/0.007594, allocations: 3.984 kB / 0.9864 GB, free: 12.71 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.417e-06/0.007597, allocations: 4 kB / 0.9864 GB, free: 12.7 MB / 0.948 GB Notification: Performance of sorting global known variables: time 3.378e-05/0.007631, allocations: 87.28 kB / 0.9865 GB, free: 12.62 MB / 0.948 GB Notification: Performance of sort global known variables: time 9e-08/0.007631, allocations: 4 kB / 0.9865 GB, free: 12.61 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001952/0.007826, allocations: 39.86 kB / 0.9865 GB, free: 12.57 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 (3): * Single equations (assignments): 3 * 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.000448/0.008274, allocations: 0.7591 MB / 0.9873 GB, free: 11.79 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0001865/0.008461, allocations: 75.86 kB / 0.9873 GB, free: 11.71 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.008463, allocations: 0 / 0.9873 GB, free: 11.71 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 7.375e-05/0.008536, allocations: 35.95 kB / 0.9874 GB, free: 11.68 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002086/0.008745, allocations: 7.984 kB / 0.9874 GB, free: 11.67 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001175/0.00992, allocations: 1.425 MB / 0.9888 GB, free: 10.16 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.356e-05/0.009964, allocations: 67.28 kB / 0.9888 GB, free: 10.07 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 2.501e-05/0.009989, allocations: 12.23 kB / 0.9888 GB, free: 10.06 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.669e-05/0.01003, allocations: 20.48 kB / 0.9889 GB, free: 10.04 MB / 0.948 GB Notification: Performance of SimCode: time 4.91e-07/0.01003, allocations: 0 / 0.9889 GB, free: 10.04 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01586/0.02589, allocations: 3.254 MB / 0.992 GB, free: 6.945 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.981/7.007, allocations: 3.547 kB / 0.992 GB, free: 6.945 MB / 0.948 GB " [Timeout remaining time 293] (rm -f Buildings_12_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; mkfifo Buildings_12_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe >> ../files/Buildings_12_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX_res.mat --tempDir=temp_Buildings_12_Buildings_Utilities_Psychrometrics_Examples_Phi_pTX_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Utilities_Psychrometrics_Examples_Phi_pTX.fmu > Buildings_12_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Psychrometrics_Examples_Phi_pTX.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.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: 10.99487719219178]