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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.001315/0.001315, allocations: 108.6 kB / 16.41 MB, free: 6.504 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.001254/0.001254, allocations: 188 kB / 17.34 MB, free: 5.738 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.355/1.355, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.439/2.439, allocations: 437.1 MB / 0.7112 GB, free: 4.379 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001807/0.001807, allocations: 63.91 kB / 1.019 GB, free: 9.395 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8118/0.8136, allocations: 151.6 MB / 1.167 GB, free: 3.957 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison): time 0.002364/0.816, allocations: 1.295 MB / 1.169 GB, free: 2.652 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001182/0.8172, allocations: 0.7693 MB / 1.169 GB, free: 1.883 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.12e-05/0.8172, allocations: 4 kB / 1.169 GB, free: 1.879 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 1.597e-05/0.8172, allocations: 0 / 1.169 GB, free: 1.879 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 5.092e-05/0.8173, allocations: 7.922 kB / 1.169 GB, free: 1.871 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004685/0.8178, allocations: 171.2 kB / 1.17 GB, free: 1.703 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 7.366e-05/0.8179, allocations: 23.86 kB / 1.17 GB, free: 1.68 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 4.519e-05/0.8179, allocations: 8 kB / 1.17 GB, free: 1.672 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 3.679e-05/0.818, allocations: 7.938 kB / 1.17 GB, free: 1.664 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 5.385e-05/0.818, allocations: 7.984 kB / 1.17 GB, free: 1.656 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 8.806e-06/0.818, allocations: 3.938 kB / 1.17 GB, free: 1.652 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004407/0.8185, allocations: 287.5 kB / 1.17 GB, free: 1.371 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 1.588e-05/0.8185, allocations: 11.97 kB / 1.17 GB, free: 1.359 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 2.536e-05/0.8185, allocations: 11.94 kB / 1.17 GB, free: 1.348 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0002838/0.8188, allocations: 164.6 kB / 1.17 GB, free: 1.191 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.8188, allocations: 4 kB / 1.17 GB, free: 1.188 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.593e-06/0.8188, allocations: 0 / 1.17 GB, free: 1.188 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 5.941e-06/0.8189, allocations: 0 / 1.17 GB, free: 1.188 MB / 0.8887 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.0004771/0.8193, allocations: 374.9 kB / 1.17 GB, free: 0.7695 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.509e-05/0.8194, allocations: 8.031 kB / 1.17 GB, free: 0.7617 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002477/0.8196, allocations: 20.91 kB / 1.17 GB, free: 0.7422 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001266/0.8198, allocations: 160.4 kB / 1.171 GB, free: 0.5469 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.01e-05/0.8198, allocations: 4.375 kB / 1.171 GB, free: 0.543 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.17e-05/0.8198, allocations: 8.375 kB / 1.171 GB, free: 0.5352 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001249/0.8199, allocations: 50.17 kB / 1.171 GB, free: 492 kB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.406e-06/0.8199, allocations: 192 / 1.171 GB, free: 492 kB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.351e-05/0.82, allocations: 7.938 kB / 1.171 GB, free: 484 kB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/0.82, allocations: 0 / 1.171 GB, free: 484 kB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.002e-05/0.82, allocations: 27.97 kB / 1.171 GB, free: 456 kB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001762/0.8202, allocations: 165.7 kB / 1.171 GB, free: 240 kB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001283/0.8204, allocations: 58.59 kB / 1.171 GB, free: 172 kB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.138e-05/0.8204, allocations: 28.83 kB / 1.171 GB, free: 140 kB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 2.19e-05/0.8204, allocations: 4 kB / 1.171 GB, free: 136 kB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.388e-05/0.8205, allocations: 30.56 kB / 1.171 GB, free: 96 kB / 0.8887 GB Notification: Performance of pre-optimization done (n=6): time 1.052e-06/0.8205, allocations: 0 / 1.171 GB, free: 96 kB / 0.8887 GB Notification: Performance of matching and sorting (n=6): time 0.0002013/0.8207, allocations: 81.61 kB / 1.171 GB, free: 8 kB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.502e-05/0.8208, allocations: 51.41 kB / 1.171 GB, free: 15.95 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.888e-05/0.8208, allocations: 97.86 kB / 1.171 GB, free: 15.84 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.958e-05/0.8209, allocations: 29.7 kB / 1.171 GB, free: 15.8 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 3.764e-05/0.8209, allocations: 80.14 kB / 1.171 GB, free: 15.72 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 3.808e-05/0.8209, allocations: 27.77 kB / 1.171 GB, free: 15.7 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.026e-05/0.821, allocations: 17.72 kB / 1.171 GB, free: 15.67 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001278/0.8211, allocations: 314.8 kB / 1.172 GB, free: 15.36 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.867e-05/0.8212, allocations: 11.92 kB / 1.172 GB, free: 15.34 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.263e-05/0.8212, allocations: 12.12 kB / 1.172 GB, free: 15.33 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.459e-05/0.8213, allocations: 36.86 kB / 1.172 GB, free: 15.29 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.8213, allocations: 0 / 1.172 GB, free: 15.29 MB / 0.9044 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001074/0.8214, allocations: 62.06 kB / 1.172 GB, free: 15.23 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.493e-05/0.8214, allocations: 8 kB / 1.172 GB, free: 15.22 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.654e-06/0.8214, allocations: 11.92 kB / 1.172 GB, free: 15.21 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.981e-05/0.8214, allocations: 4 kB / 1.172 GB, free: 15.2 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001232/0.8216, allocations: 15.94 kB / 1.172 GB, free: 15.19 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.399e-06/0.8216, allocations: 0 / 1.172 GB, free: 15.19 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.184e-05/0.8216, allocations: 0 / 1.172 GB, free: 15.19 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.221e-05/0.8216, allocations: 8 kB / 1.172 GB, free: 15.18 MB / 0.9044 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 7.986e-05/0.8217, allocations: 113.8 kB / 1.172 GB, free: 15.06 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.521e-05/0.8217, allocations: 7.953 kB / 1.172 GB, free: 15.05 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002076/0.822, allocations: 85.58 kB / 1.172 GB, free: 14.95 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.822, allocations: 0 / 1.172 GB, free: 14.95 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.822, allocations: 0 / 1.172 GB, free: 14.95 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.822, allocations: 7.938 kB / 1.172 GB, free: 14.95 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001407/0.8221, allocations: 165.6 kB / 1.172 GB, free: 14.73 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.8221, allocations: 0 / 1.172 GB, free: 14.73 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.239e-05/0.8222, allocations: 19.94 kB / 1.172 GB, free: 14.71 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.8222, allocations: 0 / 1.172 GB, free: 14.71 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.294e-05/0.8223, allocations: 7.938 kB / 1.172 GB, free: 14.71 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.8223, allocations: 0 / 1.172 GB, free: 14.71 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.895e-06/0.8223, allocations: 3.984 kB / 1.172 GB, free: 14.7 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001349/0.8224, allocations: 97.11 kB / 1.172 GB, free: 14.59 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 7.44e-05/0.8225, allocations: 81.06 kB / 1.172 GB, free: 14.49 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.782e-05/0.8225, allocations: 11.92 kB / 1.172 GB, free: 14.48 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.232e-05/0.8226, allocations: 4 kB / 1.172 GB, free: 14.48 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.495e-05/0.8226, allocations: 0 / 1.172 GB, free: 14.48 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.852e-06/0.8226, allocations: 7.984 kB / 1.172 GB, free: 14.47 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 3.863e-05/0.8227, allocations: 75.28 kB / 1.172 GB, free: 14.39 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8227, allocations: 3.938 kB / 1.172 GB, free: 14.39 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0001859/0.8228, allocations: 12 kB / 1.172 GB, free: 14.38 MB / 0.9044 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.0001141/0.823, allocations: 107.3 kB / 1.173 GB, free: 14.27 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0001189/0.8231, allocations: 35.98 kB / 1.173 GB, free: 14.23 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.8231, allocations: 0 / 1.173 GB, free: 14.23 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 3.371e-05/0.8231, allocations: 19.94 kB / 1.173 GB, free: 14.21 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002045/0.8233, allocations: 12.55 kB / 1.173 GB, free: 14.2 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003529/0.8237, allocations: 130.6 kB / 1.173 GB, free: 14.05 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002852/0.824, allocations: 0.6845 MB / 1.173 GB, free: 13.34 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 4.382e-05/0.8241, allocations: 4 kB / 1.173 GB, free: 13.33 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.015e-05/0.8241, allocations: 15.42 kB / 1.173 GB, free: 13.32 MB / 0.9044 GB Notification: Performance of SimCode: time 2.3e-07/0.8241, allocations: 0 / 1.173 GB, free: 13.32 MB / 0.9044 GB Notification: Performance of Templates: time 0.00279/0.8269, allocations: 0.5776 MB / 1.174 GB, free: 12.76 MB / 0.9044 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 -s cvode -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