Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.002415/0.002415, allocations: 87.69 kB / 20.24 MB, free: 4.184 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002923/0.002923, allocations: 157.7 kB / 23.55 MB, free: 0.875 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.55/1.55, allocations: 177.1 MB / 203.9 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.999/2.999, allocations: 377.8 MB / 0.6232 GB, free: 8.516 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|TInv|p_w|dT",fileNamePrefix="Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi") translateModel(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|TInv|p_w|dT",fileNamePrefix="Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.522e-06/1.522e-06, allocations: 0 / 0.8108 GB, free: 2.086 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.666e-05/2.818e-05, allocations: 6.25 kB / 0.8108 GB, free: 2.078 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi): time 0.002486/0.002514, allocations: 1.308 MB / 0.8121 GB, free: 0.7773 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001702/0.004217, allocations: 0.885 MB / 0.813 GB, free: 15.89 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.267e-05/0.004239, allocations: 0 / 0.813 GB, free: 15.89 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 1.83e-05/0.004258, allocations: 3.938 kB / 0.813 GB, free: 15.88 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 6.411e-05/0.004322, allocations: 5.406 kB / 0.813 GB, free: 15.88 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007766/0.005098, allocations: 212.1 kB / 0.8132 GB, free: 15.67 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 6.301e-05/0.005161, allocations: 15.92 kB / 0.8132 GB, free: 15.66 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 3.247e-05/0.005194, allocations: 4.719 kB / 0.8132 GB, free: 15.65 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 5.808e-05/0.005252, allocations: 15.92 kB / 0.8132 GB, free: 15.64 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 5.264e-05/0.005304, allocations: 4.531 kB / 0.8132 GB, free: 15.63 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.252e-05/0.005317, allocations: 1.375 kB / 0.8132 GB, free: 15.63 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004471/0.005764, allocations: 234.5 kB / 0.8134 GB, free: 15.41 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 1.404e-05/0.005778, allocations: 3.984 kB / 0.8134 GB, free: 15.4 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 2.231e-05/0.0058, allocations: 7.938 kB / 0.8134 GB, free: 15.39 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0003633/0.006164, allocations: 196.7 kB / 0.8136 GB, free: 15.2 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.755e-06/0.006166, allocations: 0 / 0.8136 GB, free: 15.2 MB / 0.7761 GB Notification: Performance of FrontEnd: time 6.71e-07/0.006167, allocations: 0 / 0.8136 GB, free: 15.2 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 3.586e-06/0.006171, allocations: 0.9062 kB / 0.8136 GB, free: 15.2 MB / 0.7761 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.0004916/0.006662, allocations: 384 kB / 0.814 GB, free: 14.79 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.66e-05/0.006699, allocations: 8.875 kB / 0.814 GB, free: 14.79 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002848/0.006984, allocations: 33.84 kB / 0.814 GB, free: 14.75 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001019/0.007085, allocations: 104.6 kB / 0.8141 GB, free: 14.62 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.468e-05/0.0071, allocations: 4.375 kB / 0.8141 GB, free: 14.62 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.333e-05/0.007113, allocations: 5.906 kB / 0.8141 GB, free: 14.62 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001476/0.007261, allocations: 71.94 kB / 0.8142 GB, free: 14.54 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.04e-05/0.007272, allocations: 3.938 kB / 0.8142 GB, free: 14.53 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.817e-06/0.00728, allocations: 3.938 kB / 0.8142 GB, free: 14.53 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.857e-06/0.007284, allocations: 0.5 kB / 0.8142 GB, free: 14.53 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.167e-05/0.007346, allocations: 17.92 kB / 0.8142 GB, free: 14.51 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001743/0.00752, allocations: 116.6 kB / 0.8143 GB, free: 14.36 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009743/0.008494, allocations: 148.4 kB / 0.8145 GB, free: 14.21 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.814e-05/0.008543, allocations: 23.67 kB / 0.8145 GB, free: 14.18 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 8.173e-05/0.008624, allocations: 9.281 kB / 0.8145 GB, free: 14.18 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.196e-05/0.008656, allocations: 33.39 kB / 0.8146 GB, free: 14.13 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=4): time 9.31e-07/0.008657, allocations: 0 / 0.8146 GB, free: 14.13 MB / 0.7761 GB Notification: Performance of matching and sorting (n=4): time 0.000209/0.008866, allocations: 77.55 kB / 0.8146 GB, free: 14.05 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.438e-05/0.008911, allocations: 56.22 kB / 0.8147 GB, free: 13.98 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001087/0.009019, allocations: 150.8 kB / 0.8148 GB, free: 13.82 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.983e-05/0.009039, allocations: 25.7 kB / 0.8148 GB, free: 13.79 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 7.426e-05/0.009113, allocations: 128.4 kB / 0.815 GB, free: 13.66 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 3.239e-05/0.009146, allocations: 15.84 kB / 0.815 GB, free: 13.64 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.921e-05/0.009195, allocations: 27.36 kB / 0.815 GB, free: 13.61 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.00025/0.009445, allocations: 492.1 kB / 0.8155 GB, free: 13.12 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.956e-05/0.009475, allocations: 12 kB / 0.8155 GB, free: 13.11 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.983e-05/0.009494, allocations: 9.141 kB / 0.8155 GB, free: 13.1 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.066e-05/0.009555, allocations: 27.69 kB / 0.8155 GB, free: 13.07 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.009557, allocations: 0 / 0.8155 GB, free: 13.07 MB / 0.7761 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000102/0.009659, allocations: 60.81 kB / 0.8156 GB, free: 13 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.351e-05/0.009672, allocations: 4 kB / 0.8156 GB, free: 13 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.099e-06/0.009677, allocations: 0 / 0.8156 GB, free: 13 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.576e-05/0.009693, allocations: 7.938 kB / 0.8156 GB, free: 12.99 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.876e-05/0.009752, allocations: 7.984 kB / 0.8156 GB, free: 12.98 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.12e-06/0.009757, allocations: 0 / 0.8156 GB, free: 12.98 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.075e-05/0.009788, allocations: 4 kB / 0.8156 GB, free: 12.98 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.202e-06/0.009794, allocations: 4 kB / 0.8156 GB, free: 12.98 MB / 0.7761 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 0.0001056/0.0099, allocations: 153.7 kB / 0.8158 GB, free: 12.82 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.753e-05/0.009917, allocations: 7.953 kB / 0.8158 GB, free: 12.81 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002256/0.01014, allocations: 83.42 kB / 0.8158 GB, free: 12.72 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.047e-06/0.01015, allocations: 3.938 kB / 0.8158 GB, free: 12.72 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.973e-06/0.01015, allocations: 12.48 kB / 0.8159 GB, free: 12.71 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.01016, allocations: 1.094 kB / 0.8159 GB, free: 12.71 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001219/0.01028, allocations: 116.6 kB / 0.816 GB, free: 12.56 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.01028, allocations: 0 / 0.816 GB, free: 12.56 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.355e-05/0.01033, allocations: 9.062 kB / 0.816 GB, free: 12.55 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.01033, allocations: 0 / 0.816 GB, free: 12.55 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.522e-06/0.01034, allocations: 0 / 0.816 GB, free: 12.55 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.897e-06/0.01034, allocations: 5.328 kB / 0.816 GB, free: 12.55 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/0.01035, allocations: 3.938 kB / 0.816 GB, free: 12.54 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001449/0.01049, allocations: 92.44 kB / 0.8161 GB, free: 12.43 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 2.749e-05/0.01052, allocations: 12.27 kB / 0.8161 GB, free: 12.42 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.217e-05/0.01053, allocations: 1.094 kB / 0.8161 GB, free: 12.42 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.036e-05/0.01058, allocations: 4 kB / 0.8161 GB, free: 12.41 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.465e-05/0.01061, allocations: 11.91 kB / 0.8161 GB, free: 12.4 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.37e-06/0.01061, allocations: 0.6562 kB / 0.8161 GB, free: 12.4 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 6.599e-05/0.01068, allocations: 125.6 kB / 0.8162 GB, free: 12.28 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6.1e-08/0.01068, allocations: 0 / 0.8162 GB, free: 12.28 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002608/0.01094, allocations: 47.88 kB / 0.8163 GB, free: 12.23 MB / 0.7761 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.000302/0.01124, allocations: 175.1 kB / 0.8164 GB, free: 12.05 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.000119/0.01136, allocations: 34.67 kB / 0.8165 GB, free: 12.02 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.01136, allocations: 0 / 0.8165 GB, free: 12.02 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 4.247e-05/0.0114, allocations: 27.62 kB / 0.8165 GB, free: 11.99 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000182/0.01159, allocations: 16.45 kB / 0.8165 GB, free: 11.98 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003528/0.01194, allocations: 130.3 kB / 0.8166 GB, free: 11.82 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.575e-05/0.01201, allocations: 67.2 kB / 0.8167 GB, free: 11.73 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 5.294e-05/0.01206, allocations: 7.125 kB / 0.8167 GB, free: 11.73 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.359e-05/0.01209, allocations: 12.5 kB / 0.8167 GB, free: 11.72 MB / 0.7761 GB Notification: Performance of SimCode: time 4.61e-07/0.01209, allocations: 7.031 kB / 0.8167 GB, free: 11.71 MB / 0.7761 GB Notification: Performance of Templates: time 0.004577/0.01667, allocations: 1.253 MB / 0.818 GB, free: 10.49 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe ; mkfifo Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe >> ../files/Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.sim & ./Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.12206085503567]