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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001113/0.001113, allocations: 91.77 kB / 16.02 MB, free: 80 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.001608/0.001608, allocations: 177.5 kB / 16.92 MB, free: 6.652 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.333/1.333, allocations: 223.3 MB / 241 MB, free: 5.277 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.619/2.619, allocations: 437.8 MB / 0.7128 GB, free: 6.938 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.000377/0.0003771, allocations: 12 kB / 0.8735 GB, free: 3.277 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7843/0.7847, allocations: 153.8 MB / 1.024 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi): time 0.001267/0.786, allocations: 0.9995 MB / 1.025 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001322/0.7874, allocations: 0.8851 MB / 1.026 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.4e-05/0.7874, allocations: 0 / 1.026 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.583e-05/0.7874, allocations: 4 kB / 1.026 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 4.1e-05/0.7875, allocations: 0 / 1.026 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005091/0.788, allocations: 147.2 kB / 1.026 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 4.63e-05/0.788, allocations: 19.86 kB / 1.026 GB, free: 13.78 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 3.874e-05/0.7881, allocations: 3.984 kB / 1.026 GB, free: 13.78 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 3.399e-05/0.7881, allocations: 15.94 kB / 1.026 GB, free: 13.76 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 4.653e-05/0.7882, allocations: 7.984 kB / 1.026 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 9.067e-06/0.7882, allocations: 0 / 1.026 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003064/0.7885, allocations: 191.8 kB / 1.026 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.042e-05/0.7885, allocations: 3.984 kB / 1.026 GB, free: 13.56 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 3.322e-05/0.7885, allocations: 37.64 kB / 1.026 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001666/0.7887, allocations: 97.84 kB / 1.026 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.7887, allocations: 0 / 1.026 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.513e-06/0.7887, allocations: 0 / 1.026 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.851e-06/0.7887, allocations: 0 / 1.026 GB, free: 13.43 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.0003721/0.7891, allocations: 364.8 kB / 1.026 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.562e-05/0.7892, allocations: 15.91 kB / 1.026 GB, free: 13.01 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001618/0.7893, allocations: 8.922 kB / 1.026 GB, free: 13 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000104/0.7894, allocations: 160.4 kB / 1.027 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.229e-05/0.7895, allocations: 4.375 kB / 1.027 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.22e-05/0.7895, allocations: 4.125 kB / 1.027 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001176/0.7896, allocations: 41.69 kB / 1.027 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.422e-06/0.7896, allocations: 0 / 1.027 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.34e-05/0.7896, allocations: 15.94 kB / 1.027 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.83e-06/0.7896, allocations: 0 / 1.027 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.865e-05/0.7897, allocations: 15.98 kB / 1.027 GB, free: 12.72 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001512/0.7899, allocations: 157.7 kB / 1.027 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008696/0.7907, allocations: 126.5 kB / 1.027 GB, free: 12.38 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.239e-05/0.7908, allocations: 20.8 kB / 1.027 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001109/0.7909, allocations: 89.09 kB / 1.027 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.498e-05/0.7909, allocations: 38.56 kB / 1.027 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=4): time 1.143e-06/0.7909, allocations: 0 / 1.027 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4): time 0.0001686/0.7911, allocations: 61.62 kB / 1.027 GB, free: 12.14 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.452e-05/0.7912, allocations: 51.41 kB / 1.027 GB, free: 12.08 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.203e-05/0.7912, allocations: 97.84 kB / 1.027 GB, free: 11.97 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.648e-05/0.7913, allocations: 29.7 kB / 1.027 GB, free: 11.94 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 2.774e-05/0.7913, allocations: 80.14 kB / 1.027 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.911e-05/0.7913, allocations: 7.812 kB / 1.027 GB, free: 11.85 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.386e-05/0.7914, allocations: 13.84 kB / 1.027 GB, free: 11.83 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.572e-05/0.7915, allocations: 318.8 kB / 1.028 GB, free: 11.51 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.468e-05/0.7915, allocations: 7.984 kB / 1.028 GB, free: 11.5 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.795e-05/0.7915, allocations: 8 kB / 1.028 GB, free: 11.49 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.855e-05/0.7916, allocations: 24.86 kB / 1.028 GB, free: 11.46 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.7916, allocations: 0 / 1.028 GB, free: 11.46 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.779e-05/0.7917, allocations: 61.56 kB / 1.028 GB, free: 11.4 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.209e-05/0.7917, allocations: 4 kB / 1.028 GB, free: 11.39 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.7917, allocations: 4.312 kB / 1.028 GB, free: 11.39 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.017e-05/0.7917, allocations: 0 / 1.028 GB, free: 11.39 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.426e-05/0.7918, allocations: 15.94 kB / 1.028 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.789e-06/0.7918, allocations: 0 / 1.028 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.04e-05/0.7918, allocations: 3.938 kB / 1.028 GB, free: 11.37 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.523e-06/0.7918, allocations: 0 / 1.028 GB, free: 11.37 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.112e-05/0.7919, allocations: 109.8 kB / 1.028 GB, free: 11.25 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.399e-05/0.7919, allocations: 11.83 kB / 1.028 GB, free: 11.24 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002418/0.7922, allocations: 89.09 kB / 1.028 GB, free: 11.14 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.933e-06/0.7922, allocations: 0 / 1.028 GB, free: 11.14 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.7922, allocations: 0 / 1.028 GB, free: 11.14 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.484e-06/0.7922, allocations: 0 / 1.028 GB, free: 11.14 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001086/0.7923, allocations: 161.6 kB / 1.028 GB, free: 10.94 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.7923, allocations: 0 / 1.028 GB, free: 10.94 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.926e-05/0.7924, allocations: 7.938 kB / 1.028 GB, free: 10.93 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.7924, allocations: 4 kB / 1.028 GB, free: 10.93 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.687e-06/0.7924, allocations: 8 kB / 1.028 GB, free: 10.92 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.7924, allocations: 0 / 1.028 GB, free: 10.92 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.7924, allocations: 0 / 1.028 GB, free: 10.92 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001125/0.7925, allocations: 85.06 kB / 1.028 GB, free: 10.82 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.203e-05/0.7926, allocations: 85.09 kB / 1.028 GB, free: 10.71 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.421e-05/0.7926, allocations: 4.125 kB / 1.028 GB, free: 10.71 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.619e-05/0.7927, allocations: 3.938 kB / 1.028 GB, free: 10.71 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.747e-05/0.7927, allocations: 8 kB / 1.028 GB, free: 10.7 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.24e-06/0.7927, allocations: 0 / 1.028 GB, free: 10.7 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.426e-05/0.7927, allocations: 83.27 kB / 1.028 GB, free: 10.62 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7927, allocations: 0 / 1.028 GB, free: 10.62 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002414/0.793, allocations: 48 kB / 1.028 GB, free: 10.57 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.0003535/0.7933, allocations: 165.4 kB / 1.029 GB, free: 10.41 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 9.272e-05/0.7934, allocations: 28.08 kB / 1.029 GB, free: 10.38 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.7935, allocations: 4 kB / 1.029 GB, free: 10.38 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 2.777e-05/0.7935, allocations: 15.94 kB / 1.029 GB, free: 10.36 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001756/0.7937, allocations: 18.31 kB / 1.029 GB, free: 10.34 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004218/0.7941, allocations: 162.2 kB / 1.029 GB, free: 10.15 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003135/0.7944, allocations: 0.677 MB / 1.03 GB, free: 9.449 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.327e-05/0.7945, allocations: 19.44 kB / 1.03 GB, free: 9.43 MB / 0.7794 GB Notification: Performance of SimCode: time 2.41e-07/0.7945, allocations: 0 / 1.03 GB, free: 9.43 MB / 0.7794 GB Notification: Performance of Templates: time 0.003057/0.7975, allocations: 1.028 MB / 1.031 GB, free: 8.406 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/jenkins1/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