Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T|TInv|p_w|dT",fileNamePrefix="Buildings_10_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_10_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.001386/0.001386, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001838/0.001838, allocations: 190.9 kB / 16.25 MB, free: 6.633 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.429/1.429, allocations: 222.9 MB / 239.9 MB, free: 4.551 MB / 190.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.558/2.558, allocations: 437 MB / 0.71 GB, free: 5.293 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001471/0.001471, allocations: 63.89 kB / 0.8687 GB, free: 5.062 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6302/0.6317, allocations: 151.6 MB / 1.017 GB, free: 2.688 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi): time 0.002727/0.6344, allocations: 1.332 MB / 1.018 GB, free: 1.348 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001463/0.6359, allocations: 0.8693 MB / 1.019 GB, free: 484 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.145e-05/0.636, allocations: 0 / 1.019 GB, free: 484 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 2.388e-05/0.636, allocations: 3.938 kB / 1.019 GB, free: 480 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 4.729e-05/0.6361, allocations: 0 / 1.019 GB, free: 480 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006899/0.6368, allocations: 181.2 kB / 1.019 GB, free: 304 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 6.428e-05/0.6368, allocations: 23.86 kB / 1.019 GB, free: 280 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 6.018e-05/0.6369, allocations: 0 / 1.019 GB, free: 280 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 3.955e-05/0.637, allocations: 7.938 kB / 1.019 GB, free: 272 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 5.903e-05/0.637, allocations: 11.98 kB / 1.019 GB, free: 260 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.336e-05/0.637, allocations: 0 / 1.019 GB, free: 260 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003122/0.6374, allocations: 195.8 kB / 1.019 GB, free: 64 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.06e-05/0.6374, allocations: 0 / 1.019 GB, free: 64 kB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 2.699e-05/0.6374, allocations: 7.938 kB / 1.019 GB, free: 56 kB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0002804/0.6377, allocations: 155.7 kB / 1.019 GB, free: 15.9 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.6377, allocations: 4 kB / 1.019 GB, free: 15.9 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.193e-06/0.6377, allocations: 0 / 1.019 GB, free: 15.9 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.741e-06/0.6377, allocations: 0 / 1.019 GB, free: 15.9 MB / 0.7794 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.0004454/0.6382, allocations: 351.5 kB / 1.02 GB, free: 15.51 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.515e-05/0.6382, allocations: 8.031 kB / 1.02 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001985/0.6384, allocations: 16.92 kB / 1.02 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001029/0.6385, allocations: 160.4 kB / 1.02 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.229e-05/0.6386, allocations: 384 / 1.02 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.148e-05/0.6386, allocations: 4.125 kB / 1.02 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001194/0.6387, allocations: 53.61 kB / 1.02 GB, free: 15.23 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.752e-06/0.6387, allocations: 0 / 1.02 GB, free: 15.23 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.414e-05/0.6387, allocations: 4 kB / 1.02 GB, free: 15.22 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.601e-06/0.6387, allocations: 0 / 1.02 GB, free: 15.22 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.381e-05/0.6388, allocations: 15.98 kB / 1.02 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001716/0.639, allocations: 153.7 kB / 1.02 GB, free: 15.01 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009628/0.64, allocations: 138.5 kB / 1.02 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.523e-05/0.64, allocations: 28.73 kB / 1.02 GB, free: 14.83 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001166/0.6401, allocations: 85.09 kB / 1.02 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.42e-05/0.6402, allocations: 34.56 kB / 1.021 GB, free: 14.69 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=4): time 1.153e-06/0.6402, allocations: 0 / 1.021 GB, free: 14.69 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4): time 0.0001922/0.6404, allocations: 61.69 kB / 1.021 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.458e-05/0.6404, allocations: 59.34 kB / 1.021 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.564e-05/0.6405, allocations: 89.86 kB / 1.021 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.621e-05/0.6405, allocations: 25.7 kB / 1.021 GB, free: 14.42 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.59e-05/0.6405, allocations: 80.14 kB / 1.021 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.934e-05/0.6406, allocations: 27.67 kB / 1.021 GB, free: 14.31 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.517e-05/0.6406, allocations: 13.72 kB / 1.021 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001259/0.6408, allocations: 314.8 kB / 1.021 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.673e-05/0.6408, allocations: 20.05 kB / 1.021 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.836e-05/0.6408, allocations: 8 kB / 1.021 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.823e-05/0.6409, allocations: 24.86 kB / 1.021 GB, free: 13.92 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.6409, allocations: 0 / 1.021 GB, free: 13.92 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.433e-05/0.641, allocations: 57.91 kB / 1.021 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.537e-05/0.641, allocations: 4 kB / 1.021 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.947e-06/0.641, allocations: 0 / 1.021 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.144e-05/0.641, allocations: 4.047 kB / 1.021 GB, free: 13.85 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.944e-05/0.6411, allocations: 11.97 kB / 1.021 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.123e-06/0.6411, allocations: 3.938 kB / 1.021 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.178e-05/0.6412, allocations: 7.906 kB / 1.021 GB, free: 13.83 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.744e-06/0.6412, allocations: 4 kB / 1.021 GB, free: 13.82 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 (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 7.982e-05/0.6413, allocations: 105.8 kB / 1.021 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.311e-05/0.6413, allocations: 7.938 kB / 1.021 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002824/0.6416, allocations: 81.16 kB / 1.021 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.6416, allocations: 0 / 1.021 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.123e-06/0.6416, allocations: 3.984 kB / 1.021 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.6416, allocations: 0 / 1.021 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001169/0.6417, allocations: 161.6 kB / 1.022 GB, free: 13.4 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.6417, allocations: 0 / 1.022 GB, free: 13.4 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.444e-05/0.6418, allocations: 8 kB / 1.022 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.903e-06/0.6418, allocations: 3.938 kB / 1.022 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.006e-05/0.6418, allocations: 4 kB / 1.022 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.412e-06/0.6418, allocations: 0 / 1.022 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.6418, allocations: 4 kB / 1.022 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001233/0.642, allocations: 85.19 kB / 1.022 GB, free: 13.28 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 6.758e-05/0.642, allocations: 96.94 kB / 1.022 GB, free: 13.17 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.687e-05/0.642, allocations: 0 / 1.022 GB, free: 13.17 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.999e-05/0.6421, allocations: 3.938 kB / 1.022 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.803e-05/0.6421, allocations: 4 kB / 1.022 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.314e-06/0.6421, allocations: 4 kB / 1.022 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.589e-05/0.6422, allocations: 83.28 kB / 1.022 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6422, allocations: 0 / 1.022 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002513/0.6424, allocations: 47.98 kB / 1.022 GB, free: 13.03 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 (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.000379/0.6428, allocations: 170.1 kB / 1.022 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001113/0.6429, allocations: 31.92 kB / 1.022 GB, free: 12.83 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.494e-06/0.643, allocations: 0 / 1.022 GB, free: 12.83 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 2.815e-05/0.643, allocations: 20.09 kB / 1.022 GB, free: 12.81 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001646/0.6432, allocations: 7.922 kB / 1.022 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003481/0.6435, allocations: 132.1 kB / 1.022 GB, free: 12.65 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002347/0.6438, allocations: 0.6807 MB / 1.023 GB, free: 11.94 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 6.431e-05/0.6438, allocations: 8 kB / 1.023 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.768e-05/0.6439, allocations: 11.44 kB / 1.023 GB, free: 11.92 MB / 0.7794 GB Notification: Performance of SimCode: time 2.61e-07/0.6439, allocations: 0 / 1.023 GB, free: 11.92 MB / 0.7794 GB Notification: Performance of Templates: time 0.003569/0.6474, allocations: 1.061 MB / 1.024 GB, free: 10.87 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.makefile (rm -f Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe ; mkfifo Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe >> ../files/Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.sim & ./Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches