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.001345/0.001345, allocations: 100.1 kB / 16.35 MB, free: 5.875 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.001315/0.001315, allocations: 199.2 kB / 17.3 MB, free: 5.516 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.309/1.309, allocations: 222.9 MB / 241 MB, free: 15 MB / 206.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.423/2.423, allocations: 437.1 MB / 0.7112 GB, free: 4.352 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001273/0.001273, allocations: 65.56 kB / 0.8707 GB, free: 1.449 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2906/0.2919, allocations: 151.6 MB / 1.019 GB, free: 9.859 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi): time 0.002216/0.2941, allocations: 1.268 MB / 1.02 GB, free: 8.578 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001277/0.2954, allocations: 0.8783 MB / 1.021 GB, free: 7.695 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.001e-05/0.2954, allocations: 0 / 1.021 GB, free: 7.695 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 1.669e-05/0.2955, allocations: 0 / 1.021 GB, free: 7.695 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 4.181e-05/0.2955, allocations: 7.922 kB / 1.021 GB, free: 7.688 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006004/0.2961, allocations: 194.3 kB / 1.021 GB, free: 7.5 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 5.614e-05/0.2962, allocations: 23.8 kB / 1.021 GB, free: 7.477 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 3.8e-05/0.2962, allocations: 12 kB / 1.021 GB, free: 7.465 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 3.022e-05/0.2963, allocations: 4 kB / 1.021 GB, free: 7.461 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 4.384e-05/0.2963, allocations: 7.984 kB / 1.021 GB, free: 7.453 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 9.438e-06/0.2963, allocations: 0 / 1.021 GB, free: 7.453 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003539/0.2967, allocations: 239.7 kB / 1.021 GB, free: 7.219 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 1.198e-05/0.2967, allocations: 3.938 kB / 1.021 GB, free: 7.215 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 1.985e-05/0.2967, allocations: 4 kB / 1.021 GB, free: 7.211 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0002467/0.297, allocations: 151.7 kB / 1.021 GB, free: 7.062 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 6.352e-06/0.297, allocations: 0 / 1.021 GB, free: 7.062 MB / 0.795 GB Notification: Performance of FrontEnd: time 2.124e-06/0.297, allocations: 0 / 1.021 GB, free: 7.062 MB / 0.795 GB Notification: Performance of Transformations before backend: time 1.297e-05/0.297, allocations: 0 / 1.021 GB, free: 7.062 MB / 0.795 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.0003927/0.2974, allocations: 355.5 kB / 1.022 GB, free: 6.668 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.502e-05/0.2975, allocations: 8.922 kB / 1.022 GB, free: 6.66 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001672/0.2976, allocations: 8.922 kB / 1.022 GB, free: 6.652 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.233e-05/0.2977, allocations: 172.3 kB / 1.022 GB, free: 6.445 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.826e-06/0.2978, allocations: 384 / 1.022 GB, free: 6.445 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.778e-06/0.2978, allocations: 4.125 kB / 1.022 GB, free: 6.441 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001202/0.2979, allocations: 45.67 kB / 1.022 GB, free: 6.391 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.863e-06/0.2979, allocations: 0 / 1.022 GB, free: 6.391 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.648e-06/0.2979, allocations: 4 kB / 1.022 GB, free: 6.387 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.727e-06/0.2979, allocations: 0 / 1.022 GB, free: 6.387 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.305e-05/0.298, allocations: 23.92 kB / 1.022 GB, free: 6.363 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001422/0.2981, allocations: 149.7 kB / 1.022 GB, free: 6.168 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000929/0.2991, allocations: 142.5 kB / 1.022 GB, free: 6.02 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.255e-05/0.2991, allocations: 28.72 kB / 1.022 GB, free: 5.988 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001005/0.2992, allocations: 81.11 kB / 1.022 GB, free: 5.891 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.261e-05/0.2993, allocations: 34.55 kB / 1.023 GB, free: 5.848 MB / 0.795 GB Notification: Performance of pre-optimization done (n=4): time 2.424e-06/0.2993, allocations: 3.984 kB / 1.023 GB, free: 5.844 MB / 0.795 GB Notification: Performance of matching and sorting (n=4): time 0.0001658/0.2994, allocations: 65.59 kB / 1.023 GB, free: 5.773 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.775e-05/0.2995, allocations: 59.34 kB / 1.023 GB, free: 5.703 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.879e-05/0.2995, allocations: 93.86 kB / 1.023 GB, free: 5.602 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.446e-05/0.2996, allocations: 25.7 kB / 1.023 GB, free: 5.57 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 2.502e-05/0.2996, allocations: 80.14 kB / 1.023 GB, free: 5.488 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 2.791e-05/0.2996, allocations: 15.89 kB / 1.023 GB, free: 5.473 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.244e-05/0.2997, allocations: 13.72 kB / 1.023 GB, free: 5.453 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 8.32e-05/0.2998, allocations: 310.8 kB / 1.023 GB, free: 5.141 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.342e-05/0.2998, allocations: 8 kB / 1.023 GB, free: 5.133 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.885e-05/0.2998, allocations: 11.98 kB / 1.023 GB, free: 5.121 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.016e-05/0.2999, allocations: 28.98 kB / 1.023 GB, free: 5.09 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.2999, allocations: 0 / 1.023 GB, free: 5.09 MB / 0.795 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.97e-05/0.3, allocations: 61.47 kB / 1.023 GB, free: 5.023 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.141e-05/0.3, allocations: 4 kB / 1.023 GB, free: 5.02 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/0.3, allocations: 0 / 1.023 GB, free: 5.02 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.999e-06/0.3, allocations: 0 / 1.023 GB, free: 5.02 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.909e-05/0.3001, allocations: 15.98 kB / 1.023 GB, free: 5.004 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.32e-06/0.3001, allocations: 0 / 1.023 GB, free: 5.004 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.164e-05/0.3001, allocations: 3.938 kB / 1.023 GB, free: 5 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.117e-06/0.3001, allocations: 8 kB / 1.023 GB, free: 4.992 MB / 0.795 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.124e-05/0.3002, allocations: 109.8 kB / 1.023 GB, free: 4.875 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.202e-05/0.3002, allocations: 3.938 kB / 1.023 GB, free: 4.871 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000213/0.3004, allocations: 77.17 kB / 1.023 GB, free: 4.785 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.416e-06/0.3004, allocations: 0 / 1.023 GB, free: 4.785 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.3005, allocations: 3.938 kB / 1.023 GB, free: 4.781 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.3005, allocations: 7.984 kB / 1.023 GB, free: 4.773 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.778e-05/0.3006, allocations: 157.6 kB / 1.024 GB, free: 4.57 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-06/0.3006, allocations: 3.984 kB / 1.024 GB, free: 4.566 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.396e-05/0.3006, allocations: 8 kB / 1.024 GB, free: 4.559 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.674e-06/0.3006, allocations: 0 / 1.024 GB, free: 4.559 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.789e-06/0.3007, allocations: 7.938 kB / 1.024 GB, free: 4.551 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.233e-06/0.3007, allocations: 3.938 kB / 1.024 GB, free: 4.547 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.92e-07/0.3007, allocations: 0 / 1.024 GB, free: 4.547 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001082/0.3008, allocations: 89.06 kB / 1.024 GB, free: 4.441 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 5.178e-05/0.3008, allocations: 89 kB / 1.024 GB, free: 4.336 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.147e-05/0.3009, allocations: 0 / 1.024 GB, free: 4.336 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.984e-05/0.3009, allocations: 0 / 1.024 GB, free: 4.336 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.639e-05/0.3009, allocations: 4 kB / 1.024 GB, free: 4.332 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.933e-06/0.3009, allocations: 0 / 1.024 GB, free: 4.332 MB / 0.795 GB Notification: Performance of sorting global known variables: time 2.721e-05/0.301, allocations: 79.22 kB / 1.024 GB, free: 4.254 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.2e-07/0.301, allocations: 0 / 1.024 GB, free: 4.254 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.000241/0.3012, allocations: 55.98 kB / 1.024 GB, free: 4.199 MB / 0.795 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.0003319/0.3016, allocations: 178 kB / 1.024 GB, free: 4.027 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0001001/0.3017, allocations: 23.98 kB / 1.024 GB, free: 4.004 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.3017, allocations: 0 / 1.024 GB, free: 4.004 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 2.794e-05/0.3017, allocations: 16.06 kB / 1.024 GB, free: 3.988 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001749/0.3019, allocations: 16.06 kB / 1.024 GB, free: 3.973 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003107/0.3022, allocations: 130.7 kB / 1.024 GB, free: 3.82 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001891/0.3024, allocations: 0.6729 MB / 1.025 GB, free: 3.121 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 5.174e-05/0.3025, allocations: 11.98 kB / 1.025 GB, free: 3.109 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.72e-05/0.3025, allocations: 11.44 kB / 1.025 GB, free: 3.098 MB / 0.795 GB Notification: Performance of SimCode: time 2.31e-07/0.3025, allocations: 0 / 1.025 GB, free: 3.098 MB / 0.795 GB Notification: Performance of Templates: time 0.003481/0.306, allocations: 1.075 MB / 1.026 GB, free: 2.031 MB / 0.795 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 -s gbode -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