Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.pW_TDewPoi_comparison,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|p_w|p_w_ashrae|r_p",fileNamePrefix="Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison") translateModel(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|p_w|p_w_ashrae|r_p",fileNamePrefix="Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001503/0.001503, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001952/0.001952, allocations: 199.3 kB / 16.79 MB, free: 6.809 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.303/1.303, allocations: 222.9 MB / 240.5 MB, free: 4.613 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.638/2.638, allocations: 437 MB / 0.7106 GB, free: 5.422 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001488/0.001488, allocations: 63.91 kB / 0.8692 GB, free: 5.211 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.615/0.6165, allocations: 151.6 MB / 1.017 GB, free: 2.793 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison): time 0.002573/0.6191, allocations: 1.358 MB / 1.019 GB, free: 1.426 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001164/0.6203, allocations: 0.7749 MB / 1.019 GB, free: 0.6484 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.875e-05/0.6204, allocations: 4 kB / 1.019 GB, free: 0.6445 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 2.582e-05/0.6204, allocations: 3.938 kB / 1.019 GB, free: 0.6406 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 4.83e-05/0.6205, allocations: 0 / 1.019 GB, free: 0.6406 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004755/0.621, allocations: 147.4 kB / 1.019 GB, free: 0.4961 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 5.338e-05/0.621, allocations: 27.81 kB / 1.02 GB, free: 480 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 3.913e-05/0.6211, allocations: 4 kB / 1.02 GB, free: 476 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 3.433e-05/0.6211, allocations: 11.97 kB / 1.02 GB, free: 464 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 5.809e-05/0.6212, allocations: 11.94 kB / 1.02 GB, free: 452 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 9.207e-06/0.6212, allocations: 4 kB / 1.02 GB, free: 448 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004288/0.6216, allocations: 291.5 kB / 1.02 GB, free: 156 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 9.538e-06/0.6216, allocations: 0 / 1.02 GB, free: 156 kB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 2.847e-05/0.6217, allocations: 19.92 kB / 1.02 GB, free: 136 kB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001952/0.6219, allocations: 105.8 kB / 1.02 GB, free: 32 kB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.6219, allocations: 0 / 1.02 GB, free: 32 kB / 0.7637 GB Notification: Performance of FrontEnd: time 1.042e-06/0.6219, allocations: 0 / 1.02 GB, free: 32 kB / 0.7637 GB Notification: Performance of Transformations before backend: time 3.567e-06/0.6219, allocations: 0 / 1.02 GB, free: 32 kB / 0.7637 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004263/0.6223, allocations: 367.4 kB / 1.02 GB, free: 15.62 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.299e-05/0.6224, allocations: 12.03 kB / 1.02 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002482/0.6226, allocations: 20.84 kB / 1.02 GB, free: 15.59 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.727e-05/0.6227, allocations: 164.3 kB / 1.02 GB, free: 15.39 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.612e-05/0.6228, allocations: 8.375 kB / 1.021 GB, free: 15.38 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.004e-05/0.6228, allocations: 384 / 1.021 GB, free: 15.38 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001253/0.6229, allocations: 50.23 kB / 1.021 GB, free: 15.33 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.674e-06/0.6229, allocations: 192 / 1.021 GB, free: 15.33 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.491e-05/0.6229, allocations: 11.94 kB / 1.021 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.18e-06/0.6229, allocations: 3.938 kB / 1.021 GB, free: 15.31 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.139e-05/0.623, allocations: 19.98 kB / 1.021 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000159/0.6232, allocations: 161.7 kB / 1.021 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001175/0.6233, allocations: 66.55 kB / 1.021 GB, free: 15.01 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.28e-05/0.6234, allocations: 24.86 kB / 1.021 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.128e-05/0.6234, allocations: 0 / 1.021 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.271e-05/0.6234, allocations: 34.56 kB / 1.021 GB, free: 14.94 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=6): time 7.41e-07/0.6234, allocations: 0 / 1.021 GB, free: 14.94 MB / 0.7794 GB Notification: Performance of matching and sorting (n=6): time 0.0001964/0.6236, allocations: 89.45 kB / 1.021 GB, free: 14.85 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.213e-05/0.6237, allocations: 55.41 kB / 1.021 GB, free: 14.78 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.591e-05/0.6237, allocations: 93.86 kB / 1.021 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.683e-05/0.6237, allocations: 25.7 kB / 1.021 GB, free: 14.65 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 2.305e-05/0.6238, allocations: 80.14 kB / 1.021 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.397e-05/0.6238, allocations: 27.84 kB / 1.021 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.539e-05/0.6238, allocations: 17.72 kB / 1.021 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.019e-05/0.6239, allocations: 314.8 kB / 1.022 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.138e-05/0.624, allocations: 15.98 kB / 1.022 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.145e-05/0.624, allocations: 8 kB / 1.022 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.951e-05/0.6241, allocations: 29.23 kB / 1.022 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.6241, allocations: 0 / 1.022 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001061/0.6242, allocations: 77.53 kB / 1.022 GB, free: 14.06 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.503e-05/0.6242, allocations: 14.11 kB / 1.022 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.6242, allocations: 7.938 kB / 1.022 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.508e-05/0.6242, allocations: 0 / 1.022 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001271/0.6244, allocations: 12 kB / 1.022 GB, free: 14.03 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.498e-06/0.6244, allocations: 0 / 1.022 GB, free: 14.03 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.026e-05/0.6244, allocations: 8 kB / 1.022 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.404e-06/0.6244, allocations: 3.984 kB / 1.022 GB, free: 14.02 MB / 0.7794 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 (6): * Single equations (assignments): 6 * 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.996e-05/0.6245, allocations: 106.4 kB / 1.022 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.287e-05/0.6245, allocations: 4 kB / 1.022 GB, free: 13.9 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002044/0.6247, allocations: 93.52 kB / 1.022 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.385e-06/0.6248, allocations: 0 / 1.022 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.972e-06/0.6248, allocations: 4 kB / 1.022 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.6248, allocations: 0 / 1.022 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000113/0.6249, allocations: 169.5 kB / 1.022 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.6249, allocations: 0 / 1.022 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.895e-05/0.625, allocations: 16 kB / 1.022 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.165e-06/0.625, allocations: 0 / 1.022 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.172e-05/0.625, allocations: 11.92 kB / 1.022 GB, free: 13.56 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.532e-06/0.625, allocations: 0 / 1.022 GB, free: 13.56 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.625, allocations: 4 kB / 1.022 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001367/0.6252, allocations: 93.05 kB / 1.022 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 6.026e-05/0.6253, allocations: 85.09 kB / 1.022 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.617e-05/0.6253, allocations: 7.938 kB / 1.022 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.79e-05/0.6253, allocations: 0 / 1.022 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.938e-05/0.6254, allocations: 4 kB / 1.022 GB, free: 13.33 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.139e-06/0.6254, allocations: 4 kB / 1.022 GB, free: 13.33 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 2.858e-05/0.6254, allocations: 79.28 kB / 1.022 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1e-07/0.6254, allocations: 0 / 1.022 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001939/0.6256, allocations: 12 kB / 1.022 GB, free: 13.24 MB / 0.7794 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 (7): * Single equations (assignments): 7 * 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.0001018/0.6257, allocations: 103.2 kB / 1.022 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001097/0.6258, allocations: 39.92 kB / 1.022 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.6258, allocations: 0 / 1.022 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 3.268e-05/0.6259, allocations: 24.09 kB / 1.023 GB, free: 13.06 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002231/0.6261, allocations: 7.984 kB / 1.023 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000325/0.6264, allocations: 170 kB / 1.023 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002161/0.6267, allocations: 0.677 MB / 1.023 GB, free: 12.15 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.805e-05/0.6267, allocations: 11.44 kB / 1.023 GB, free: 12.14 MB / 0.7794 GB Notification: Performance of SimCode: time 3.7e-07/0.6267, allocations: 3.938 kB / 1.023 GB, free: 12.14 MB / 0.7794 GB Notification: Performance of Templates: time 0.001748/0.6285, allocations: 0.6052 MB / 1.024 GB, free: 11.54 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.makefile (rm -f Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.pipe ; mkfifo Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.pipe >> ../files/Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.sim & ./Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi_comparison.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches