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.001447/0.001447, allocations: 108 kB / 15.61 MB, free: 148 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.00167/0.00167, allocations: 195 kB / 16.53 MB, free: 6.699 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.377/1.377, allocations: 222.9 MB / 240.2 MB, free: 4.395 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.726/2.726, allocations: 437 MB / 0.7103 GB, free: 5.074 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001592/0.001592, allocations: 63.91 kB / 0.8692 GB, free: 4.684 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6422/0.6438, allocations: 151.6 MB / 1.017 GB, free: 2.535 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi): time 0.002405/0.6463, allocations: 1.279 MB / 1.019 GB, free: 1.246 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001387/0.6477, allocations: 0.8614 MB / 1.019 GB, free: 388 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.336e-05/0.6477, allocations: 0 / 1.019 GB, free: 388 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 1.986e-05/0.6478, allocations: 0 / 1.019 GB, free: 388 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 5.536e-05/0.6478, allocations: 7.938 kB / 1.019 GB, free: 380 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006274/0.6485, allocations: 195.5 kB / 1.02 GB, free: 188 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 5.98e-05/0.6485, allocations: 19.86 kB / 1.02 GB, free: 168 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 4.114e-05/0.6486, allocations: 8 kB / 1.02 GB, free: 160 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 3.512e-05/0.6486, allocations: 11.98 kB / 1.02 GB, free: 148 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 4.795e-05/0.6487, allocations: 7.984 kB / 1.02 GB, free: 140 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.211e-05/0.6487, allocations: 0 / 1.02 GB, free: 140 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004528/0.6491, allocations: 183.8 kB / 1.02 GB, free: 15.96 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.966e-05/0.6492, allocations: 11.94 kB / 1.02 GB, free: 15.95 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 3.419e-05/0.6492, allocations: 7.984 kB / 1.02 GB, free: 15.94 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0003669/0.6496, allocations: 155.7 kB / 1.02 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.6496, allocations: 0 / 1.02 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.623e-06/0.6496, allocations: 0 / 1.02 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 9.949e-06/0.6496, allocations: 0 / 1.02 GB, free: 15.79 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.0005505/0.6502, allocations: 367.4 kB / 1.02 GB, free: 15.38 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.192e-05/0.6503, allocations: 8.031 kB / 1.02 GB, free: 15.37 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002469/0.6505, allocations: 4.938 kB / 1.02 GB, free: 15.37 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001353/0.6507, allocations: 164.4 kB / 1.02 GB, free: 15.17 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.47e-05/0.6507, allocations: 4.375 kB / 1.02 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.669e-05/0.6507, allocations: 8.062 kB / 1.02 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001483/0.6509, allocations: 49.67 kB / 1.021 GB, free: 15.1 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.466e-06/0.6509, allocations: 0 / 1.021 GB, free: 15.1 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.372e-05/0.6509, allocations: 0 / 1.021 GB, free: 15.1 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/0.6509, allocations: 4 kB / 1.021 GB, free: 15.1 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.141e-05/0.651, allocations: 15.98 kB / 1.021 GB, free: 15.08 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002064/0.6512, allocations: 157.7 kB / 1.021 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001091/0.6523, allocations: 130.5 kB / 1.021 GB, free: 14.74 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.348e-05/0.6524, allocations: 24.86 kB / 1.021 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001177/0.6525, allocations: 89.09 kB / 1.021 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.325e-05/0.6526, allocations: 34.5 kB / 1.021 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=4): time 1.473e-06/0.6526, allocations: 0 / 1.021 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4): time 0.0002115/0.6528, allocations: 61.62 kB / 1.021 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.509e-05/0.6528, allocations: 51.41 kB / 1.021 GB, free: 14.44 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.24e-05/0.6529, allocations: 105.8 kB / 1.021 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.39e-05/0.6529, allocations: 25.7 kB / 1.021 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 2.703e-05/0.653, allocations: 80.14 kB / 1.021 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.215e-05/0.653, allocations: 11.75 kB / 1.021 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.507e-05/0.653, allocations: 17.72 kB / 1.021 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001148/0.6532, allocations: 314.8 kB / 1.022 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.295e-05/0.6532, allocations: 11.98 kB / 1.022 GB, free: 13.85 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.625e-05/0.6532, allocations: 4 kB / 1.022 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.121e-05/0.6533, allocations: 28.97 kB / 1.022 GB, free: 13.81 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.6533, allocations: 4 kB / 1.022 GB, free: 13.81 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.804e-05/0.6534, allocations: 61.56 kB / 1.022 GB, free: 13.74 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.46e-05/0.6534, allocations: 4 kB / 1.022 GB, free: 13.74 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.948e-06/0.6534, allocations: 0 / 1.022 GB, free: 13.74 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.252e-05/0.6534, allocations: 0 / 1.022 GB, free: 13.74 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.692e-05/0.6535, allocations: 8 kB / 1.022 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.39e-06/0.6535, allocations: 0 / 1.022 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.252e-05/0.6535, allocations: 3.906 kB / 1.022 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.292e-06/0.6535, allocations: 0 / 1.022 GB, free: 13.73 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.646e-05/0.6536, allocations: 117.8 kB / 1.022 GB, free: 13.6 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.226e-05/0.6536, allocations: 3.938 kB / 1.022 GB, free: 13.6 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002764/0.6539, allocations: 81.42 kB / 1.022 GB, free: 13.51 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.857e-06/0.6539, allocations: 4.062 kB / 1.022 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.08e-06/0.654, allocations: 8 kB / 1.022 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.654, allocations: 7.922 kB / 1.022 GB, free: 13.49 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001108/0.6541, allocations: 161.6 kB / 1.022 GB, free: 13.28 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.6541, allocations: 0 / 1.022 GB, free: 13.28 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.964e-05/0.6541, allocations: 8 kB / 1.022 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.6542, allocations: 0 / 1.022 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.878e-06/0.6542, allocations: 4 kB / 1.022 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.6542, allocations: 0 / 1.022 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.444e-06/0.6542, allocations: 0 / 1.022 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001119/0.6543, allocations: 93 kB / 1.022 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.57e-05/0.6544, allocations: 88.94 kB / 1.022 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.935e-05/0.6544, allocations: 11.94 kB / 1.022 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.796e-05/0.6544, allocations: 0 / 1.022 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.083e-05/0.6545, allocations: 3.984 kB / 1.022 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.284e-06/0.6545, allocations: 4 kB / 1.022 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 2.603e-05/0.6545, allocations: 75.28 kB / 1.022 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1e-07/0.6545, allocations: 0 / 1.022 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002466/0.6548, allocations: 44 kB / 1.022 GB, free: 12.92 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.0003387/0.6551, allocations: 162.9 kB / 1.023 GB, free: 12.76 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001153/0.6552, allocations: 27.98 kB / 1.023 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.6552, allocations: 0 / 1.023 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 3.024e-05/0.6553, allocations: 23.92 kB / 1.023 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001608/0.6554, allocations: 11.94 kB / 1.023 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003407/0.6558, allocations: 120.4 kB / 1.023 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001971/0.656, allocations: 0.6807 MB / 1.023 GB, free: 11.85 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 6.212e-05/0.6561, allocations: 11.94 kB / 1.023 GB, free: 11.84 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.671e-05/0.6561, allocations: 11.44 kB / 1.023 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of SimCode: time 2.3e-07/0.6561, allocations: 0 / 1.023 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of Templates: time 0.003376/0.6595, allocations: 1.073 MB / 1.024 GB, free: 10.76 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