Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0008416/0.0008416, allocations: 80.44 kB / 19.17 MB, free: 0.7461 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.0009705/0.0009705, allocations: 165.9 kB / 22.45 MB, free: 2.109 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.9082/0.9082, allocations: 177.2 MB / 202.8 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.821/1.821, allocations: 389 MB / 0.633 GB, free: 12.69 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_Utilities_Psychrometrics_Examples_Phi_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.Phi_pTX,fileNamePrefix="Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_Phi_pTX",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.434e-06/2.434e-06, allocations: 0 / 0.9996 GB, free: 13.52 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.545e-05/2.788e-05, allocations: 4.812 kB / 0.9996 GB, free: 13.52 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.Phi_pTX): time 0.002931/0.002959, allocations: 1.494 MB / 1.001 GB, free: 12.02 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.001301/0.004259, allocations: 0.7522 MB / 1.002 GB, free: 11.26 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.148e-05/0.004301, allocations: 0 / 1.002 GB, free: 11.26 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 4.022e-05/0.004341, allocations: 15.8 kB / 1.002 GB, free: 11.25 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 6.611e-05/0.004407, allocations: 15.86 kB / 1.002 GB, free: 11.23 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005424/0.00495, allocations: 127.4 kB / 1.002 GB, free: 11.11 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0001051/0.005055, allocations: 55.73 kB / 1.002 GB, free: 11.05 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001156/0.00517, allocations: 15.98 kB / 1.002 GB, free: 11.04 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 7.267e-05/0.005243, allocations: 27.97 kB / 1.002 GB, free: 11.01 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 4.926e-05/0.005292, allocations: 15.97 kB / 1.002 GB, free: 10.99 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.867e-05/0.005311, allocations: 11.94 kB / 1.002 GB, free: 10.98 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003332/0.005644, allocations: 155.7 kB / 1.002 GB, free: 10.83 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 2.756e-05/0.005672, allocations: 15.92 kB / 1.002 GB, free: 10.81 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 3.215e-05/0.005704, allocations: 15.98 kB / 1.002 GB, free: 10.8 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0003086/0.006012, allocations: 167.4 kB / 1.002 GB, free: 10.63 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 4.087e-06/0.006017, allocations: 4 kB / 1.002 GB, free: 10.63 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.463e-06/0.006018, allocations: 0 / 1.002 GB, free: 10.63 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 5.701e-06/0.006024, allocations: 0 / 1.002 GB, free: 10.63 MB / 0.9636 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.0005607/0.006584, allocations: 325.8 kB / 1.003 GB, free: 10.28 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 5.413e-05/0.006638, allocations: 12.75 kB / 1.003 GB, free: 10.27 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.748e-05/0.006686, allocations: 38.73 kB / 1.003 GB, free: 10.22 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.447e-05/0.00672, allocations: 8.891 kB / 1.003 GB, free: 10.21 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001109/0.006831, allocations: 109.7 kB / 1.003 GB, free: 10.08 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.296e-05/0.006844, allocations: 384 / 1.003 GB, free: 10.08 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.31e-05/0.006857, allocations: 4.375 kB / 1.003 GB, free: 10.07 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002507/0.007108, allocations: 82.14 kB / 1.003 GB, free: 9.988 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.004e-05/0.007118, allocations: 192 / 1.003 GB, free: 9.988 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.457e-05/0.007133, allocations: 8.359 kB / 1.003 GB, free: 9.98 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.736e-06/0.007141, allocations: 4.125 kB / 1.003 GB, free: 9.977 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002338/0.007375, allocations: 67.91 kB / 1.003 GB, free: 9.91 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004129/0.007788, allocations: 240 kB / 1.003 GB, free: 9.633 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001871/0.007975, allocations: 62.42 kB / 1.003 GB, free: 9.562 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001174/0.008093, allocations: 40.91 kB / 1.003 GB, free: 9.52 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001463/0.008239, allocations: 11.98 kB / 1.003 GB, free: 9.508 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.954e-05/0.008268, allocations: 38.56 kB / 1.003 GB, free: 9.461 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=3): time 1.523e-06/0.00827, allocations: 0 / 1.003 GB, free: 9.461 MB / 0.9636 GB Notification: Performance of matching and sorting (n=3): time 0.0004771/0.008747, allocations: 133.5 kB / 1.004 GB, free: 9.324 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.728e-05/0.008784, allocations: 51.41 kB / 1.004 GB, free: 9.262 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000101/0.008885, allocations: 125.7 kB / 1.004 GB, free: 9.129 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.298e-05/0.008898, allocations: 25.7 kB / 1.004 GB, free: 9.098 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 5.134e-05/0.00895, allocations: 92.08 kB / 1.004 GB, free: 9.004 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 2.363e-05/0.008973, allocations: 19.83 kB / 1.004 GB, free: 8.984 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.033e-05/0.009014, allocations: 13.72 kB / 1.004 GB, free: 8.965 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001027/0.009116, allocations: 318.8 kB / 1.004 GB, free: 8.645 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001178/0.009234, allocations: 35.95 kB / 1.004 GB, free: 8.609 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000104/0.009338, allocations: 23.97 kB / 1.004 GB, free: 8.586 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002238/0.009562, allocations: 72.78 kB / 1.004 GB, free: 8.512 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.009565, allocations: 4 kB / 1.004 GB, free: 8.508 MB / 0.9636 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002838/0.009848, allocations: 97.56 kB / 1.004 GB, free: 8.406 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 2.158e-05/0.00987, allocations: 4 kB / 1.004 GB, free: 8.402 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.725e-06/0.009878, allocations: 4 kB / 1.004 GB, free: 8.398 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.014e-05/0.009898, allocations: 3.938 kB / 1.004 GB, free: 8.395 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001193/0.01002, allocations: 19.91 kB / 1.004 GB, free: 8.375 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.366e-06/0.01003, allocations: 3.984 kB / 1.004 GB, free: 8.371 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.074e-05/0.01009, allocations: 15.98 kB / 1.004 GB, free: 8.355 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.22e-05/0.0101, allocations: 4 kB / 1.004 GB, free: 8.352 MB / 0.9636 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 9.205e-05/0.01019, allocations: 109.8 kB / 1.005 GB, free: 8.234 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.05e-05/0.01022, allocations: 11.89 kB / 1.005 GB, free: 8.223 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003349/0.01056, allocations: 105.6 kB / 1.005 GB, free: 8.105 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.897e-06/0.01056, allocations: 4 kB / 1.005 GB, free: 8.102 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.01057, allocations: 0 / 1.005 GB, free: 8.102 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.978e-06/0.01057, allocations: 0 / 1.005 GB, free: 8.102 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000188/0.01076, allocations: 136.7 kB / 1.005 GB, free: 7.926 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.935e-06/0.01076, allocations: 4 kB / 1.005 GB, free: 7.922 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.55e-05/0.01084, allocations: 11.98 kB / 1.005 GB, free: 7.91 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.116e-06/0.01084, allocations: 4.312 kB / 1.005 GB, free: 7.906 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.017e-06/0.01085, allocations: 0 / 1.005 GB, free: 7.906 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/0.01085, allocations: 4 kB / 1.005 GB, free: 7.902 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.744e-06/0.01085, allocations: 0 / 1.005 GB, free: 7.902 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003217/0.01117, allocations: 207.3 kB / 1.005 GB, free: 7.684 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 1.42e-05/0.01119, allocations: 4 kB / 1.005 GB, free: 7.68 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.505e-05/0.0112, allocations: 0 / 1.005 GB, free: 7.68 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.285e-05/0.0113, allocations: 11.98 kB / 1.005 GB, free: 7.668 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.037e-05/0.01135, allocations: 7.984 kB / 1.005 GB, free: 7.66 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.151e-06/0.01135, allocations: 4 kB / 1.005 GB, free: 7.656 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 5.232e-05/0.0114, allocations: 91.27 kB / 1.005 GB, free: 7.566 MB / 0.9636 GB Notification: Performance of sort global known variables: time 1.1e-07/0.0114, allocations: 4 kB / 1.005 GB, free: 7.562 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0003354/0.01174, allocations: 35.83 kB / 1.005 GB, free: 7.527 MB / 0.9636 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.0008461/0.01259, allocations: 0.763 MB / 1.006 GB, free: 6.738 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0002873/0.01287, allocations: 75.91 kB / 1.006 GB, free: 6.664 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.01288, allocations: 0 / 1.006 GB, free: 6.664 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0001125/0.01299, allocations: 35.91 kB / 1.006 GB, free: 6.629 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003987/0.01339, allocations: 18.17 kB / 1.006 GB, free: 6.613 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001667/0.01505, allocations: 1.423 MB / 1.007 GB, free: 5.109 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.186e-05/0.01512, allocations: 71.34 kB / 1.008 GB, free: 5.02 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 4.351e-05/0.01516, allocations: 7.984 kB / 1.008 GB, free: 5.012 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.066e-05/0.01521, allocations: 16.5 kB / 1.008 GB, free: 4.996 MB / 0.9636 GB Notification: Performance of SimCode: time 6.71e-07/0.01521, allocations: 0 / 1.008 GB, free: 4.996 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01978/0.03499, allocations: 3.252 MB / 1.011 GB, free: 1.887 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.774/6.809, allocations: 2.344 kB / 1.011 GB, free: 1.887 MB / 0.9636 GB " [Timeout remaining time 293] (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_Phi_pTX_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_Phi_pTX.fmu > Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_Examples_Phi_pTX.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 11.012306990101933]