Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.001387/0.001387, allocations: 102.6 kB / 16.41 MB, free: 5.977 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.001404/0.001404, allocations: 189.3 kB / 17.34 MB, free: 5.586 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.393/1.393, allocations: 222.9 MB / 241 MB, free: 15.11 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.586/2.586, allocations: 461.9 MB / 0.7354 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001414/0.001414, allocations: 68.05 kB / 1.055 GB, free: 7.719 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.887/0.8884, allocations: 157.4 MB / 1.208 GB, free: 13.62 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi): time 0.003108/0.8916, allocations: 1.272 MB / 1.21 GB, free: 12.35 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001383/0.893, allocations: 0.8614 MB / 1.21 GB, free: 11.48 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.334e-05/0.893, allocations: 0 / 1.21 GB, free: 11.48 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 2.126e-05/0.8931, allocations: 3.938 kB / 1.211 GB, free: 11.48 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 4.532e-05/0.8931, allocations: 4 kB / 1.211 GB, free: 11.47 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006731/0.8938, allocations: 200.4 kB / 1.211 GB, free: 11.28 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 6.077e-05/0.8939, allocations: 23.86 kB / 1.211 GB, free: 11.26 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 3.571e-05/0.8939, allocations: 4 kB / 1.211 GB, free: 11.25 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 3.678e-05/0.894, allocations: 7.938 kB / 1.211 GB, free: 11.25 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 4.548e-05/0.894, allocations: 8 kB / 1.211 GB, free: 11.24 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.007e-05/0.894, allocations: 0 / 1.211 GB, free: 11.24 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000384/0.8944, allocations: 239.7 kB / 1.211 GB, free: 11 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.268e-05/0.8945, allocations: 3.938 kB / 1.211 GB, free: 11 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 2.364e-05/0.8945, allocations: 8 kB / 1.211 GB, free: 10.99 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0002696/0.8948, allocations: 147.8 kB / 1.211 GB, free: 10.85 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.117e-06/0.8948, allocations: 0 / 1.211 GB, free: 10.85 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.673e-06/0.8948, allocations: 4 kB / 1.211 GB, free: 10.84 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 4.499e-06/0.8948, allocations: 0 / 1.211 GB, free: 10.84 MB / 0.9356 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.000399/0.8952, allocations: 353.5 kB / 1.211 GB, free: 10.45 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.639e-05/0.8952, allocations: 8.031 kB / 1.211 GB, free: 10.45 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001767/0.8954, allocations: 16.86 kB / 1.211 GB, free: 10.43 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.382e-05/0.8955, allocations: 168.3 kB / 1.212 GB, free: 10.23 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.909e-06/0.8955, allocations: 384 / 1.212 GB, free: 10.23 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.178e-05/0.8956, allocations: 4.125 kB / 1.212 GB, free: 10.22 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000126/0.8957, allocations: 45.69 kB / 1.212 GB, free: 10.17 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.123e-06/0.8957, allocations: 3.938 kB / 1.212 GB, free: 10.17 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.22e-05/0.8957, allocations: 4 kB / 1.212 GB, free: 10.16 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.649e-06/0.8957, allocations: 0 / 1.212 GB, free: 10.16 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.12e-05/0.8958, allocations: 15.98 kB / 1.212 GB, free: 10.15 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001524/0.8959, allocations: 157.7 kB / 1.212 GB, free: 9.945 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009304/0.8969, allocations: 130.6 kB / 1.212 GB, free: 9.809 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.137e-05/0.8969, allocations: 24.78 kB / 1.212 GB, free: 9.781 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001076/0.8971, allocations: 81.11 kB / 1.212 GB, free: 9.684 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.713e-05/0.8971, allocations: 46.44 kB / 1.212 GB, free: 9.629 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=4): time 1.362e-06/0.8971, allocations: 0 / 1.212 GB, free: 9.629 MB / 0.9356 GB Notification: Performance of matching and sorting (n=4): time 0.000177/0.8973, allocations: 61.67 kB / 1.212 GB, free: 9.562 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.929e-05/0.8973, allocations: 55.41 kB / 1.212 GB, free: 9.496 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.663e-05/0.8974, allocations: 89.86 kB / 1.212 GB, free: 9.398 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.508e-05/0.8974, allocations: 25.7 kB / 1.212 GB, free: 9.367 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 2.714e-05/0.8974, allocations: 84.14 kB / 1.212 GB, free: 9.281 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 3.204e-05/0.8975, allocations: 15.75 kB / 1.212 GB, free: 9.266 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.964e-05/0.8975, allocations: 21.7 kB / 1.212 GB, free: 9.238 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 9.888e-05/0.8976, allocations: 310.8 kB / 1.213 GB, free: 8.926 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.261e-05/0.8977, allocations: 8.125 kB / 1.213 GB, free: 8.918 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.89e-05/0.8977, allocations: 8 kB / 1.213 GB, free: 8.91 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.526e-05/0.8977, allocations: 36.78 kB / 1.213 GB, free: 8.871 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.8977, allocations: 0 / 1.213 GB, free: 8.871 MB / 0.9356 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.757e-05/0.8978, allocations: 57.91 kB / 1.213 GB, free: 8.809 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.486e-05/0.8979, allocations: 5.875 kB / 1.213 GB, free: 8.805 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.8979, allocations: 0 / 1.213 GB, free: 8.805 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.289e-05/0.8979, allocations: 8.031 kB / 1.213 GB, free: 8.797 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.595e-05/0.898, allocations: 4 kB / 1.213 GB, free: 8.793 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.125e-06/0.898, allocations: 3.984 kB / 1.213 GB, free: 8.789 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.449e-05/0.898, allocations: 4 kB / 1.213 GB, free: 8.785 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.917e-06/0.898, allocations: 7.984 kB / 1.213 GB, free: 8.777 MB / 0.9356 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 6.965e-05/0.8981, allocations: 113.8 kB / 1.213 GB, free: 8.656 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.514e-05/0.8981, allocations: 7.938 kB / 1.213 GB, free: 8.648 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002416/0.8984, allocations: 77.11 kB / 1.213 GB, free: 8.562 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.8984, allocations: 0 / 1.213 GB, free: 8.562 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/0.8984, allocations: 0 / 1.213 GB, free: 8.562 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.8984, allocations: 0 / 1.213 GB, free: 8.562 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001191/0.8985, allocations: 169.5 kB / 1.213 GB, free: 8.348 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.834e-06/0.8985, allocations: 0 / 1.213 GB, free: 8.348 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.393e-05/0.8986, allocations: 8.062 kB / 1.213 GB, free: 8.34 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.401e-06/0.8986, allocations: 7.984 kB / 1.213 GB, free: 8.332 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.835e-06/0.8986, allocations: 0 / 1.213 GB, free: 8.332 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.8986, allocations: 0 / 1.213 GB, free: 8.332 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.305e-06/0.8986, allocations: 0 / 1.213 GB, free: 8.332 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000122/0.8987, allocations: 100.9 kB / 1.213 GB, free: 8.215 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.539e-05/0.8988, allocations: 85.05 kB / 1.213 GB, free: 8.113 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.301e-05/0.8988, allocations: 0 / 1.213 GB, free: 8.113 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.322e-05/0.8989, allocations: 7.984 kB / 1.213 GB, free: 8.105 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.857e-05/0.8989, allocations: 4 kB / 1.213 GB, free: 8.102 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5e-06/0.8989, allocations: 0 / 1.213 GB, free: 8.102 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 3.522e-05/0.899, allocations: 83.28 kB / 1.214 GB, free: 8.02 MB / 0.9356 GB Notification: Performance of sort global known variables: time 3.5e-07/0.899, allocations: 0 / 1.214 GB, free: 8.02 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.000262/0.8992, allocations: 44 kB / 1.214 GB, free: 7.977 MB / 0.9356 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.0003679/0.8996, allocations: 167 kB / 1.214 GB, free: 7.809 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0001074/0.8997, allocations: 27.94 kB / 1.214 GB, free: 7.781 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.494e-06/0.8997, allocations: 0 / 1.214 GB, free: 7.781 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 2.825e-05/0.8998, allocations: 16.08 kB / 1.214 GB, free: 7.766 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001678/0.8999, allocations: 11.94 kB / 1.214 GB, free: 7.754 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003315/0.9003, allocations: 148.3 kB / 1.214 GB, free: 7.574 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002118/0.9005, allocations: 0.6845 MB / 1.215 GB, free: 6.863 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.727e-05/0.9005, allocations: 11.44 kB / 1.215 GB, free: 6.855 MB / 0.9356 GB Notification: Performance of SimCode: time 2.4e-07/0.9005, allocations: 0 / 1.215 GB, free: 6.855 MB / 0.9356 GB Notification: Performance of Templates: time 0.002598/0.9031, allocations: 1.052 MB / 1.216 GB, free: 5.812 MB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.makefile (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.sim & ./Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches