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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.001407/0.001407, allocations: 109.5 kB / 16.27 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.001349/0.001349, allocations: 187.4 kB / 17.2 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.457/1.457, allocations: 222.9 MB / 240.9 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.209/2.209, allocations: 390.3 MB / 0.6653 GB, free: 0.6758 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00145/0.00145, allocations: 66.53 kB / 0.8132 GB, free: 32.93 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2686/0.2701, allocations: 140.4 MB / 0.9503 GB, free: 8.852 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi): time 0.002276/0.2724, allocations: 1.263 MB / 0.9515 GB, free: 7.574 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001288/0.2737, allocations: 0.8672 MB / 0.9523 GB, free: 6.703 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.898e-05/0.2737, allocations: 4 kB / 0.9524 GB, free: 6.699 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 1.865e-05/0.2738, allocations: 3.938 kB / 0.9524 GB, free: 6.695 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 3.808e-05/0.2738, allocations: 3.984 kB / 0.9524 GB, free: 6.691 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005944/0.2744, allocations: 211.1 kB / 0.9526 GB, free: 6.488 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 4.508e-05/0.2745, allocations: 15.88 kB / 0.9526 GB, free: 6.473 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 3.493e-05/0.2745, allocations: 4 kB / 0.9526 GB, free: 6.469 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 3.548e-05/0.2746, allocations: 7.938 kB / 0.9526 GB, free: 6.461 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 4.188e-05/0.2746, allocations: 15.98 kB / 0.9526 GB, free: 6.445 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 9.508e-06/0.2746, allocations: 0 / 0.9526 GB, free: 6.445 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002965/0.2749, allocations: 187.8 kB / 0.9528 GB, free: 6.262 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.134e-05/0.2749, allocations: 3.984 kB / 0.9528 GB, free: 6.258 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 2.399e-05/0.275, allocations: 15.92 kB / 0.9528 GB, free: 6.242 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0002336/0.2752, allocations: 143.8 kB / 0.9529 GB, free: 6.102 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.439e-06/0.2752, allocations: 7.938 kB / 0.9529 GB, free: 6.094 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.383e-06/0.2752, allocations: 0 / 0.9529 GB, free: 6.094 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 4.178e-06/0.2752, allocations: 0 / 0.9529 GB, free: 6.094 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.0003673/0.2756, allocations: 355.5 kB / 0.9533 GB, free: 5.699 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.207e-05/0.2756, allocations: 12.03 kB / 0.9533 GB, free: 5.688 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001636/0.2758, allocations: 8.922 kB / 0.9533 GB, free: 5.68 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.577e-05/0.2759, allocations: 160.4 kB / 0.9535 GB, free: 5.484 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.546e-06/0.2759, allocations: 384 / 0.9535 GB, free: 5.484 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.036e-05/0.2759, allocations: 8.125 kB / 0.9535 GB, free: 5.477 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001063/0.276, allocations: 45.62 kB / 0.9535 GB, free: 5.426 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.54e-06/0.2761, allocations: 0 / 0.9535 GB, free: 5.426 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.097e-06/0.2761, allocations: 0 / 0.9535 GB, free: 5.426 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.651e-06/0.2761, allocations: 4 kB / 0.9535 GB, free: 5.422 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.256e-05/0.2761, allocations: 23.97 kB / 0.9535 GB, free: 5.398 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001493/0.2763, allocations: 157.7 kB / 0.9537 GB, free: 5.195 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009265/0.2772, allocations: 130.5 kB / 0.9538 GB, free: 5.059 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.59e-05/0.2773, allocations: 24.8 kB / 0.9538 GB, free: 5.031 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 9.916e-05/0.2774, allocations: 89.09 kB / 0.9539 GB, free: 4.926 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.299e-05/0.2774, allocations: 34.5 kB / 0.954 GB, free: 4.883 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=4): time 1.232e-06/0.2774, allocations: 0 / 0.954 GB, free: 4.883 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4): time 0.0001689/0.2776, allocations: 61.69 kB / 0.954 GB, free: 4.816 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.975e-05/0.2776, allocations: 51.41 kB / 0.9541 GB, free: 4.754 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.481e-05/0.2777, allocations: 93.84 kB / 0.9542 GB, free: 4.652 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.372e-05/0.2777, allocations: 29.83 kB / 0.9542 GB, free: 4.617 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 2.823e-05/0.2778, allocations: 84.14 kB / 0.9543 GB, free: 4.531 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.984e-05/0.2778, allocations: 15.8 kB / 0.9543 GB, free: 4.516 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.431e-05/0.2778, allocations: 21.66 kB / 0.9543 GB, free: 4.488 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 9.281e-05/0.2779, allocations: 314.8 kB / 0.9546 GB, free: 4.172 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.064e-05/0.278, allocations: 4 kB / 0.9546 GB, free: 4.168 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.177e-05/0.278, allocations: 15.94 kB / 0.9546 GB, free: 4.152 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.852e-05/0.278, allocations: 24.84 kB / 0.9546 GB, free: 4.125 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.272e-06/0.278, allocations: 0 / 0.9546 GB, free: 4.125 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.067e-05/0.2781, allocations: 61.62 kB / 0.9547 GB, free: 4.059 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.321e-05/0.2782, allocations: 8 kB / 0.9547 GB, free: 4.051 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.478e-06/0.2782, allocations: 0 / 0.9547 GB, free: 4.051 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.121e-05/0.2782, allocations: 0 / 0.9547 GB, free: 4.051 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.477e-05/0.2782, allocations: 4 kB / 0.9547 GB, free: 4.047 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.292e-06/0.2783, allocations: 4 kB / 0.9547 GB, free: 4.043 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.1e-05/0.2783, allocations: 7.844 kB / 0.9547 GB, free: 4.035 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.144e-06/0.2783, allocations: 0 / 0.9547 GB, free: 4.035 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.834e-05/0.2784, allocations: 123.7 kB / 0.9548 GB, free: 3.906 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.208e-05/0.2784, allocations: 7.938 kB / 0.9548 GB, free: 3.898 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002203/0.2786, allocations: 69.17 kB / 0.9549 GB, free: 3.82 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.2786, allocations: 0 / 0.9549 GB, free: 3.82 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.828e-06/0.2786, allocations: 4 kB / 0.9549 GB, free: 3.816 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.2787, allocations: 0 / 0.9549 GB, free: 3.816 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001053/0.2788, allocations: 165.6 kB / 0.9551 GB, free: 3.605 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.2788, allocations: 0 / 0.9551 GB, free: 3.605 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.172e-05/0.2788, allocations: 8 kB / 0.9551 GB, free: 3.598 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.2788, allocations: 0 / 0.9551 GB, free: 3.598 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.213e-06/0.2788, allocations: 0 / 0.9551 GB, free: 3.598 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.169e-06/0.2789, allocations: 11.92 kB / 0.9551 GB, free: 3.586 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.71e-07/0.2789, allocations: 3.938 kB / 0.9551 GB, free: 3.582 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001088/0.279, allocations: 89.45 kB / 0.9552 GB, free: 3.477 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 5.019e-05/0.279, allocations: 85.02 kB / 0.9553 GB, free: 3.375 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.309e-05/0.2791, allocations: 0 / 0.9553 GB, free: 3.375 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.187e-05/0.2791, allocations: 7.984 kB / 0.9553 GB, free: 3.367 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2e-05/0.2791, allocations: 7.984 kB / 0.9553 GB, free: 3.359 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.282e-06/0.2791, allocations: 4 kB / 0.9553 GB, free: 3.355 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 2.865e-05/0.2792, allocations: 75.28 kB / 0.9554 GB, free: 3.281 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.323e-06/0.2792, allocations: 0 / 0.9554 GB, free: 3.281 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002377/0.2794, allocations: 47.94 kB / 0.9554 GB, free: 3.234 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.0003296/0.2798, allocations: 171.9 kB / 0.9556 GB, free: 3.066 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0001029/0.2799, allocations: 35.92 kB / 0.9556 GB, free: 3.031 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.2799, allocations: 0 / 0.9556 GB, free: 3.031 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 2.874e-05/0.2799, allocations: 19.98 kB / 0.9556 GB, free: 3.012 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001578/0.2801, allocations: 7.938 kB / 0.9556 GB, free: 3.004 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003279/0.2804, allocations: 148.3 kB / 0.9558 GB, free: 2.828 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002034/0.2806, allocations: 0.6805 MB / 0.9564 GB, free: 2.121 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.676e-05/0.2807, allocations: 11.44 kB / 0.9564 GB, free: 2.109 MB / 0.7325 GB Notification: Performance of SimCode: time 2.2e-07/0.2807, allocations: 0 / 0.9564 GB, free: 2.109 MB / 0.7325 GB Notification: Performance of Templates: time 0.002281/0.283, allocations: 1.045 MB / 0.9575 GB, free: 1.07 MB / 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 -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