Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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.Examples.Phi_pTX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|phi.phi",fileNamePrefix="Buildings_9_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX") translateModel(Buildings.Utilities.Psychrometrics.Examples.Phi_pTX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|phi.phi",fileNamePrefix="Buildings_9_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001254/0.001254, allocations: 110.2 kB / 16.37 MB, free: 6.004 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.001267/0.001267, allocations: 197.1 kB / 17.31 MB, free: 5.617 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.199/1.199, allocations: 222.9 MB / 241 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.021/2.021, allocations: 390.3 MB / 0.6655 GB, free: 0.5742 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001154/0.001154, allocations: 68.19 kB / 0.814 GB, free: 32.63 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2152/0.2164, allocations: 140.4 MB / 0.9511 GB, free: 8.035 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.Phi_pTX): time 0.002313/0.2187, allocations: 1.487 MB / 0.9526 GB, free: 6.543 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001062/0.2198, allocations: 0.8069 MB / 0.9534 GB, free: 5.73 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.74e-05/0.2198, allocations: 0 / 0.9534 GB, free: 5.73 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 2.79e-05/0.2199, allocations: 3.938 kB / 0.9534 GB, free: 5.727 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 4.727e-05/0.2199, allocations: 15.86 kB / 0.9534 GB, free: 5.711 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003765/0.2203, allocations: 131.5 kB / 0.9535 GB, free: 5.582 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 7.082e-05/0.2204, allocations: 51.78 kB / 0.9536 GB, free: 5.531 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 8.627e-05/0.2205, allocations: 15.98 kB / 0.9536 GB, free: 5.516 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 4.126e-05/0.2205, allocations: 19.92 kB / 0.9536 GB, free: 5.496 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 4.408e-05/0.2206, allocations: 31.84 kB / 0.9536 GB, free: 5.465 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.299e-05/0.2206, allocations: 4 kB / 0.9536 GB, free: 5.461 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00029/0.2209, allocations: 167.8 kB / 0.9538 GB, free: 5.297 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.403e-05/0.2209, allocations: 7.984 kB / 0.9538 GB, free: 5.289 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 3.178e-05/0.2209, allocations: 27.86 kB / 0.9538 GB, free: 5.262 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0002317/0.2212, allocations: 155.5 kB / 0.954 GB, free: 5.109 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 2.876e-06/0.2212, allocations: 3.938 kB / 0.954 GB, free: 5.105 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.582e-06/0.2212, allocations: 0 / 0.954 GB, free: 5.105 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 4.098e-06/0.2212, allocations: 0 / 0.954 GB, free: 5.105 MB / 0.7325 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.0004742/0.2217, allocations: 391.2 kB / 0.9543 GB, free: 4.672 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.018e-05/0.2217, allocations: 12.03 kB / 0.9544 GB, free: 4.66 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.805e-05/0.2217, allocations: 8.828 kB / 0.9544 GB, free: 4.652 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001029/0.2219, allocations: 172.4 kB / 0.9545 GB, free: 4.445 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.586e-06/0.2219, allocations: 4.375 kB / 0.9545 GB, free: 4.441 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.158e-05/0.2219, allocations: 4.375 kB / 0.9545 GB, free: 4.438 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002123/0.2221, allocations: 74.16 kB / 0.9546 GB, free: 4.359 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.122e-06/0.2221, allocations: 192 / 0.9546 GB, free: 4.359 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.056e-05/0.2221, allocations: 7.922 kB / 0.9546 GB, free: 4.352 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.887e-06/0.2221, allocations: 0 / 0.9546 GB, free: 4.352 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002531/0.2224, allocations: 75.92 kB / 0.9547 GB, free: 4.277 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003061/0.2227, allocations: 276.7 kB / 0.955 GB, free: 3.957 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001731/0.2229, allocations: 62.47 kB / 0.955 GB, free: 3.887 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001276/0.223, allocations: 40.92 kB / 0.9551 GB, free: 3.844 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000154/0.2232, allocations: 89.09 kB / 0.9551 GB, free: 3.738 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.869e-05/0.2232, allocations: 34.55 kB / 0.9552 GB, free: 3.695 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=3): time 1.062e-06/0.2232, allocations: 0 / 0.9552 GB, free: 3.695 MB / 0.7325 GB Notification: Performance of matching and sorting (n=3): time 0.000458/0.2237, allocations: 129.5 kB / 0.9553 GB, free: 3.562 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.894e-05/0.2237, allocations: 55.41 kB / 0.9553 GB, free: 3.496 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.038e-05/0.2238, allocations: 125.8 kB / 0.9555 GB, free: 3.363 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.81e-05/0.2238, allocations: 29.64 kB / 0.9555 GB, free: 3.328 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 3.615e-05/0.2239, allocations: 88.14 kB / 0.9556 GB, free: 3.238 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.591e-05/0.2239, allocations: 11.97 kB / 0.9556 GB, free: 3.227 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.951e-05/0.2239, allocations: 13.72 kB / 0.9556 GB, free: 3.207 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 9.205e-05/0.224, allocations: 326.8 kB / 0.9559 GB, free: 2.879 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001301/0.2242, allocations: 35.97 kB / 0.956 GB, free: 2.844 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001112/0.2243, allocations: 31.95 kB / 0.956 GB, free: 2.812 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002229/0.2245, allocations: 72.78 kB / 0.9561 GB, free: 2.738 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.2245, allocations: 0 / 0.9561 GB, free: 2.738 MB / 0.7325 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002605/0.2248, allocations: 97.53 kB / 0.9561 GB, free: 2.637 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.707e-05/0.2248, allocations: 4 kB / 0.9561 GB, free: 2.633 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.587e-06/0.2248, allocations: 0 / 0.9561 GB, free: 2.633 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.342e-05/0.2248, allocations: 4 kB / 0.9562 GB, free: 2.629 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.985e-05/0.2249, allocations: 19.92 kB / 0.9562 GB, free: 2.609 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.068e-06/0.2249, allocations: 0 / 0.9562 GB, free: 2.609 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.708e-05/0.225, allocations: 19.91 kB / 0.9562 GB, free: 2.59 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.131e-06/0.225, allocations: 0 / 0.9562 GB, free: 2.59 MB / 0.7325 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 6.349e-05/0.2251, allocations: 117.8 kB / 0.9563 GB, free: 2.465 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.586e-05/0.2251, allocations: 7.906 kB / 0.9563 GB, free: 2.457 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000318/0.2254, allocations: 105.8 kB / 0.9564 GB, free: 2.34 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.426e-06/0.2255, allocations: 8.031 kB / 0.9564 GB, free: 2.332 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.477e-06/0.2255, allocations: 0 / 0.9564 GB, free: 2.332 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.264e-06/0.2255, allocations: 0 / 0.9564 GB, free: 2.332 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000152/0.2256, allocations: 173.6 kB / 0.9566 GB, free: 2.113 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.2256, allocations: 0 / 0.9566 GB, free: 2.113 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.58e-05/0.2257, allocations: 19.92 kB / 0.9566 GB, free: 2.094 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.423e-06/0.2257, allocations: 0 / 0.9566 GB, free: 2.094 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.472e-06/0.2257, allocations: 4 kB / 0.9566 GB, free: 2.09 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.223e-06/0.2257, allocations: 0 / 0.9566 GB, free: 2.09 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.2258, allocations: 0 / 0.9566 GB, free: 2.09 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003081/0.2261, allocations: 199.4 kB / 0.9568 GB, free: 1.879 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 3.543e-05/0.2261, allocations: 84.95 kB / 0.9569 GB, free: 1.777 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.471e-05/0.2261, allocations: 4 kB / 0.9569 GB, free: 1.773 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.565e-05/0.2262, allocations: 15.92 kB / 0.9569 GB, free: 1.758 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.997e-05/0.2263, allocations: 7.984 kB / 0.9569 GB, free: 1.75 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.918e-06/0.2263, allocations: 0 / 0.9569 GB, free: 1.75 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 5.215e-05/0.2263, allocations: 95.27 kB / 0.957 GB, free: 1.656 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2263, allocations: 0 / 0.957 GB, free: 1.656 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002398/0.2266, allocations: 28 kB / 0.957 GB, free: 1.629 MB / 0.7325 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.0001767/0.2268, allocations: 131.2 kB / 0.9571 GB, free: 1.492 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0002943/0.2271, allocations: 71.86 kB / 0.9572 GB, free: 1.422 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.744e-06/0.2271, allocations: 0 / 0.9572 GB, free: 1.422 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001257/0.2272, allocations: 35.97 kB / 0.9572 GB, free: 1.387 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002594/0.2275, allocations: 19.92 kB / 0.9573 GB, free: 1.367 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000275/0.2278, allocations: 159.1 kB / 0.9574 GB, free: 1.188 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002129/0.228, allocations: 0.6883 MB / 0.9581 GB, free: 484 kB / 0.7325 GB Notification: Performance of simCode: alias equations: time 2.624e-05/0.228, allocations: 0 / 0.9581 GB, free: 484 kB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.393e-05/0.228, allocations: 11.44 kB / 0.9581 GB, free: 472 kB / 0.7325 GB Notification: Performance of SimCode: time 2.4e-07/0.2281, allocations: 4 kB / 0.9581 GB, free: 468 kB / 0.7325 GB Notification: Performance of Templates: time 0.003875/0.2319, allocations: 1.361 MB / 0.9594 GB, free: 15.1 MB / 0.7481 GB make -j1 -f Buildings_9_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.makefile (rm -f Buildings_9_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; mkfifo Buildings_9_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe >> ../files/Buildings_9_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.sim & ./Buildings_9_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Psychrometrics_Examples_Phi_pTX.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches