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.0008869/0.0008868, allocations: 110 kB / 16.37 MB, free: 6.469 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.0008946/0.0008946, allocations: 195.8 kB / 17.31 MB, free: 5.824 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.204/1.204, allocations: 222.9 MB / 241 MB, free: 15.19 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.199/2.199, allocations: 437.1 MB / 0.7112 GB, free: 4.426 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001157/0.001157, allocations: 63.25 kB / 0.8707 GB, free: 1.492 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2543/0.2555, allocations: 151.6 MB / 1.019 GB, free: 9.895 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi): time 0.002003/0.2575, allocations: 1.268 MB / 1.02 GB, free: 8.613 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001165/0.2587, allocations: 0.8783 MB / 1.021 GB, free: 7.73 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.084e-05/0.2587, allocations: 0 / 1.021 GB, free: 7.73 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 1.504e-05/0.2587, allocations: 0 / 1.021 GB, free: 7.73 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 4.284e-05/0.2588, allocations: 3.938 kB / 1.021 GB, free: 7.727 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.000545/0.2593, allocations: 205 kB / 1.021 GB, free: 7.527 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 5.976e-05/0.2594, allocations: 15.92 kB / 1.021 GB, free: 7.512 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 3.731e-05/0.2594, allocations: 4 kB / 1.021 GB, free: 7.508 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 2.966e-05/0.2595, allocations: 8 kB / 1.021 GB, free: 7.5 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 4.696e-05/0.2595, allocations: 15.91 kB / 1.021 GB, free: 7.484 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 9.117e-06/0.2595, allocations: 0 / 1.021 GB, free: 7.484 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003193/0.2599, allocations: 236.9 kB / 1.021 GB, free: 7.254 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 1.003e-05/0.2599, allocations: 0 / 1.021 GB, free: 7.254 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 2.029e-05/0.2599, allocations: 4 kB / 1.021 GB, free: 7.25 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0002241/0.2601, allocations: 159.7 kB / 1.022 GB, free: 7.094 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.2601, allocations: 4 kB / 1.022 GB, free: 7.09 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.443e-06/0.2602, allocations: 0 / 1.022 GB, free: 7.09 MB / 0.795 GB Notification: Performance of Transformations before backend: time 4.548e-06/0.2602, allocations: 0 / 1.022 GB, free: 7.09 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.0003476/0.2605, allocations: 351.5 kB / 1.022 GB, free: 6.699 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.093e-05/0.2606, allocations: 8.922 kB / 1.022 GB, free: 6.691 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001514/0.2607, allocations: 8.922 kB / 1.022 GB, free: 6.684 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.324e-05/0.2608, allocations: 164.4 kB / 1.022 GB, free: 6.484 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.528e-06/0.2608, allocations: 384 / 1.022 GB, free: 6.484 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.303e-05/0.2608, allocations: 12.06 kB / 1.022 GB, free: 6.473 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001013/0.2609, allocations: 49.67 kB / 1.022 GB, free: 6.418 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.811e-06/0.261, allocations: 0 / 1.022 GB, free: 6.418 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.787e-06/0.261, allocations: 0 / 1.022 GB, free: 6.418 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.356e-06/0.261, allocations: 0 / 1.022 GB, free: 6.418 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.711e-05/0.261, allocations: 23.92 kB / 1.022 GB, free: 6.395 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001294/0.2612, allocations: 153.7 kB / 1.022 GB, free: 6.195 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008367/0.262, allocations: 134.5 kB / 1.022 GB, free: 6.055 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.072e-05/0.2621, allocations: 24.8 kB / 1.022 GB, free: 6.027 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 8.866e-05/0.2622, allocations: 85.09 kB / 1.022 GB, free: 5.926 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.854e-05/0.2622, allocations: 30.56 kB / 1.023 GB, free: 5.887 MB / 0.795 GB Notification: Performance of pre-optimization done (n=4): time 9.72e-07/0.2622, allocations: 0 / 1.023 GB, free: 5.887 MB / 0.795 GB Notification: Performance of matching and sorting (n=4): time 0.0001592/0.2623, allocations: 65.53 kB / 1.023 GB, free: 5.816 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.155e-05/0.2624, allocations: 59.41 kB / 1.023 GB, free: 5.746 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.823e-05/0.2624, allocations: 93.86 kB / 1.023 GB, free: 5.645 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.172e-05/0.2625, allocations: 25.7 kB / 1.023 GB, free: 5.613 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 2.297e-05/0.2625, allocations: 80.14 kB / 1.023 GB, free: 5.531 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 2.553e-05/0.2625, allocations: 11.89 kB / 1.023 GB, free: 5.52 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.01e-05/0.2625, allocations: 17.72 kB / 1.023 GB, free: 5.496 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 8.502e-05/0.2626, allocations: 314.8 kB / 1.023 GB, free: 5.18 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.979e-05/0.2627, allocations: 12.12 kB / 1.023 GB, free: 5.168 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.559e-05/0.2627, allocations: 7.984 kB / 1.023 GB, free: 5.16 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.699e-05/0.2627, allocations: 28.86 kB / 1.023 GB, free: 5.129 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.2627, allocations: 0 / 1.023 GB, free: 5.129 MB / 0.795 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.242e-05/0.2628, allocations: 65.47 kB / 1.023 GB, free: 5.059 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.16e-05/0.2629, allocations: 6.656 kB / 1.023 GB, free: 5.055 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.637e-06/0.2629, allocations: 0 / 1.023 GB, free: 5.055 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.085e-05/0.2629, allocations: 0 / 1.023 GB, free: 5.055 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.543e-05/0.2629, allocations: 11.98 kB / 1.023 GB, free: 5.043 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.308e-06/0.2629, allocations: 0 / 1.023 GB, free: 5.043 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.871e-05/0.263, allocations: 7.938 kB / 1.023 GB, free: 5.035 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.112e-05/0.263, allocations: 8 kB / 1.023 GB, free: 5.027 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 5.494e-05/0.2631, allocations: 109.8 kB / 1.023 GB, free: 4.91 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.208e-05/0.2631, allocations: 3.938 kB / 1.023 GB, free: 4.906 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001931/0.2633, allocations: 85.11 kB / 1.023 GB, free: 4.812 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.903e-06/0.2633, allocations: 0 / 1.023 GB, free: 4.812 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.379e-06/0.2633, allocations: 3.984 kB / 1.023 GB, free: 4.809 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.2633, allocations: 0 / 1.023 GB, free: 4.809 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001017/0.2634, allocations: 165.6 kB / 1.024 GB, free: 4.598 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.2634, allocations: 0 / 1.024 GB, free: 4.598 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.858e-05/0.2635, allocations: 4 kB / 1.024 GB, free: 4.594 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.2635, allocations: 4 kB / 1.024 GB, free: 4.59 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.903e-06/0.2635, allocations: 0 / 1.024 GB, free: 4.59 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.2635, allocations: 0 / 1.024 GB, free: 4.59 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.2635, allocations: 0 / 1.024 GB, free: 4.59 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.908e-05/0.2636, allocations: 93 kB / 1.024 GB, free: 4.48 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 4.607e-05/0.2636, allocations: 89 kB / 1.024 GB, free: 4.375 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.234e-05/0.2637, allocations: 4 kB / 1.024 GB, free: 4.371 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.37e-05/0.2637, allocations: 128 / 1.024 GB, free: 4.371 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.795e-05/0.2637, allocations: 4.328 kB / 1.024 GB, free: 4.367 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.432e-06/0.2637, allocations: 4 kB / 1.024 GB, free: 4.363 MB / 0.795 GB Notification: Performance of sorting global known variables: time 2.652e-05/0.2638, allocations: 79.28 kB / 1.024 GB, free: 4.285 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2638, allocations: 0 / 1.024 GB, free: 4.285 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002192/0.264, allocations: 55.98 kB / 1.024 GB, free: 4.23 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.0003015/0.2643, allocations: 168.7 kB / 1.024 GB, free: 4.066 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 8.954e-05/0.2644, allocations: 27.98 kB / 1.024 GB, free: 4.039 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.2644, allocations: 0 / 1.024 GB, free: 4.039 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 2.509e-05/0.2644, allocations: 20.03 kB / 1.024 GB, free: 4.02 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001487/0.2646, allocations: 15.92 kB / 1.024 GB, free: 4.004 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000268/0.2649, allocations: 122.7 kB / 1.024 GB, free: 3.859 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001846/0.2651, allocations: 0.6729 MB / 1.025 GB, free: 3.16 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 4.779e-05/0.2651, allocations: 11.98 kB / 1.025 GB, free: 3.148 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.389e-05/0.2652, allocations: 11.44 kB / 1.025 GB, free: 3.137 MB / 0.795 GB Notification: Performance of SimCode: time 2.4e-07/0.2652, allocations: 3.938 kB / 1.025 GB, free: 3.133 MB / 0.795 GB Notification: Performance of Templates: time 0.002929/0.2681, allocations: 1.066 MB / 1.026 GB, free: 2.07 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 cvode -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