Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.0008183/0.0008183, 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.0008049/0.0008049, 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.8866/0.8866, 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 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.654/1.654, allocations: 359 MB / 0.6037 GB, free: 11.11 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_Buildings_Utilities_Psychrometrics_Examples_Phi_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.Phi_pTX,fileNamePrefix="Buildings_11_Buildings_Utilities_Psychrometrics_Examples_Phi_pTX",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.743e-06/1.743e-06, allocations: 0 / 0.9505 GB, free: 3.531 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.023e-05/2.197e-05, allocations: 6.219 kB / 0.9505 GB, free: 3.523 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.Phi_pTX): time 0.001879/0.001901, allocations: 1.498 MB / 0.9519 GB, free: 2.008 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.000874/0.002775, allocations: 0.76 MB / 0.9527 GB, free: 1.246 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.526e-05/0.00281, allocations: 0 / 0.9527 GB, free: 1.246 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 2.703e-05/0.002837, allocations: 3.938 kB / 0.9527 GB, free: 1.242 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 4.504e-05/0.002882, allocations: 15.81 kB / 0.9527 GB, free: 1.227 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003902/0.003272, allocations: 139.3 kB / 0.9528 GB, free: 1.09 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 7.234e-05/0.003345, allocations: 51.78 kB / 0.9529 GB, free: 1.039 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 8.605e-05/0.003431, allocations: 8 kB / 0.9529 GB, free: 1.031 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 5.334e-05/0.003484, allocations: 27.91 kB / 0.9529 GB, free: 1.004 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 3.583e-05/0.00352, allocations: 19.97 kB / 0.9529 GB, free: 0.9844 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 1.441e-05/0.003534, allocations: 4 kB / 0.9529 GB, free: 0.9805 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002256/0.00376, allocations: 167.7 kB / 0.9531 GB, free: 0.8164 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 1.665e-05/0.003776, allocations: 15.92 kB / 0.9531 GB, free: 0.8008 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 2.125e-05/0.003798, allocations: 12 kB / 0.9531 GB, free: 0.7891 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0002038/0.004001, allocations: 171.5 kB / 0.9533 GB, free: 0.6211 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 2.144e-06/0.004004, allocations: 0 / 0.9533 GB, free: 0.6211 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.092e-06/0.004005, allocations: 0 / 0.9533 GB, free: 0.6211 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 3.327e-06/0.004008, allocations: 0 / 0.9533 GB, free: 0.6211 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003752/0.004383, allocations: 325.8 kB / 0.9536 GB, free: 276 kB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.762e-05/0.004421, allocations: 11.97 kB / 0.9536 GB, free: 264 kB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.918e-05/0.00445, allocations: 42.75 kB / 0.9536 GB, free: 212 kB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.964e-05/0.00447, allocations: 4.875 kB / 0.9537 GB, free: 208 kB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.966e-05/0.004549, allocations: 113.7 kB / 0.9538 GB, free: 68 kB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.05e-05/0.00456, allocations: 4.375 kB / 0.9538 GB, free: 64 kB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.925e-06/0.004568, allocations: 384 / 0.9538 GB, free: 64 kB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001712/0.004739, allocations: 78.2 kB / 0.9538 GB, free: 15.98 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.813e-06/0.004746, allocations: 192 / 0.9538 GB, free: 15.98 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.033e-05/0.004756, allocations: 4.375 kB / 0.9538 GB, free: 15.98 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.461e-06/0.004762, allocations: 4.125 kB / 0.9538 GB, free: 15.97 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001472/0.004909, allocations: 67.92 kB / 0.9539 GB, free: 15.91 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003123/0.005221, allocations: 251.8 kB / 0.9542 GB, free: 15.62 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001193/0.00534, allocations: 58.47 kB / 0.9542 GB, free: 15.55 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.707e-05/0.005417, allocations: 36.92 kB / 0.9542 GB, free: 15.51 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001039/0.005521, allocations: 15.98 kB / 0.9543 GB, free: 15.5 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.744e-05/0.005539, allocations: 34.56 kB / 0.9543 GB, free: 15.45 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=3): time 1.032e-06/0.00554, allocations: 0 / 0.9543 GB, free: 15.45 MB / 0.9167 GB Notification: Performance of matching and sorting (n=3): time 0.0003039/0.005844, allocations: 133.5 kB / 0.9544 GB, free: 15.32 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.607e-05/0.00587, allocations: 55.41 kB / 0.9545 GB, free: 15.25 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.73e-05/0.005937, allocations: 117.8 kB / 0.9546 GB, free: 15.12 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 8.727e-06/0.005946, allocations: 25.7 kB / 0.9546 GB, free: 15.09 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 3.496e-05/0.005981, allocations: 92.12 kB / 0.9547 GB, free: 15 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 1.435e-05/0.005995, allocations: 7.953 kB / 0.9547 GB, free: 14.99 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.929e-05/0.006024, allocations: 13.72 kB / 0.9547 GB, free: 14.97 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 7.207e-05/0.006097, allocations: 314.8 kB / 0.955 GB, free: 14.66 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.236e-05/0.006169, allocations: 31.95 kB / 0.955 GB, free: 14.62 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.765e-05/0.006237, allocations: 35.97 kB / 0.9551 GB, free: 14.59 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001371/0.006374, allocations: 68.78 kB / 0.9551 GB, free: 14.52 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.293e-06/0.006375, allocations: 3.938 kB / 0.9552 GB, free: 14.52 MB / 0.9167 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001605/0.006535, allocations: 105.5 kB / 0.9553 GB, free: 14.41 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.195e-05/0.006547, allocations: 4 kB / 0.9553 GB, free: 14.4 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.089e-06/0.006552, allocations: 4.312 kB / 0.9553 GB, free: 14.4 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.159e-05/0.006564, allocations: 4 kB / 0.9553 GB, free: 14.39 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.602e-05/0.00663, allocations: 11.98 kB / 0.9553 GB, free: 14.38 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.098e-06/0.006634, allocations: 0 / 0.9553 GB, free: 14.38 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.591e-05/0.00667, allocations: 15.92 kB / 0.9553 GB, free: 14.37 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.582e-06/0.006677, allocations: 4 kB / 0.9553 GB, free: 14.36 MB / 0.9167 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 5.347e-05/0.00673, allocations: 117.8 kB / 0.9554 GB, free: 14.24 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.611e-05/0.006746, allocations: 19.81 kB / 0.9554 GB, free: 14.22 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001916/0.006938, allocations: 113.5 kB / 0.9555 GB, free: 14.09 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.006939, allocations: 0 / 0.9555 GB, free: 14.09 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.085e-06/0.006942, allocations: 0 / 0.9555 GB, free: 14.09 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.063e-06/0.006944, allocations: 0 / 0.9555 GB, free: 14.09 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001109/0.007055, allocations: 136.6 kB / 0.9557 GB, free: 13.92 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.007056, allocations: 0 / 0.9557 GB, free: 13.92 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.04e-05/0.007097, allocations: 19.98 kB / 0.9557 GB, free: 13.9 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.393e-06/0.007098, allocations: 0 / 0.9557 GB, free: 13.9 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.815e-06/0.007106, allocations: 7.984 kB / 0.9557 GB, free: 13.89 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.007107, allocations: 0 / 0.9557 GB, free: 13.89 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.007108, allocations: 0 / 0.9557 GB, free: 13.89 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001806/0.007288, allocations: 195.4 kB / 0.9559 GB, free: 13.68 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 9.929e-06/0.007298, allocations: 7.953 kB / 0.9559 GB, free: 13.68 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.578e-06/0.007308, allocations: 4 kB / 0.9559 GB, free: 13.67 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.194e-05/0.00736, allocations: 15.97 kB / 0.9559 GB, free: 13.66 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.543e-05/0.007395, allocations: 4 kB / 0.9559 GB, free: 13.65 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.484e-06/0.007398, allocations: 0 / 0.9559 GB, free: 13.65 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 3.425e-05/0.007432, allocations: 95.27 kB / 0.956 GB, free: 13.56 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5e-08/0.007432, allocations: 0 / 0.956 GB, free: 13.56 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001853/0.007617, allocations: 31.88 kB / 0.956 GB, free: 13.53 MB / 0.9167 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.0004268/0.008044, allocations: 0.7669 MB / 0.9568 GB, free: 12.73 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0001776/0.008222, allocations: 71.86 kB / 0.9568 GB, free: 12.66 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.362e-06/0.008223, allocations: 0 / 0.9568 GB, free: 12.66 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 7.192e-05/0.008295, allocations: 39.91 kB / 0.9569 GB, free: 12.62 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002136/0.008508, allocations: 22.31 kB / 0.9569 GB, free: 12.61 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001067/0.009575, allocations: 1.424 MB / 0.9583 GB, free: 11.1 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.075e-05/0.009616, allocations: 75.23 kB / 0.9584 GB, free: 11.01 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 2.334e-05/0.009639, allocations: 0 / 0.9584 GB, free: 11.01 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.447e-05/0.009674, allocations: 16.5 kB / 0.9584 GB, free: 10.99 MB / 0.9167 GB Notification: Performance of SimCode: time 3.7e-07/0.009674, allocations: 0 / 0.9584 GB, free: 10.99 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01679/0.02646, allocations: 3.245 MB / 0.9616 GB, free: 7.898 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.86/6.886, allocations: 14.31 kB / 0.9616 GB, free: 7.895 MB / 0.9167 GB " [Timeout remaining time 293] (rm -f Buildings_11_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; mkfifo Buildings_11_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe >> ../files/Buildings_11_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_Psychrometrics_Examples_Phi_pTX_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Utilities_Psychrometrics_Examples_Phi_pTX.fmu > Buildings_11_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Psychrometrics_Examples_Phi_pTX.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.776723836548626]