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.001261/0.001261, allocations: 105.5 kB / 16.35 MB, free: 5.824 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.00116/0.00116, allocations: 190.5 kB / 17.29 MB, free: 5.48 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.207/1.207, allocations: 222.9 MB / 241 MB, free: 15.16 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.238/2.238, allocations: 437.1 MB / 0.7112 GB, free: 4.359 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001132/0.001132, allocations: 60.19 kB / 0.8707 GB, free: 1.438 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2502/0.2514, allocations: 151.6 MB / 1.019 GB, free: 9.84 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX): time 0.002097/0.2535, allocations: 1.27 MB / 1.02 GB, free: 8.559 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001117/0.2547, allocations: 0.8356 MB / 1.021 GB, free: 7.719 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.505e-05/0.2547, allocations: 4 kB / 1.021 GB, free: 7.715 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 1.537e-05/0.2547, allocations: 0 / 1.021 GB, free: 7.715 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 3.564e-05/0.2548, allocations: 7.922 kB / 1.021 GB, free: 7.707 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003952/0.2552, allocations: 131.4 kB / 1.021 GB, free: 7.578 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 6.808e-05/0.2552, allocations: 23.92 kB / 1.021 GB, free: 7.555 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 3.165e-05/0.2553, allocations: 4 kB / 1.021 GB, free: 7.551 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 3.377e-05/0.2553, allocations: 11.92 kB / 1.021 GB, free: 7.539 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 5.091e-05/0.2554, allocations: 12 kB / 1.021 GB, free: 7.527 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.478e-05/0.2554, allocations: 4 kB / 1.021 GB, free: 7.523 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002764/0.2557, allocations: 167.6 kB / 1.021 GB, free: 7.359 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 1.498e-05/0.2557, allocations: 3.984 kB / 1.021 GB, free: 7.355 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 3.052e-05/0.2557, allocations: 15.94 kB / 1.021 GB, free: 7.34 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0002029/0.2559, allocations: 111.8 kB / 1.021 GB, free: 7.23 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.2559, allocations: 0 / 1.021 GB, free: 7.23 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.603e-06/0.256, allocations: 0 / 1.021 GB, free: 7.23 MB / 0.795 GB Notification: Performance of Transformations before backend: time 4.058e-06/0.256, allocations: 4 kB / 1.021 GB, free: 7.227 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.0004413/0.2564, allocations: 371.3 kB / 1.022 GB, free: 6.812 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.494e-05/0.2564, allocations: 12.62 kB / 1.022 GB, free: 6.801 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.968e-05/0.2565, allocations: 0.9375 kB / 1.022 GB, free: 6.801 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001172/0.2566, allocations: 168.3 kB / 1.022 GB, free: 6.598 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.529e-05/0.2567, allocations: 26.27 kB / 1.022 GB, free: 6.566 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.021e-05/0.2567, allocations: 4.375 kB / 1.022 GB, free: 6.562 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001289/0.2568, allocations: 54.16 kB / 1.022 GB, free: 6.504 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.245e-06/0.2568, allocations: 3.938 kB / 1.022 GB, free: 6.5 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.949e-06/0.2569, allocations: 0 / 1.022 GB, free: 6.5 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.148e-06/0.2569, allocations: 4 kB / 1.022 GB, free: 6.496 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.125e-05/0.257, allocations: 19.98 kB / 1.022 GB, free: 6.477 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001593/0.2571, allocations: 153.7 kB / 1.022 GB, free: 6.277 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001904/0.2573, allocations: 46.56 kB / 1.022 GB, free: 6.223 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.246e-05/0.2574, allocations: 20.8 kB / 1.022 GB, free: 6.199 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002808/0.2577, allocations: 182.2 kB / 1.022 GB, free: 5.984 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.282e-05/0.2577, allocations: 38.55 kB / 1.022 GB, free: 5.938 MB / 0.795 GB Notification: Performance of pre-optimization done (n=4): time 1.032e-06/0.2577, allocations: 0 / 1.022 GB, free: 5.938 MB / 0.795 GB Notification: Performance of matching and sorting (n=4): time 0.0002177/0.2579, allocations: 65.62 kB / 1.022 GB, free: 5.867 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.571e-05/0.258, allocations: 55.39 kB / 1.022 GB, free: 5.801 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.277e-05/0.258, allocations: 97.86 kB / 1.023 GB, free: 5.695 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.283e-05/0.2581, allocations: 29.7 kB / 1.023 GB, free: 5.66 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 2.379e-05/0.2581, allocations: 80.14 kB / 1.023 GB, free: 5.578 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 2.293e-05/0.2581, allocations: 7.812 kB / 1.023 GB, free: 5.57 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.079e-05/0.2582, allocations: 21.7 kB / 1.023 GB, free: 5.543 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 9.926e-05/0.2583, allocations: 314.8 kB / 1.023 GB, free: 5.227 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.455e-05/0.2583, allocations: 8 kB / 1.023 GB, free: 5.219 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.329e-05/0.2584, allocations: 15.92 kB / 1.023 GB, free: 5.203 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.107e-05/0.2585, allocations: 36.84 kB / 1.023 GB, free: 5.164 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.985e-06/0.2585, allocations: 0 / 1.023 GB, free: 5.164 MB / 0.795 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001132/0.2586, allocations: 53.62 kB / 1.023 GB, free: 5.105 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.364e-05/0.2586, allocations: 11.94 kB / 1.023 GB, free: 5.094 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.517e-06/0.2586, allocations: 0 / 1.023 GB, free: 5.094 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.547e-06/0.2586, allocations: 0 / 1.023 GB, free: 5.094 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.654e-05/0.2587, allocations: 7.984 kB / 1.023 GB, free: 5.086 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.302e-06/0.2587, allocations: 4 kB / 1.023 GB, free: 5.082 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.171e-05/0.2587, allocations: 7.938 kB / 1.023 GB, free: 5.074 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.729e-06/0.2587, allocations: 3.938 kB / 1.023 GB, free: 5.07 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 6.821e-05/0.2588, allocations: 113.8 kB / 1.023 GB, free: 4.949 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.297e-05/0.2588, allocations: 8.359 kB / 1.023 GB, free: 4.941 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001585/0.259, allocations: 69.16 kB / 1.023 GB, free: 4.863 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.045e-06/0.259, allocations: 4.031 kB / 1.023 GB, free: 4.859 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.259, allocations: 0 / 1.023 GB, free: 4.859 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.134e-06/0.259, allocations: 0 / 1.023 GB, free: 4.859 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001028/0.2591, allocations: 157.7 kB / 1.023 GB, free: 4.656 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.2591, allocations: 4 kB / 1.023 GB, free: 4.652 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.168e-05/0.2592, allocations: 12 kB / 1.023 GB, free: 4.641 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.065e-06/0.2592, allocations: 3.938 kB / 1.024 GB, free: 4.637 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.635e-06/0.2592, allocations: 4 kB / 1.024 GB, free: 4.633 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.066e-06/0.2592, allocations: 3.938 kB / 1.024 GB, free: 4.629 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.81e-07/0.2592, allocations: 0 / 1.024 GB, free: 4.629 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001306/0.2593, allocations: 81.11 kB / 1.024 GB, free: 4.531 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 5.172e-05/0.2594, allocations: 81.09 kB / 1.024 GB, free: 4.434 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.146e-05/0.2594, allocations: 7.938 kB / 1.024 GB, free: 4.426 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.318e-05/0.2595, allocations: 4 kB / 1.024 GB, free: 4.422 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.418e-05/0.2595, allocations: 0 / 1.024 GB, free: 4.422 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.304e-06/0.2595, allocations: 11.94 kB / 1.024 GB, free: 4.41 MB / 0.795 GB Notification: Performance of sorting global known variables: time 2.829e-05/0.2595, allocations: 79.27 kB / 1.024 GB, free: 4.332 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2595, allocations: 0 / 1.024 GB, free: 4.332 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002055/0.2598, allocations: 35.94 kB / 1.024 GB, free: 4.297 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.0001855/0.2599, allocations: 143.2 kB / 1.024 GB, free: 4.148 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.000125/0.2601, allocations: 27.92 kB / 1.024 GB, free: 4.121 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.2601, allocations: 0 / 1.024 GB, free: 4.121 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 4.595e-05/0.2601, allocations: 11.98 kB / 1.024 GB, free: 4.109 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001635/0.2603, allocations: 10.34 kB / 1.024 GB, free: 4.102 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002325/0.2605, allocations: 131.1 kB / 1.024 GB, free: 3.949 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002009/0.2608, allocations: 0.6846 MB / 1.025 GB, free: 3.238 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 3.097e-05/0.2608, allocations: 0 / 1.025 GB, free: 3.238 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.723e-05/0.2608, allocations: 11.44 kB / 1.025 GB, free: 3.227 MB / 0.795 GB Notification: Performance of SimCode: time 2.31e-07/0.2608, allocations: 0 / 1.025 GB, free: 3.227 MB / 0.795 GB Notification: Performance of Templates: time 0.002997/0.2638, allocations: 1.07 MB / 1.026 GB, free: 2.164 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 cvode -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