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.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: 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.0063/0.0063, allocations: 97.56 kB / 15.73 MB, free: 6.035 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.001386/0.001386, allocations: 201.2 kB / 16.68 MB, free: 5.961 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.417/1.417, allocations: 222.9 MB / 240.4 MB, free: 4.34 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.884/2.884, allocations: 437 MB / 0.7105 GB, free: 5.023 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001221/0.001221, allocations: 59.91 kB / 1.019 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3266/0.3279, allocations: 151.6 MB / 1.167 GB, free: 6.816 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX): time 0.002556/0.3305, allocations: 1.279 MB / 1.168 GB, free: 5.523 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001352/0.3318, allocations: 0.8267 MB / 1.169 GB, free: 4.691 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.401e-05/0.3319, allocations: 0 / 1.169 GB, free: 4.691 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 2.383e-05/0.3319, allocations: 3.984 kB / 1.169 GB, free: 4.688 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 4.93e-05/0.332, allocations: 7.922 kB / 1.169 GB, free: 4.68 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006047/0.3326, allocations: 131.4 kB / 1.169 GB, free: 4.551 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 8.212e-05/0.3327, allocations: 23.92 kB / 1.169 GB, free: 4.527 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 4.216e-05/0.3327, allocations: 0 / 1.169 GB, free: 4.527 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 5.115e-05/0.3328, allocations: 19.97 kB / 1.169 GB, free: 4.508 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 7.161e-05/0.3329, allocations: 11.92 kB / 1.169 GB, free: 4.496 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.44e-05/0.3329, allocations: 0 / 1.169 GB, free: 4.496 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003631/0.3333, allocations: 167.7 kB / 1.169 GB, free: 4.332 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 1.786e-05/0.3333, allocations: 7.984 kB / 1.169 GB, free: 4.324 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 2.389e-05/0.3333, allocations: 7.938 kB / 1.169 GB, free: 4.316 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0002937/0.3336, allocations: 127.6 kB / 1.169 GB, free: 4.191 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.3336, allocations: 0 / 1.169 GB, free: 4.191 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.402e-06/0.3336, allocations: 4 kB / 1.169 GB, free: 4.188 MB / 0.92 GB Notification: Performance of Transformations before backend: time 4.919e-06/0.3337, allocations: 0 / 1.169 GB, free: 4.188 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004605/0.3341, allocations: 359.2 kB / 1.169 GB, free: 3.785 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.656e-05/0.3342, allocations: 8.031 kB / 1.17 GB, free: 3.777 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.857e-05/0.3342, allocations: 8.891 kB / 1.17 GB, free: 3.77 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001203/0.3343, allocations: 160.4 kB / 1.17 GB, free: 3.574 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.046e-05/0.3344, allocations: 34.2 kB / 1.17 GB, free: 3.535 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.501e-05/0.3345, allocations: 4.375 kB / 1.17 GB, free: 3.531 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001784/0.3346, allocations: 54.17 kB / 1.17 GB, free: 3.473 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.061e-05/0.3347, allocations: 7.938 kB / 1.17 GB, free: 3.465 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.131e-05/0.3347, allocations: 0 / 1.17 GB, free: 3.465 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.3347, allocations: 0 / 1.17 GB, free: 3.465 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001005/0.3348, allocations: 11.98 kB / 1.17 GB, free: 3.453 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001717/0.335, allocations: 165.7 kB / 1.17 GB, free: 3.242 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002071/0.3352, allocations: 42.56 kB / 1.17 GB, free: 3.191 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.166e-05/0.3353, allocations: 24.88 kB / 1.17 GB, free: 3.164 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003082/0.3356, allocations: 178.2 kB / 1.17 GB, free: 2.953 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.522e-05/0.3356, allocations: 38.56 kB / 1.17 GB, free: 2.906 MB / 0.92 GB Notification: Performance of pre-optimization done (n=4): time 1.202e-06/0.3356, allocations: 0 / 1.17 GB, free: 2.906 MB / 0.92 GB Notification: Performance of matching and sorting (n=4): time 0.0002669/0.3359, allocations: 77.59 kB / 1.17 GB, free: 2.824 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.451e-05/0.3359, allocations: 51.41 kB / 1.17 GB, free: 2.762 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.252e-05/0.336, allocations: 93.86 kB / 1.17 GB, free: 2.66 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.566e-05/0.3361, allocations: 25.7 kB / 1.17 GB, free: 2.629 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 2.622e-05/0.3361, allocations: 84.14 kB / 1.171 GB, free: 2.543 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 3.244e-05/0.3361, allocations: 15.84 kB / 1.171 GB, free: 2.527 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.764e-05/0.3362, allocations: 17.7 kB / 1.171 GB, free: 2.504 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001121/0.3363, allocations: 314.8 kB / 1.171 GB, free: 2.188 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.219e-05/0.3363, allocations: 19.92 kB / 1.171 GB, free: 2.168 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.071e-05/0.3364, allocations: 8 kB / 1.171 GB, free: 2.16 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.591e-05/0.3365, allocations: 24.84 kB / 1.171 GB, free: 2.133 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.3365, allocations: 0 / 1.171 GB, free: 2.133 MB / 0.92 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001359/0.3366, allocations: 57.69 kB / 1.171 GB, free: 2.07 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.459e-05/0.3367, allocations: 10.44 kB / 1.171 GB, free: 2.062 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.3367, allocations: 0 / 1.171 GB, free: 2.062 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.403e-05/0.3367, allocations: 3.984 kB / 1.171 GB, free: 2.059 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.344e-05/0.3368, allocations: 12 kB / 1.171 GB, free: 2.047 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.424e-06/0.3368, allocations: 3.938 kB / 1.171 GB, free: 2.043 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.403e-05/0.3368, allocations: 7.953 kB / 1.171 GB, free: 2.035 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.679e-06/0.3368, allocations: 0 / 1.171 GB, free: 2.035 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 (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.812e-05/0.3369, allocations: 105.8 kB / 1.171 GB, free: 1.922 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.542e-05/0.3369, allocations: 7.938 kB / 1.171 GB, free: 1.914 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001869/0.3371, allocations: 69.16 kB / 1.171 GB, free: 1.836 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.168e-06/0.3371, allocations: 4 kB / 1.171 GB, free: 1.832 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.3371, allocations: 4 kB / 1.171 GB, free: 1.828 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.005e-06/0.3371, allocations: 0 / 1.171 GB, free: 1.828 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001102/0.3373, allocations: 153.7 kB / 1.171 GB, free: 1.629 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.3373, allocations: 0 / 1.171 GB, free: 1.629 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.96e-05/0.3373, allocations: 8 kB / 1.171 GB, free: 1.621 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.331e-06/0.3373, allocations: 7.875 kB / 1.171 GB, free: 1.613 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.945e-06/0.3373, allocations: 7.875 kB / 1.171 GB, free: 1.605 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.522e-06/0.3374, allocations: 0 / 1.171 GB, free: 1.605 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.3374, allocations: 0 / 1.171 GB, free: 1.605 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001653/0.3375, allocations: 89.62 kB / 1.171 GB, free: 1.5 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 5.678e-05/0.3376, allocations: 85.09 kB / 1.172 GB, free: 1.398 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.472e-05/0.3376, allocations: 3.938 kB / 1.172 GB, free: 1.395 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.149e-05/0.3377, allocations: 4 kB / 1.172 GB, free: 1.391 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.686e-05/0.3377, allocations: 4 kB / 1.172 GB, free: 1.387 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.182e-06/0.3377, allocations: 3.984 kB / 1.172 GB, free: 1.383 MB / 0.92 GB Notification: Performance of sorting global known variables: time 3.502e-05/0.3378, allocations: 83.31 kB / 1.172 GB, free: 1.301 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3378, allocations: 0 / 1.172 GB, free: 1.301 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.00025/0.338, allocations: 43.81 kB / 1.172 GB, free: 1.258 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 (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.0002372/0.3383, allocations: 135.1 kB / 1.172 GB, free: 1.113 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0001625/0.3384, allocations: 31.92 kB / 1.172 GB, free: 1.082 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.3385, allocations: 0 / 1.172 GB, free: 1.082 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 5.752e-05/0.3385, allocations: 15.98 kB / 1.172 GB, free: 1.066 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002572/0.3388, allocations: 8 kB / 1.172 GB, free: 1.059 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002931/0.3391, allocations: 127 kB / 1.172 GB, free: 0.9102 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002275/0.3393, allocations: 0.6768 MB / 1.173 GB, free: 212 kB / 0.92 GB Notification: Performance of simCode: alias equations: time 3.703e-05/0.3394, allocations: 0 / 1.173 GB, free: 212 kB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.293e-05/0.3394, allocations: 19.42 kB / 1.173 GB, free: 192 kB / 0.92 GB Notification: Performance of SimCode: time 2.9e-07/0.3394, allocations: 0 / 1.173 GB, free: 192 kB / 0.92 GB Notification: Performance of Templates: time 0.003493/0.3429, allocations: 1.058 MB / 1.174 GB, free: 15.14 MB / 0.9356 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 -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/jenkins/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