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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.001317/0.001317, allocations: 109 kB / 16.37 MB, free: 6.004 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.001198/0.001198, allocations: 197.6 kB / 17.31 MB, free: 5.613 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.268/1.268, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.386/2.386, allocations: 442.6 MB / 0.7165 GB, free: 14.67 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001275/0.001275, allocations: 67.27 kB / 0.8773 GB, free: 11 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2901/0.2914, allocations: 153 MB / 1.027 GB, free: 2.09 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi): time 0.002248/0.2937, allocations: 1.274 MB / 1.028 GB, free: 0.8086 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001282/0.295, allocations: 0.8792 MB / 1.029 GB, free: 15.93 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.892e-05/0.295, allocations: 0 / 1.029 GB, free: 15.93 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.615e-05/0.295, allocations: 4 kB / 1.029 GB, free: 15.92 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 3.878e-05/0.2951, allocations: 3.938 kB / 1.029 GB, free: 15.92 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006118/0.2957, allocations: 195.3 kB / 1.029 GB, free: 15.73 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 6.746e-05/0.2958, allocations: 11.94 kB / 1.029 GB, free: 15.71 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 5.14e-05/0.2958, allocations: 11.98 kB / 1.029 GB, free: 15.7 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 4.303e-05/0.2959, allocations: 8 kB / 1.029 GB, free: 15.7 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 6.466e-05/0.2959, allocations: 11.92 kB / 1.029 GB, free: 15.68 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.211e-05/0.296, allocations: 0 / 1.029 GB, free: 15.68 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004499/0.2964, allocations: 235.7 kB / 1.029 GB, free: 15.45 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.765e-05/0.2964, allocations: 3.984 kB / 1.029 GB, free: 15.45 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.511e-05/0.2965, allocations: 7.938 kB / 1.029 GB, free: 15.44 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0003147/0.2968, allocations: 147.8 kB / 1.029 GB, free: 15.3 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.661e-06/0.2968, allocations: 3.938 kB / 1.029 GB, free: 15.29 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.775e-06/0.2968, allocations: 0 / 1.029 GB, free: 15.29 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 8.616e-06/0.2968, allocations: 0 / 1.029 GB, free: 15.29 MB / 0.8106 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.0005128/0.2974, allocations: 356.7 kB / 1.03 GB, free: 14.9 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.176e-05/0.2974, allocations: 15.97 kB / 1.03 GB, free: 14.88 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002132/0.2976, allocations: 12.92 kB / 1.03 GB, free: 14.87 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001385/0.2978, allocations: 168.3 kB / 1.03 GB, free: 14.67 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.131e-05/0.2978, allocations: 4.375 kB / 1.03 GB, free: 14.66 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.84e-05/0.2978, allocations: 8.125 kB / 1.03 GB, free: 14.66 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002108/0.298, allocations: 37.69 kB / 1.03 GB, free: 14.61 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.4e-05/0.2981, allocations: 0 / 1.03 GB, free: 14.61 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.51e-05/0.2981, allocations: 4 kB / 1.03 GB, free: 14.61 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.218e-06/0.2981, allocations: 7.984 kB / 1.03 GB, free: 14.6 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.07e-05/0.2982, allocations: 15.98 kB / 1.03 GB, free: 14.59 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002454/0.2984, allocations: 153.7 kB / 1.03 GB, free: 14.39 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009543/0.2994, allocations: 130.5 kB / 1.03 GB, free: 14.25 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.197e-05/0.2995, allocations: 28.8 kB / 1.03 GB, free: 14.22 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000147/0.2996, allocations: 89.08 kB / 1.03 GB, free: 14.11 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.036e-05/0.2997, allocations: 34.56 kB / 1.03 GB, free: 14.07 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=4): time 1.152e-06/0.2997, allocations: 0 / 1.03 GB, free: 14.07 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4): time 0.0002119/0.2999, allocations: 69.53 kB / 1.031 GB, free: 14 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.189e-05/0.2999, allocations: 51.41 kB / 1.031 GB, free: 13.93 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.142e-05/0.3, allocations: 89.86 kB / 1.031 GB, free: 13.84 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.88e-05/0.3, allocations: 29.83 kB / 1.031 GB, free: 13.8 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 3.3e-05/0.3001, allocations: 80.14 kB / 1.031 GB, free: 13.72 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.815e-05/0.3001, allocations: 15.89 kB / 1.031 GB, free: 13.7 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.668e-05/0.3002, allocations: 13.72 kB / 1.031 GB, free: 13.68 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001339/0.3003, allocations: 310.8 kB / 1.031 GB, free: 13.37 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.568e-05/0.3003, allocations: 11.98 kB / 1.031 GB, free: 13.36 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.016e-05/0.3004, allocations: 8 kB / 1.031 GB, free: 13.35 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.94e-05/0.3004, allocations: 24.86 kB / 1.031 GB, free: 13.32 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.935e-06/0.3004, allocations: 4 kB / 1.031 GB, free: 13.32 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000107/0.3006, allocations: 61.47 kB / 1.031 GB, free: 13.25 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.863e-05/0.3006, allocations: 4 kB / 1.031 GB, free: 13.25 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.108e-05/0.3006, allocations: 7.984 kB / 1.031 GB, free: 13.24 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.907e-05/0.3006, allocations: 0 / 1.031 GB, free: 13.24 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.656e-05/0.3007, allocations: 8 kB / 1.031 GB, free: 13.23 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.072e-05/0.3007, allocations: 0 / 1.031 GB, free: 13.23 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.451e-05/0.3008, allocations: 11.88 kB / 1.031 GB, free: 13.22 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.466e-06/0.3008, allocations: 0 / 1.031 GB, free: 13.22 MB / 0.8106 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.0001074/0.3009, allocations: 113.8 kB / 1.031 GB, free: 13.1 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.583e-05/0.3009, allocations: 7.938 kB / 1.031 GB, free: 13.09 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002421/0.3012, allocations: 85.03 kB / 1.031 GB, free: 13 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.855e-06/0.3012, allocations: 0 / 1.031 GB, free: 13 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.3012, allocations: 0 / 1.031 GB, free: 13 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.3012, allocations: 4 kB / 1.031 GB, free: 12.99 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001225/0.3013, allocations: 161.6 kB / 1.032 GB, free: 12.79 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.3013, allocations: 0 / 1.032 GB, free: 12.79 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.207e-05/0.3014, allocations: 8 kB / 1.032 GB, free: 12.78 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.3014, allocations: 0 / 1.032 GB, free: 12.78 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.576e-06/0.3014, allocations: 400 / 1.032 GB, free: 12.78 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.066e-06/0.3014, allocations: 4 kB / 1.032 GB, free: 12.77 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.3014, allocations: 0 / 1.032 GB, free: 12.77 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001248/0.3015, allocations: 96.97 kB / 1.032 GB, free: 12.66 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 5.804e-05/0.3016, allocations: 89.08 kB / 1.032 GB, free: 12.55 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.467e-05/0.3016, allocations: 0 / 1.032 GB, free: 12.55 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.823e-05/0.3017, allocations: 7.938 kB / 1.032 GB, free: 12.55 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.023e-05/0.3017, allocations: 0 / 1.032 GB, free: 12.55 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.39e-06/0.3017, allocations: 0 / 1.032 GB, free: 12.55 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 3.82e-05/0.3018, allocations: 83.27 kB / 1.032 GB, free: 12.46 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3018, allocations: 0 / 1.032 GB, free: 12.46 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002796/0.3021, allocations: 48 kB / 1.032 GB, free: 12.42 MB / 0.8106 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.000383/0.3024, allocations: 170.2 kB / 1.032 GB, free: 12.25 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0001108/0.3026, allocations: 23.98 kB / 1.032 GB, free: 12.23 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.3026, allocations: 0 / 1.032 GB, free: 12.23 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 2.763e-05/0.3026, allocations: 15.94 kB / 1.032 GB, free: 12.21 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001717/0.3028, allocations: 15.92 kB / 1.032 GB, free: 12.2 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003472/0.3031, allocations: 126.6 kB / 1.032 GB, free: 12.05 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002379/0.3034, allocations: 0.6768 MB / 1.033 GB, free: 11.34 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 4.827e-05/0.3034, allocations: 7.938 kB / 1.033 GB, free: 11.34 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.648e-05/0.3035, allocations: 15.44 kB / 1.033 GB, free: 11.32 MB / 0.8106 GB Notification: Performance of SimCode: time 1.91e-07/0.3035, allocations: 0 / 1.033 GB, free: 11.32 MB / 0.8106 GB Notification: Performance of Templates: time 0.003416/0.3069, allocations: 1.076 MB / 1.034 GB, free: 10.25 MB / 0.8106 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 -s cvode -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