Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.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.Functions.Examples.pW_TDewPoi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T|TInv|p_w|dT",fileNamePrefix="Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi") translateModel(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T|TInv|p_w|dT",fileNamePrefix="Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001177/0.001177, allocations: 101.7 kB / 16.35 MB, free: 6.289 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.001222/0.001222, allocations: 193.4 kB / 17.3 MB, free: 5.859 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.209/1.209, allocations: 222.9 MB / 241 MB, free: 15.17 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.003/2.003, allocations: 390.3 MB / 0.6655 GB, free: 0.5664 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.002022/0.002022, allocations: 62.38 kB / 0.814 GB, free: 32.75 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2389/0.2409, allocations: 140.4 MB / 0.9511 GB, free: 8.051 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi): time 0.0021/0.243, allocations: 1.268 MB / 0.9524 GB, free: 6.773 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001171/0.2442, allocations: 0.879 MB / 0.9532 GB, free: 5.891 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.787e-05/0.2442, allocations: 0 / 0.9532 GB, free: 5.891 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 1.445e-05/0.2443, allocations: 3.938 kB / 0.9532 GB, free: 5.887 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 3.34e-05/0.2443, allocations: 3.938 kB / 0.9532 GB, free: 5.883 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005443/0.2449, allocations: 203.2 kB / 0.9534 GB, free: 5.688 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 5.407e-05/0.2449, allocations: 23.84 kB / 0.9534 GB, free: 5.664 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 3.236e-05/0.245, allocations: 0 / 0.9534 GB, free: 5.664 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 3.283e-05/0.245, allocations: 11.94 kB / 0.9534 GB, free: 5.652 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 4.16e-05/0.2451, allocations: 7.984 kB / 0.9535 GB, free: 5.645 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 8.346e-06/0.2451, allocations: 0 / 0.9535 GB, free: 5.645 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003278/0.2454, allocations: 235.7 kB / 0.9537 GB, free: 5.414 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.151e-05/0.2454, allocations: 7.984 kB / 0.9537 GB, free: 5.406 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 2.049e-05/0.2454, allocations: 7.938 kB / 0.9537 GB, free: 5.398 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0002245/0.2457, allocations: 143.8 kB / 0.9538 GB, free: 5.258 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.2457, allocations: 4 kB / 0.9538 GB, free: 5.254 MB / 0.7325 GB Notification: Performance of FrontEnd: time 3.297e-06/0.2457, allocations: 0 / 0.9538 GB, free: 5.254 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 3.878e-06/0.2457, allocations: 3.938 kB / 0.9538 GB, free: 5.25 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003469/0.2461, allocations: 355.5 kB / 0.9542 GB, free: 4.855 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 2.835e-05/0.2461, allocations: 8.031 kB / 0.9542 GB, free: 4.848 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001525/0.2462, allocations: 8.922 kB / 0.9542 GB, free: 4.84 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.339e-05/0.2463, allocations: 164.3 kB / 0.9543 GB, free: 4.641 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.246e-05/0.2464, allocations: 12.38 kB / 0.9544 GB, free: 4.629 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.11e-05/0.2464, allocations: 4.125 kB / 0.9544 GB, free: 4.625 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001061/0.2465, allocations: 49.67 kB / 0.9544 GB, free: 4.57 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.574e-06/0.2465, allocations: 3.984 kB / 0.9544 GB, free: 4.566 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.167e-06/0.2465, allocations: 0 / 0.9544 GB, free: 4.566 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.617e-06/0.2465, allocations: 0 / 0.9544 GB, free: 4.566 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.718e-05/0.2466, allocations: 15.98 kB / 0.9544 GB, free: 4.551 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001315/0.2467, allocations: 153.7 kB / 0.9546 GB, free: 4.352 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000872/0.2476, allocations: 130.5 kB / 0.9547 GB, free: 4.215 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.772e-05/0.2476, allocations: 32.84 kB / 0.9547 GB, free: 4.18 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 9.934e-05/0.2477, allocations: 85.09 kB / 0.9548 GB, free: 4.078 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.994e-05/0.2478, allocations: 34.55 kB / 0.9548 GB, free: 4.035 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=4): time 1.162e-06/0.2478, allocations: 0 / 0.9548 GB, free: 4.035 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4): time 0.0001518/0.2479, allocations: 57.69 kB / 0.9549 GB, free: 3.973 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.971e-05/0.248, allocations: 59.41 kB / 0.955 GB, free: 3.902 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.591e-05/0.248, allocations: 97.8 kB / 0.9551 GB, free: 3.797 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.369e-05/0.248, allocations: 25.7 kB / 0.9551 GB, free: 3.766 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 2.139e-05/0.2481, allocations: 80.14 kB / 0.9552 GB, free: 3.684 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.299e-05/0.2481, allocations: 7.812 kB / 0.9552 GB, free: 3.676 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.336e-05/0.2481, allocations: 21.7 kB / 0.9552 GB, free: 3.648 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001005/0.2482, allocations: 314.8 kB / 0.9555 GB, free: 3.332 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.989e-05/0.2483, allocations: 16.06 kB / 0.9555 GB, free: 3.316 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.815e-05/0.2483, allocations: 15.92 kB / 0.9555 GB, free: 3.301 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.298e-05/0.2483, allocations: 20.86 kB / 0.9555 GB, free: 3.277 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.2483, allocations: 0 / 0.9555 GB, free: 3.277 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.83e-05/0.2484, allocations: 57.62 kB / 0.9556 GB, free: 3.215 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.148e-05/0.2484, allocations: 4 kB / 0.9556 GB, free: 3.211 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.2485, allocations: 0 / 0.9556 GB, free: 3.211 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.022e-05/0.2485, allocations: 3.938 kB / 0.9556 GB, free: 3.207 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.601e-05/0.2485, allocations: 11.98 kB / 0.9556 GB, free: 3.195 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.399e-06/0.2485, allocations: 0 / 0.9556 GB, free: 3.195 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.201e-05/0.2486, allocations: 15.84 kB / 0.9556 GB, free: 3.18 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.73e-06/0.2486, allocations: 0 / 0.9556 GB, free: 3.18 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 (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.543e-05/0.2487, allocations: 109.8 kB / 0.9557 GB, free: 3.062 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.068e-05/0.2487, allocations: 3.938 kB / 0.9557 GB, free: 3.059 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001817/0.2489, allocations: 77.17 kB / 0.9558 GB, free: 2.973 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.2489, allocations: 4 kB / 0.9558 GB, free: 2.969 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.2489, allocations: 0 / 0.9558 GB, free: 2.969 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.2489, allocations: 0 / 0.9558 GB, free: 2.969 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001088/0.249, allocations: 157.9 kB / 0.956 GB, free: 2.766 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.249, allocations: 7.938 kB / 0.956 GB, free: 2.758 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.888e-05/0.2491, allocations: 7.984 kB / 0.956 GB, free: 2.75 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.453e-06/0.2491, allocations: 0 / 0.956 GB, free: 2.75 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.368e-06/0.2491, allocations: 4 kB / 0.956 GB, free: 2.746 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.524e-06/0.2491, allocations: 4.062 kB / 0.956 GB, free: 2.742 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.2491, allocations: 4 kB / 0.956 GB, free: 2.738 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001103/0.2492, allocations: 89.05 kB / 0.9561 GB, free: 2.633 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.59e-05/0.2493, allocations: 89 kB / 0.9562 GB, free: 2.527 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.257e-05/0.2493, allocations: 4 kB / 0.9562 GB, free: 2.523 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.411e-05/0.2493, allocations: 0 / 0.9562 GB, free: 2.523 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.235e-05/0.2494, allocations: 0 / 0.9562 GB, free: 2.523 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.704e-06/0.2494, allocations: 4 kB / 0.9562 GB, free: 2.52 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 3.528e-05/0.2494, allocations: 79.28 kB / 0.9562 GB, free: 2.441 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.483e-06/0.2494, allocations: 0 / 0.9562 GB, free: 2.441 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002184/0.2496, allocations: 55.92 kB / 0.9563 GB, free: 2.387 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 (5): * Single equations (assignments): 5 * 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.0003046/0.2499, allocations: 171 kB / 0.9565 GB, free: 2.219 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 8.688e-05/0.25, allocations: 27.98 kB / 0.9565 GB, free: 2.191 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.25, allocations: 0 / 0.9565 GB, free: 2.191 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 2.72e-05/0.2501, allocations: 20.09 kB / 0.9565 GB, free: 2.172 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001462/0.2502, allocations: 15.88 kB / 0.9565 GB, free: 2.156 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002647/0.2505, allocations: 121 kB / 0.9566 GB, free: 2.016 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002148/0.2507, allocations: 0.6766 MB / 0.9573 GB, free: 1.312 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 4.634e-05/0.2508, allocations: 15.98 kB / 0.9573 GB, free: 1.297 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.204e-05/0.2508, allocations: 7.438 kB / 0.9573 GB, free: 1.289 MB / 0.7325 GB Notification: Performance of SimCode: time 2.51e-07/0.2508, allocations: 4 kB / 0.9573 GB, free: 1.285 MB / 0.7325 GB Notification: Performance of Templates: time 0.002988/0.2538, allocations: 1.068 MB / 0.9584 GB, free: 228 kB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.makefile (rm -f Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe ; mkfifo Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe >> ../files/Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.sim & ./Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches