Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Psychrometrics.Functions.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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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: translateModel(Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T|X_w|phi",fileNamePrefix="Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX") translateModel(Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T|X_w|phi",fileNamePrefix="Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00105/0.00105, allocations: 111.5 kB / 16.37 MB, free: 5.539 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.001053/0.001053, allocations: 192 kB / 17.31 MB, free: 5.18 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.315/1.315, allocations: 222.9 MB / 241 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.417/2.417, allocations: 437.1 MB / 0.7112 GB, free: 4.434 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001296/0.001296, allocations: 66.86 kB / 0.8707 GB, free: 1.488 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2923/0.2936, allocations: 151.6 MB / 1.019 GB, free: 9.891 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX): time 0.002354/0.296, allocations: 1.274 MB / 1.02 GB, free: 8.605 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001296/0.2973, allocations: 0.8318 MB / 1.021 GB, free: 7.77 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.073e-05/0.2973, allocations: 0 / 1.021 GB, free: 7.77 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 1.959e-05/0.2974, allocations: 3.938 kB / 1.021 GB, free: 7.766 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 4.302e-05/0.2974, allocations: 7.875 kB / 1.021 GB, free: 7.758 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004844/0.2979, allocations: 127.5 kB / 1.021 GB, free: 7.633 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 7.963e-05/0.298, allocations: 35.84 kB / 1.021 GB, free: 7.598 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 3.905e-05/0.298, allocations: 4 kB / 1.021 GB, free: 7.594 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 3.923e-05/0.2981, allocations: 7.984 kB / 1.021 GB, free: 7.586 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 6.266e-05/0.2981, allocations: 11.94 kB / 1.021 GB, free: 7.574 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.374e-05/0.2982, allocations: 4 kB / 1.021 GB, free: 7.57 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003126/0.2985, allocations: 159.8 kB / 1.021 GB, free: 7.414 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 1.808e-05/0.2985, allocations: 7.984 kB / 1.021 GB, free: 7.406 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 2.83e-05/0.2985, allocations: 15.94 kB / 1.021 GB, free: 7.391 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.000225/0.2988, allocations: 119.7 kB / 1.021 GB, free: 7.273 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.918e-06/0.2988, allocations: 0 / 1.021 GB, free: 7.273 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.563e-06/0.2988, allocations: 0 / 1.021 GB, free: 7.273 MB / 0.795 GB Notification: Performance of Transformations before backend: time 6.292e-06/0.2988, allocations: 4 kB / 1.021 GB, free: 7.27 MB / 0.795 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.000454/0.2993, allocations: 363.4 kB / 1.022 GB, free: 6.863 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.689e-05/0.2993, allocations: 8.625 kB / 1.022 GB, free: 6.855 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.912e-05/0.2993, allocations: 8.922 kB / 1.022 GB, free: 6.848 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001197/0.2995, allocations: 164.3 kB / 1.022 GB, free: 6.648 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.927e-05/0.2995, allocations: 30.27 kB / 1.022 GB, free: 6.613 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.747e-06/0.2996, allocations: 384 / 1.022 GB, free: 6.613 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001316/0.2997, allocations: 42.25 kB / 1.022 GB, free: 6.566 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.896e-06/0.2997, allocations: 7.938 kB / 1.022 GB, free: 6.559 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.999e-06/0.2997, allocations: 0 / 1.022 GB, free: 6.559 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.123e-06/0.2997, allocations: 3.984 kB / 1.022 GB, free: 6.555 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.736e-05/0.2998, allocations: 23.92 kB / 1.022 GB, free: 6.531 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001659/0.3, allocations: 153.7 kB / 1.022 GB, free: 6.332 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002166/0.3002, allocations: 50.5 kB / 1.022 GB, free: 6.273 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.948e-05/0.3003, allocations: 20.86 kB / 1.022 GB, free: 6.25 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002968/0.3006, allocations: 178.3 kB / 1.022 GB, free: 6.039 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.892e-05/0.3006, allocations: 30.56 kB / 1.022 GB, free: 6 MB / 0.795 GB Notification: Performance of pre-optimization done (n=4): time 1.272e-06/0.3007, allocations: 3.938 kB / 1.022 GB, free: 5.996 MB / 0.795 GB Notification: Performance of matching and sorting (n=4): time 0.00025/0.3009, allocations: 73.55 kB / 1.022 GB, free: 5.918 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.71e-05/0.301, allocations: 55.41 kB / 1.022 GB, free: 5.852 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.845e-05/0.301, allocations: 101.8 kB / 1.023 GB, free: 5.742 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.444e-05/0.3011, allocations: 25.7 kB / 1.023 GB, free: 5.711 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 2.883e-05/0.3011, allocations: 80.14 kB / 1.023 GB, free: 5.629 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 2.645e-05/0.3011, allocations: 15.81 kB / 1.023 GB, free: 5.613 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.082e-05/0.3012, allocations: 13.72 kB / 1.023 GB, free: 5.594 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.000124/0.3013, allocations: 314.8 kB / 1.023 GB, free: 5.277 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.746e-05/0.3013, allocations: 8 kB / 1.023 GB, free: 5.27 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.903e-05/0.3014, allocations: 15.98 kB / 1.023 GB, free: 5.254 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.927e-05/0.3015, allocations: 33.25 kB / 1.023 GB, free: 5.219 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.3015, allocations: 0 / 1.023 GB, free: 5.219 MB / 0.795 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001234/0.3016, allocations: 53.67 kB / 1.023 GB, free: 5.16 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.438e-05/0.3016, allocations: 11.94 kB / 1.023 GB, free: 5.148 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.3016, allocations: 0 / 1.023 GB, free: 5.148 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.235e-05/0.3017, allocations: 0 / 1.023 GB, free: 5.148 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.219e-05/0.3017, allocations: 11.98 kB / 1.023 GB, free: 5.137 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.632e-06/0.3017, allocations: 4 kB / 1.023 GB, free: 5.133 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.05e-05/0.3018, allocations: 7.938 kB / 1.023 GB, free: 5.125 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.704e-06/0.3018, allocations: 4 kB / 1.023 GB, free: 5.121 MB / 0.795 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 (4): * Single equations (assignments): 4 * 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.66e-05/0.3019, allocations: 109.8 kB / 1.023 GB, free: 5.004 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.36e-05/0.3019, allocations: 7.844 kB / 1.023 GB, free: 4.996 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001734/0.3021, allocations: 69.11 kB / 1.023 GB, free: 4.918 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.863e-06/0.3021, allocations: 0 / 1.023 GB, free: 4.918 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.3021, allocations: 0 / 1.023 GB, free: 4.918 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.3021, allocations: 4 kB / 1.023 GB, free: 4.914 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001113/0.3022, allocations: 165.7 kB / 1.024 GB, free: 4.703 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.3022, allocations: 0 / 1.024 GB, free: 4.703 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.528e-05/0.3023, allocations: 7.984 kB / 1.024 GB, free: 4.695 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.439e-06/0.3023, allocations: 7.938 kB / 1.024 GB, free: 4.688 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.372e-06/0.3023, allocations: 0 / 1.024 GB, free: 4.688 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.3023, allocations: 0 / 1.024 GB, free: 4.688 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.3023, allocations: 0 / 1.024 GB, free: 4.688 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001577/0.3025, allocations: 89.05 kB / 1.024 GB, free: 4.582 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 6.368e-05/0.3025, allocations: 77.11 kB / 1.024 GB, free: 4.488 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.428e-05/0.3025, allocations: 11.88 kB / 1.024 GB, free: 4.477 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.7e-05/0.3026, allocations: 3.984 kB / 1.024 GB, free: 4.473 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.096e-05/0.3026, allocations: 7.938 kB / 1.024 GB, free: 4.465 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.628e-06/0.3026, allocations: 4 kB / 1.024 GB, free: 4.461 MB / 0.795 GB Notification: Performance of sorting global known variables: time 3.853e-05/0.3027, allocations: 75.28 kB / 1.024 GB, free: 4.387 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3027, allocations: 0 / 1.024 GB, free: 4.387 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002158/0.3029, allocations: 39.92 kB / 1.024 GB, free: 4.348 MB / 0.795 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 (4): * Single equations (assignments): 4 * 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.0001938/0.3031, allocations: 139.2 kB / 1.024 GB, free: 4.203 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0001404/0.3033, allocations: 23.98 kB / 1.024 GB, free: 4.18 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 4.538e-06/0.3033, allocations: 0 / 1.024 GB, free: 4.18 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 5.798e-05/0.3033, allocations: 23.92 kB / 1.024 GB, free: 4.156 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001836/0.3035, allocations: 0 / 1.024 GB, free: 4.156 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002573/0.3038, allocations: 135.1 kB / 1.024 GB, free: 4 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002195/0.304, allocations: 0.6768 MB / 1.025 GB, free: 3.297 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 4.327e-05/0.3041, allocations: 4 kB / 1.025 GB, free: 3.293 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.818e-05/0.3041, allocations: 7.438 kB / 1.025 GB, free: 3.285 MB / 0.795 GB Notification: Performance of SimCode: time 3.61e-07/0.3041, allocations: 4 kB / 1.025 GB, free: 3.281 MB / 0.795 GB Notification: Performance of Templates: time 0.003274/0.3074, allocations: 1.066 MB / 1.026 GB, free: 2.223 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.makefile (rm -f Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; mkfifo Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe >> ../files/Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.sim & ./Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Psychrometrics_Functions_Examples_phi_pTX.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches