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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001644/0.001644, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001876/0.001876, allocations: 196.8 kB / 16.54 MB, free: 6.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.454/1.454, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.868/2.868, allocations: 469.8 MB / 0.7424 GB, free: 7.457 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001786/0.001786, allocations: 70.05 kB / 0.9087 GB, free: 34.26 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3146/0.3164, allocations: 159.2 MB / 1.064 GB, free: 14.21 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.Phi_pTX): time 0.002403/0.3188, allocations: 1.489 MB / 1.066 GB, free: 12.71 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001155/0.32, allocations: 0.8078 MB / 1.066 GB, free: 11.9 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.303e-05/0.32, allocations: 0 / 1.066 GB, free: 11.9 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.146e-05/0.32, allocations: 3.938 kB / 1.066 GB, free: 11.89 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 4.371e-05/0.3201, allocations: 15.86 kB / 1.066 GB, free: 11.88 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003599/0.3204, allocations: 127.5 kB / 1.066 GB, free: 11.75 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 7.226e-05/0.3205, allocations: 59.78 kB / 1.067 GB, free: 11.7 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 7.687e-05/0.3206, allocations: 8 kB / 1.067 GB, free: 11.69 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 3.972e-05/0.3207, allocations: 19.92 kB / 1.067 GB, free: 11.67 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 4.521e-05/0.3207, allocations: 35.83 kB / 1.067 GB, free: 11.63 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.255e-05/0.3207, allocations: 8 kB / 1.067 GB, free: 11.62 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003018/0.321, allocations: 167.8 kB / 1.067 GB, free: 11.46 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.272e-05/0.3211, allocations: 4 kB / 1.067 GB, free: 11.46 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.385e-05/0.3211, allocations: 27.84 kB / 1.067 GB, free: 11.43 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002348/0.3213, allocations: 147.9 kB / 1.067 GB, free: 11.29 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 2.805e-06/0.3213, allocations: 0 / 1.067 GB, free: 11.29 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.615e-06/0.3213, allocations: 0 / 1.067 GB, free: 11.29 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 2.766e-06/0.3214, allocations: 7.938 kB / 1.067 GB, free: 11.28 MB / 0.8262 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.0004923/0.3219, allocations: 395.3 kB / 1.067 GB, free: 10.84 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 2.931e-05/0.3219, allocations: 8.031 kB / 1.067 GB, free: 10.83 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.885e-05/0.3219, allocations: 34.75 kB / 1.067 GB, free: 10.79 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.092e-05/0.3219, allocations: 4.844 kB / 1.067 GB, free: 10.79 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001246/0.3221, allocations: 180.2 kB / 1.068 GB, free: 10.57 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.219e-06/0.3221, allocations: 384 / 1.068 GB, free: 10.57 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.259e-05/0.3221, allocations: 8.375 kB / 1.068 GB, free: 10.56 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002246/0.3223, allocations: 70.22 kB / 1.068 GB, free: 10.49 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.806e-06/0.3224, allocations: 7.875 kB / 1.068 GB, free: 10.48 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.476e-06/0.3224, allocations: 7.984 kB / 1.068 GB, free: 10.47 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.745e-06/0.3224, allocations: 0 / 1.068 GB, free: 10.47 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000281/0.3227, allocations: 67.92 kB / 1.068 GB, free: 10.41 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003177/0.323, allocations: 284.7 kB / 1.068 GB, free: 10.08 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001913/0.3232, allocations: 62.47 kB / 1.068 GB, free: 10.01 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001489/0.3233, allocations: 40.92 kB / 1.068 GB, free: 9.965 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001578/0.3235, allocations: 89.09 kB / 1.068 GB, free: 9.859 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.38e-05/0.3235, allocations: 34.56 kB / 1.068 GB, free: 9.816 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=3): time 1.011e-06/0.3235, allocations: 0 / 1.068 GB, free: 9.816 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3): time 0.000512/0.3241, allocations: 125.6 kB / 1.068 GB, free: 9.688 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.216e-05/0.3241, allocations: 55.41 kB / 1.068 GB, free: 9.621 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.203e-05/0.3242, allocations: 117.8 kB / 1.068 GB, free: 9.496 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.397e-05/0.3242, allocations: 25.7 kB / 1.068 GB, free: 9.465 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.785e-05/0.3243, allocations: 92.12 kB / 1.069 GB, free: 9.371 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.924e-05/0.3243, allocations: 11.81 kB / 1.069 GB, free: 9.359 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.408e-05/0.3243, allocations: 21.59 kB / 1.069 GB, free: 9.332 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001235/0.3245, allocations: 322.8 kB / 1.069 GB, free: 9.008 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001414/0.3246, allocations: 35.97 kB / 1.069 GB, free: 8.973 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001282/0.3247, allocations: 31.95 kB / 1.069 GB, free: 8.941 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002595/0.325, allocations: 68.8 kB / 1.069 GB, free: 8.871 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.232e-06/0.325, allocations: 0 / 1.069 GB, free: 8.871 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003132/0.3253, allocations: 101.6 kB / 1.069 GB, free: 8.766 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.02e-05/0.3254, allocations: 4 kB / 1.069 GB, free: 8.762 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.986e-06/0.3254, allocations: 4 kB / 1.069 GB, free: 8.758 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.101e-05/0.3254, allocations: 0 / 1.069 GB, free: 8.758 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001044/0.3255, allocations: 15.92 kB / 1.069 GB, free: 8.742 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.721e-06/0.3255, allocations: 3.984 kB / 1.069 GB, free: 8.738 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.587e-05/0.3256, allocations: 15.89 kB / 1.069 GB, free: 8.723 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.07e-06/0.3256, allocations: 0 / 1.069 GB, free: 8.723 MB / 0.8262 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 7.839e-05/0.3257, allocations: 125.8 kB / 1.069 GB, free: 8.59 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.569e-05/0.3257, allocations: 4 kB / 1.069 GB, free: 8.586 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003412/0.3261, allocations: 105.5 kB / 1.069 GB, free: 8.473 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.3261, allocations: 0 / 1.069 GB, free: 8.473 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.425e-06/0.3261, allocations: 0 / 1.069 GB, free: 8.473 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.482e-06/0.3261, allocations: 0 / 1.069 GB, free: 8.473 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001723/0.3263, allocations: 181.6 kB / 1.07 GB, free: 8.246 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.32e-07/0.3263, allocations: 0 / 1.07 GB, free: 8.246 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.899e-05/0.3264, allocations: 19.92 kB / 1.07 GB, free: 8.227 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.597e-06/0.3264, allocations: 384 / 1.07 GB, free: 8.227 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.132e-06/0.3264, allocations: 3.938 kB / 1.07 GB, free: 8.223 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.3264, allocations: 0 / 1.07 GB, free: 8.223 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.3264, allocations: 0 / 1.07 GB, free: 8.223 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003628/0.3268, allocations: 207.3 kB / 1.07 GB, free: 8.004 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.645e-05/0.3268, allocations: 81.05 kB / 1.07 GB, free: 7.906 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.407e-05/0.3268, allocations: 4 kB / 1.07 GB, free: 7.902 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001003/0.3269, allocations: 11.98 kB / 1.07 GB, free: 7.891 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.528e-05/0.327, allocations: 7.984 kB / 1.07 GB, free: 7.883 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.347e-06/0.327, allocations: 0 / 1.07 GB, free: 7.883 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.317e-05/0.327, allocations: 99.2 kB / 1.07 GB, free: 7.785 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.327, allocations: 0 / 1.07 GB, free: 7.785 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002481/0.3273, allocations: 32 kB / 1.07 GB, free: 7.754 MB / 0.8262 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.0007134/0.328, allocations: 0.7629 MB / 1.071 GB, free: 6.965 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003211/0.3283, allocations: 67.92 kB / 1.071 GB, free: 6.898 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.3284, allocations: 0 / 1.071 GB, free: 6.898 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001456/0.3285, allocations: 39.89 kB / 1.071 GB, free: 6.859 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002591/0.3288, allocations: 16 kB / 1.071 GB, free: 6.844 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001683/0.3305, allocations: 1.426 MB / 1.072 GB, free: 5.34 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002633/0.3307, allocations: 0.6846 MB / 1.073 GB, free: 4.629 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.875e-05/0.3308, allocations: 7.906 kB / 1.073 GB, free: 4.621 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.396e-05/0.3308, allocations: 19.44 kB / 1.073 GB, free: 4.605 MB / 0.8262 GB Notification: Performance of SimCode: time 2.41e-07/0.3308, allocations: 4 kB / 1.073 GB, free: 4.602 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.006/1.337, allocations: 2.418 MB / 1.075 GB, free: 2.258 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.44/14.77, allocations: 13.25 kB / 1.075 GB, free: 2.25 MB / 0.8262 GB (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 --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) 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches