Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Utilities_Psychrometrics_Examples_Phi_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.Phi_pTX,fileNamePrefix="Buildings_10_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.00806/0.00806, allocations: 98.64 kB / 15.73 MB, free: 6.047 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002256/0.002257, allocations: 194.2 kB / 16.68 MB, free: 5.969 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.496/1.496, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.698/2.698, allocations: 437.1 MB / 0.7105 GB, free: 5.004 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001462/0.001462, allocations: 67.89 kB / 1.018 GB, free: 15.06 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2955/0.297, allocations: 151.6 MB / 1.166 GB, free: 7.316 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.Phi_pTX): time 0.002682/0.2997, allocations: 1.486 MB / 1.168 GB, free: 5.812 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001358/0.3011, allocations: 0.8108 MB / 1.168 GB, free: 4.996 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.795e-05/0.3011, allocations: 0 / 1.168 GB, free: 4.996 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.835e-05/0.3012, allocations: 3.938 kB / 1.168 GB, free: 4.992 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 6.449e-05/0.3013, allocations: 15.86 kB / 1.168 GB, free: 4.977 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005753/0.3019, allocations: 123.5 kB / 1.169 GB, free: 4.855 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.000115/0.302, allocations: 59.72 kB / 1.169 GB, free: 4.797 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001124/0.3021, allocations: 12 kB / 1.169 GB, free: 4.785 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 6.362e-05/0.3022, allocations: 23.91 kB / 1.169 GB, free: 4.762 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 5.61e-05/0.3023, allocations: 31.91 kB / 1.169 GB, free: 4.73 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.604e-05/0.3023, allocations: 4 kB / 1.169 GB, free: 4.727 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003913/0.3027, allocations: 163.8 kB / 1.169 GB, free: 4.566 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.231e-05/0.3027, allocations: 15.92 kB / 1.169 GB, free: 4.551 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 4.077e-05/0.3028, allocations: 19.92 kB / 1.169 GB, free: 4.531 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0003216/0.3031, allocations: 151.7 kB / 1.169 GB, free: 4.383 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.3031, allocations: 0 / 1.169 GB, free: 4.383 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.363e-06/0.3031, allocations: 0 / 1.169 GB, free: 4.383 MB / 0.92 GB Notification: Performance of Transformations before backend: time 7.154e-06/0.3031, allocations: 0 / 1.169 GB, free: 4.383 MB / 0.92 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.0006318/0.3038, allocations: 403 kB / 1.169 GB, free: 3.938 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.513e-05/0.3038, allocations: 8.031 kB / 1.169 GB, free: 3.93 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.947e-05/0.3039, allocations: 42.66 kB / 1.169 GB, free: 3.879 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.054e-05/0.3039, allocations: 8.891 kB / 1.169 GB, free: 3.871 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001288/0.304, allocations: 172.3 kB / 1.17 GB, free: 3.664 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.128e-05/0.3041, allocations: 4.375 kB / 1.17 GB, free: 3.66 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.684e-05/0.3041, allocations: 4.375 kB / 1.17 GB, free: 3.656 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002875/0.3044, allocations: 82.14 kB / 1.17 GB, free: 3.57 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.177e-06/0.3044, allocations: 3.938 kB / 1.17 GB, free: 3.566 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.388e-06/0.3044, allocations: 0 / 1.17 GB, free: 3.566 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.3044, allocations: 0 / 1.17 GB, free: 3.566 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003112/0.3047, allocations: 71.91 kB / 1.17 GB, free: 3.496 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003773/0.3051, allocations: 280.8 kB / 1.17 GB, free: 3.172 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002114/0.3053, allocations: 62.48 kB / 1.17 GB, free: 3.102 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001554/0.3055, allocations: 36.91 kB / 1.17 GB, free: 3.062 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001773/0.3057, allocations: 89.09 kB / 1.17 GB, free: 2.957 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.551e-05/0.3057, allocations: 42.5 kB / 1.17 GB, free: 2.906 MB / 0.92 GB Notification: Performance of pre-optimization done (n=3): time 1.182e-06/0.3057, allocations: 0 / 1.17 GB, free: 2.906 MB / 0.92 GB Notification: Performance of matching and sorting (n=3): time 0.0005544/0.3063, allocations: 121.6 kB / 1.17 GB, free: 2.781 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.279e-05/0.3063, allocations: 51.41 kB / 1.17 GB, free: 2.719 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.706e-05/0.3064, allocations: 129.8 kB / 1.171 GB, free: 2.582 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.322e-05/0.3065, allocations: 25.7 kB / 1.171 GB, free: 2.551 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 4.514e-05/0.3065, allocations: 92.09 kB / 1.171 GB, free: 2.457 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 1.885e-05/0.3065, allocations: 15.95 kB / 1.171 GB, free: 2.441 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.717e-05/0.3066, allocations: 17.7 kB / 1.171 GB, free: 2.418 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 9.446e-05/0.3067, allocations: 318.8 kB / 1.171 GB, free: 2.098 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001534/0.3068, allocations: 27.97 kB / 1.171 GB, free: 2.07 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001447/0.307, allocations: 39.95 kB / 1.171 GB, free: 2.031 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002835/0.3073, allocations: 68.78 kB / 1.171 GB, free: 1.961 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/0.3073, allocations: 4 kB / 1.171 GB, free: 1.957 MB / 0.92 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003399/0.3076, allocations: 101.6 kB / 1.171 GB, free: 1.852 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.509e-05/0.3077, allocations: 4 kB / 1.171 GB, free: 1.848 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.3077, allocations: 0 / 1.171 GB, free: 1.848 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.731e-05/0.3077, allocations: 3.938 kB / 1.171 GB, free: 1.844 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001291/0.3078, allocations: 15.98 kB / 1.171 GB, free: 1.828 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.151e-06/0.3078, allocations: 3.938 kB / 1.171 GB, free: 1.824 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.485e-05/0.3079, allocations: 15.97 kB / 1.171 GB, free: 1.809 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.875e-06/0.3079, allocations: 0 / 1.171 GB, free: 1.809 MB / 0.92 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.27e-05/0.308, allocations: 121.8 kB / 1.171 GB, free: 1.68 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.965e-05/0.3081, allocations: 3.953 kB / 1.171 GB, free: 1.676 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003879/0.3085, allocations: 105.8 kB / 1.171 GB, free: 1.559 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.358e-06/0.3085, allocations: 4.031 kB / 1.171 GB, free: 1.555 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.997e-06/0.3085, allocations: 0 / 1.171 GB, free: 1.555 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.3085, allocations: 8 kB / 1.171 GB, free: 1.547 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001668/0.3087, allocations: 173.6 kB / 1.172 GB, free: 1.328 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.3087, allocations: 0 / 1.172 GB, free: 1.328 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.79e-05/0.3088, allocations: 15.92 kB / 1.172 GB, free: 1.312 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.845e-06/0.3088, allocations: 4 kB / 1.172 GB, free: 1.309 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.005e-06/0.3088, allocations: 0 / 1.172 GB, free: 1.309 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.3088, allocations: 0 / 1.172 GB, free: 1.309 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.3088, allocations: 3.984 kB / 1.172 GB, free: 1.305 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000368/0.3092, allocations: 195.4 kB / 1.172 GB, free: 1.098 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 4.356e-05/0.3093, allocations: 85.06 kB / 1.172 GB, free: 0.9961 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.525e-05/0.3093, allocations: 0 / 1.172 GB, free: 0.9961 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001113/0.3094, allocations: 11.98 kB / 1.172 GB, free: 0.9844 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.494e-05/0.3094, allocations: 3.984 kB / 1.172 GB, free: 0.9805 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.564e-06/0.3095, allocations: 4 kB / 1.172 GB, free: 0.9766 MB / 0.92 GB Notification: Performance of sorting global known variables: time 4.924e-05/0.3095, allocations: 99.27 kB / 1.172 GB, free: 0.8789 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.6e-07/0.3095, allocations: 3.938 kB / 1.172 GB, free: 0.875 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002828/0.3098, allocations: 27.88 kB / 1.172 GB, free: 0.8477 MB / 0.92 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.0007432/0.3106, allocations: 0.7668 MB / 1.173 GB, free: 56 kB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0003655/0.3109, allocations: 63.97 kB / 1.173 GB, free: 15.99 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 4.748e-06/0.311, allocations: 0 / 1.173 GB, free: 15.99 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001628/0.3111, allocations: 51.78 kB / 1.173 GB, free: 15.94 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003069/0.3114, allocations: 14.34 kB / 1.173 GB, free: 15.93 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001826/0.3133, allocations: 1.433 MB / 1.174 GB, free: 14.42 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002209/0.3135, allocations: 0.6807 MB / 1.175 GB, free: 13.71 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 3.71e-05/0.3136, allocations: 0 / 1.175 GB, free: 13.71 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.896e-05/0.3136, allocations: 23.42 kB / 1.175 GB, free: 13.69 MB / 0.9356 GB Notification: Performance of SimCode: time 2.5e-07/0.3136, allocations: 0 / 1.175 GB, free: 13.69 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01973/0.3334, allocations: 2.456 MB / 1.177 GB, free: 11.33 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.53/7.863, allocations: 7.953 kB / 1.177 GB, free: 11.32 MB / 0.9356 GB (rm -f Buildings_10_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; mkfifo Buildings_10_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe >> ../files/Buildings_10_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_10_Buildings_Utilities_Psychrometrics_Examples_Phi_pTX.fmu > Buildings_10_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Psychrometrics_Examples_Phi_pTX.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches