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.001549/0.001549, allocations: 114.7 kB / 16.37 MB, free: 5.984 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.001729/0.001729, allocations: 192.6 kB / 17.31 MB, free: 5.602 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.461/1.461, 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.221/2.221, allocations: 390.3 MB / 0.6655 GB, free: 0.6055 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001289/0.001289, allocations: 66.22 kB / 0.814 GB, free: 32.85 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2546/0.2559, allocations: 140.4 MB / 0.9511 GB, free: 8.074 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi): time 0.002394/0.2583, allocations: 1.275 MB / 0.9524 GB, free: 6.789 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001229/0.2595, allocations: 0.8635 MB / 0.9532 GB, free: 5.922 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.992e-05/0.2596, allocations: 0 / 0.9532 GB, free: 5.922 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 1.719e-05/0.2596, allocations: 4 kB / 0.9532 GB, free: 5.918 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 4.133e-05/0.2597, allocations: 7.938 kB / 0.9532 GB, free: 5.91 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006075/0.2603, allocations: 199.2 kB / 0.9534 GB, free: 5.715 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 5.22e-05/0.2603, allocations: 23.86 kB / 0.9534 GB, free: 5.691 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 3.699e-05/0.2604, allocations: 4 kB / 0.9534 GB, free: 5.688 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 3.306e-05/0.2604, allocations: 7.984 kB / 0.9535 GB, free: 5.68 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 4.467e-05/0.2605, allocations: 4 kB / 0.9535 GB, free: 5.676 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 8.906e-06/0.2605, allocations: 4 kB / 0.9535 GB, free: 5.672 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003434/0.2608, allocations: 235.7 kB / 0.9537 GB, free: 5.441 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.308e-05/0.2609, allocations: 7.922 kB / 0.9537 GB, free: 5.434 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 2.28e-05/0.2609, allocations: 4 kB / 0.9537 GB, free: 5.43 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0002375/0.2611, allocations: 147.7 kB / 0.9538 GB, free: 5.285 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.2611, allocations: 0 / 0.9538 GB, free: 5.285 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.282e-06/0.2611, allocations: 0 / 0.9538 GB, free: 5.285 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 4.739e-06/0.2612, allocations: 0 / 0.9538 GB, free: 5.285 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.0003972/0.2616, allocations: 355.5 kB / 0.9542 GB, free: 4.891 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.461e-05/0.2616, allocations: 15.97 kB / 0.9542 GB, free: 4.875 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001738/0.2618, allocations: 12.92 kB / 0.9542 GB, free: 4.863 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.844e-05/0.2619, allocations: 168.4 kB / 0.9544 GB, free: 4.66 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.306e-06/0.2619, allocations: 384 / 0.9544 GB, free: 4.66 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.219e-05/0.2619, allocations: 4.125 kB / 0.9544 GB, free: 4.656 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001122/0.262, allocations: 41.69 kB / 0.9544 GB, free: 4.609 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.582e-06/0.262, allocations: 3.938 kB / 0.9544 GB, free: 4.605 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.066e-05/0.2621, allocations: 0 / 0.9544 GB, free: 4.605 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.649e-06/0.2621, allocations: 4 kB / 0.9544 GB, free: 4.602 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.056e-05/0.2621, allocations: 15.98 kB / 0.9544 GB, free: 4.586 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001496/0.2623, allocations: 161.7 kB / 0.9546 GB, free: 4.379 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009204/0.2632, allocations: 138.4 kB / 0.9547 GB, free: 4.234 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.995e-05/0.2633, allocations: 20.8 kB / 0.9547 GB, free: 4.211 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001129/0.2634, allocations: 93.08 kB / 0.9548 GB, free: 4.102 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.252e-05/0.2634, allocations: 34.56 kB / 0.9549 GB, free: 4.059 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=4): time 3.457e-06/0.2634, allocations: 3.984 kB / 0.9549 GB, free: 4.055 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4): time 0.0001679/0.2636, allocations: 65.62 kB / 0.9549 GB, free: 3.984 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.811e-05/0.2636, allocations: 51.41 kB / 0.955 GB, free: 3.922 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.225e-05/0.2637, allocations: 89.86 kB / 0.9551 GB, free: 3.824 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.489e-05/0.2637, allocations: 25.7 kB / 0.9551 GB, free: 3.793 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 3.003e-05/0.2638, allocations: 84.27 kB / 0.9552 GB, free: 3.707 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.328e-05/0.2638, allocations: 19.8 kB / 0.9552 GB, free: 3.688 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.461e-05/0.2638, allocations: 13.72 kB / 0.9552 GB, free: 3.668 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.000101/0.264, allocations: 310.8 kB / 0.9555 GB, free: 3.355 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.487e-05/0.264, allocations: 11.98 kB / 0.9555 GB, free: 3.344 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.78e-05/0.264, allocations: 8 kB / 0.9555 GB, free: 3.336 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.987e-05/0.2641, allocations: 24.86 kB / 0.9555 GB, free: 3.309 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.2641, allocations: 0 / 0.9555 GB, free: 3.309 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.955e-05/0.2642, allocations: 61.56 kB / 0.9556 GB, free: 3.242 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.216e-05/0.2642, allocations: 11.98 kB / 0.9556 GB, free: 3.23 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.038e-06/0.2642, allocations: 0 / 0.9556 GB, free: 3.23 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.256e-05/0.2642, allocations: 4 kB / 0.9556 GB, free: 3.227 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.76e-05/0.2643, allocations: 4 kB / 0.9556 GB, free: 3.223 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.779e-06/0.2643, allocations: 0 / 0.9556 GB, free: 3.223 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.264e-05/0.2643, allocations: 7.844 kB / 0.9556 GB, free: 3.215 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.688e-06/0.2643, allocations: 4 kB / 0.9556 GB, free: 3.211 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.439e-05/0.2644, allocations: 105.8 kB / 0.9557 GB, free: 3.098 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.418e-05/0.2644, allocations: 7.938 kB / 0.9557 GB, free: 3.09 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002306/0.2647, allocations: 85.09 kB / 0.9558 GB, free: 2.996 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.883e-06/0.2647, allocations: 0 / 0.9558 GB, free: 2.996 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.326e-06/0.2647, allocations: 0 / 0.9558 GB, free: 2.996 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.2647, allocations: 0 / 0.9558 GB, free: 2.996 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.747e-05/0.2648, allocations: 161.6 kB / 0.956 GB, free: 2.789 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.2648, allocations: 7.938 kB / 0.956 GB, free: 2.781 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.638e-05/0.2649, allocations: 8 kB / 0.956 GB, free: 2.773 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.168e-06/0.2649, allocations: 0 / 0.956 GB, free: 2.773 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.45e-05/0.2649, allocations: 7.938 kB / 0.956 GB, free: 2.766 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.2649, allocations: 0 / 0.956 GB, free: 2.766 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.2649, allocations: 0 / 0.956 GB, free: 2.766 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000108/0.265, allocations: 89.12 kB / 0.9561 GB, free: 2.66 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.771e-05/0.2651, allocations: 89 kB / 0.9562 GB, free: 2.555 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.381e-05/0.2651, allocations: 4 kB / 0.9562 GB, free: 2.551 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.858e-05/0.2651, allocations: 3.938 kB / 0.9562 GB, free: 2.547 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.153e-05/0.2652, allocations: 4 kB / 0.9562 GB, free: 2.543 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.163e-06/0.2652, allocations: 3.984 kB / 0.9562 GB, free: 2.539 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 3.027e-05/0.2652, allocations: 83.28 kB / 0.9563 GB, free: 2.457 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1e-07/0.2652, allocations: 0 / 0.9563 GB, free: 2.457 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002373/0.2655, allocations: 44 kB / 0.9563 GB, free: 2.414 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.0003376/0.2658, allocations: 171.8 kB / 0.9565 GB, free: 2.246 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 9.988e-05/0.2659, allocations: 23.98 kB / 0.9565 GB, free: 2.223 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.2659, allocations: 0 / 0.9565 GB, free: 2.223 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 2.852e-05/0.266, allocations: 15.94 kB / 0.9565 GB, free: 2.207 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001582/0.2661, allocations: 19.86 kB / 0.9565 GB, free: 2.188 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002941/0.2664, allocations: 118.7 kB / 0.9566 GB, free: 2.047 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002241/0.2667, allocations: 0.6844 MB / 0.9573 GB, free: 1.336 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 4.932e-05/0.2667, allocations: 4 kB / 0.9573 GB, free: 1.332 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.624e-05/0.2668, allocations: 15.38 kB / 0.9573 GB, free: 1.316 MB / 0.7325 GB Notification: Performance of SimCode: time 2.41e-07/0.2668, allocations: 4 kB / 0.9573 GB, free: 1.312 MB / 0.7325 GB Notification: Performance of Templates: time 0.003239/0.27, allocations: 1.064 MB / 0.9584 GB, free: 260 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 gbode -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