Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.001486/0.001486, allocations: 107.5 kB / 15.99 MB, free: 6.355 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.001716/0.001716, allocations: 198.8 kB / 16.91 MB, free: 6.195 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.417/1.417, allocations: 222.9 MB / 240.6 MB, free: 15.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.164/2.164, allocations: 390.3 MB / 0.665 GB, free: 0.9297 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001279/0.001279, allocations: 63.61 kB / 0.8127 GB, free: 33.32 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2568/0.2581, allocations: 140.4 MB / 0.9498 GB, free: 9.262 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi): time 0.002698/0.2608, allocations: 1.345 MB / 0.9511 GB, free: 7.906 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001419/0.2623, allocations: 0.8693 MB / 0.9519 GB, free: 7.031 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.932e-05/0.2623, allocations: 0 / 0.9519 GB, free: 7.031 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 1.997e-05/0.2624, allocations: 0 / 0.9519 GB, free: 7.031 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 4.924e-05/0.2624, allocations: 3.938 kB / 0.9519 GB, free: 7.027 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006851/0.2631, allocations: 183.6 kB / 0.9521 GB, free: 6.852 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 5.068e-05/0.2632, allocations: 19.92 kB / 0.9521 GB, free: 6.832 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 4.63e-05/0.2632, allocations: 8 kB / 0.9521 GB, free: 6.824 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 3.412e-05/0.2633, allocations: 7.938 kB / 0.9521 GB, free: 6.816 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 4.514e-05/0.2633, allocations: 7.984 kB / 0.9521 GB, free: 6.809 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.018e-05/0.2633, allocations: 3.938 kB / 0.9522 GB, free: 6.805 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003266/0.2637, allocations: 189.6 kB / 0.9523 GB, free: 6.621 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.527e-05/0.2637, allocations: 7.984 kB / 0.9523 GB, free: 6.613 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 2.377e-05/0.2637, allocations: 7.938 kB / 0.9523 GB, free: 6.605 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.000204/0.2639, allocations: 99.86 kB / 0.9524 GB, free: 6.508 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.264, allocations: 3.938 kB / 0.9524 GB, free: 6.504 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.402e-06/0.264, allocations: 4 kB / 0.9525 GB, free: 6.5 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 6.022e-06/0.264, allocations: 0 / 0.9525 GB, free: 6.5 MB / 0.7325 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.0004451/0.2644, allocations: 359.5 kB / 0.9528 GB, free: 6.102 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.637e-05/0.2645, allocations: 8.031 kB / 0.9528 GB, free: 6.094 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001858/0.2647, allocations: 8.922 kB / 0.9528 GB, free: 6.086 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001171/0.2648, allocations: 160.4 kB / 0.953 GB, free: 5.891 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.113e-05/0.2648, allocations: 4.375 kB / 0.953 GB, free: 5.887 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.365e-05/0.2648, allocations: 4.125 kB / 0.953 GB, free: 5.883 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001273/0.2649, allocations: 53.61 kB / 0.953 GB, free: 5.824 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.965e-06/0.265, allocations: 0 / 0.953 GB, free: 5.824 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.154e-05/0.265, allocations: 0 / 0.953 GB, free: 5.824 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.549e-06/0.265, allocations: 0 / 0.953 GB, free: 5.824 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.679e-05/0.2651, allocations: 19.92 kB / 0.953 GB, free: 5.805 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000174/0.2652, allocations: 157.7 kB / 0.9532 GB, free: 5.602 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009562/0.2662, allocations: 138.5 kB / 0.9533 GB, free: 5.457 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.122e-05/0.2662, allocations: 20.8 kB / 0.9533 GB, free: 5.434 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001225/0.2664, allocations: 85.09 kB / 0.9534 GB, free: 5.332 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.442e-05/0.2664, allocations: 30.56 kB / 0.9535 GB, free: 5.293 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=4): time 1.342e-06/0.2664, allocations: 0 / 0.9535 GB, free: 5.293 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4): time 0.0001854/0.2666, allocations: 65.77 kB / 0.9535 GB, free: 5.223 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.251e-05/0.2667, allocations: 55.41 kB / 0.9536 GB, free: 5.156 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.591e-05/0.2667, allocations: 93.86 kB / 0.9537 GB, free: 5.055 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.76e-05/0.2668, allocations: 25.7 kB / 0.9537 GB, free: 5.023 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 2.824e-05/0.2668, allocations: 80.14 kB / 0.9538 GB, free: 4.941 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.564e-05/0.2668, allocations: 15.8 kB / 0.9538 GB, free: 4.926 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.542e-05/0.2669, allocations: 13.72 kB / 0.9538 GB, free: 4.906 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001163/0.267, allocations: 318.8 kB / 0.9541 GB, free: 4.586 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.532e-05/0.267, allocations: 7.984 kB / 0.9541 GB, free: 4.578 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.043e-05/0.2671, allocations: 16.16 kB / 0.9541 GB, free: 4.562 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.381e-05/0.2671, allocations: 24.86 kB / 0.9541 GB, free: 4.535 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.2671, allocations: 0 / 0.9541 GB, free: 4.535 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001001/0.2672, allocations: 61.56 kB / 0.9542 GB, free: 4.469 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.556e-05/0.2673, allocations: 4 kB / 0.9542 GB, free: 4.465 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.491e-06/0.2673, allocations: 0 / 0.9542 GB, free: 4.465 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.254e-05/0.2673, allocations: 0 / 0.9542 GB, free: 4.465 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.55e-05/0.2674, allocations: 11.98 kB / 0.9542 GB, free: 4.453 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.522e-06/0.2674, allocations: 7.938 kB / 0.9542 GB, free: 4.445 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.431e-05/0.2674, allocations: 7.844 kB / 0.9542 GB, free: 4.438 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.803e-06/0.2674, allocations: 4 kB / 0.9542 GB, free: 4.434 MB / 0.7325 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.519e-05/0.2675, allocations: 109.8 kB / 0.9543 GB, free: 4.316 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.417e-05/0.2675, allocations: 11.88 kB / 0.9543 GB, free: 4.305 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000257/0.2678, allocations: 81.11 kB / 0.9544 GB, free: 4.215 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.2678, allocations: 0 / 0.9544 GB, free: 4.215 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.991e-06/0.2678, allocations: 3.984 kB / 0.9544 GB, free: 4.211 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.2678, allocations: 0 / 0.9544 GB, free: 4.211 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001193/0.268, allocations: 157.6 kB / 0.9546 GB, free: 4.008 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.268, allocations: 4 kB / 0.9546 GB, free: 4.004 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.34e-05/0.268, allocations: 8 kB / 0.9546 GB, free: 3.996 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.969e-06/0.268, allocations: 4 kB / 0.9546 GB, free: 3.992 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.237e-06/0.2681, allocations: 0 / 0.9546 GB, free: 3.992 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.2681, allocations: 0 / 0.9546 GB, free: 3.992 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.2681, allocations: 0 / 0.9546 GB, free: 3.992 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001247/0.2682, allocations: 93 kB / 0.9547 GB, free: 3.883 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 5.71e-05/0.2683, allocations: 89 kB / 0.9548 GB, free: 3.777 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.272e-05/0.2683, allocations: 0 / 0.9548 GB, free: 3.777 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.952e-05/0.2683, allocations: 0 / 0.9548 GB, free: 3.777 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.783e-05/0.2684, allocations: 4 kB / 0.9548 GB, free: 3.773 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.534e-06/0.2684, allocations: 4 kB / 0.9548 GB, free: 3.77 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 4.432e-05/0.2684, allocations: 79.27 kB / 0.9549 GB, free: 3.691 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.51e-07/0.2684, allocations: 4.094 kB / 0.9549 GB, free: 3.688 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002474/0.2687, allocations: 40 kB / 0.9549 GB, free: 3.648 MB / 0.7325 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.0003932/0.2691, allocations: 164 kB / 0.9551 GB, free: 3.484 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0001126/0.2692, allocations: 35.92 kB / 0.9551 GB, free: 3.449 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 4.078e-06/0.2692, allocations: 4 kB / 0.9551 GB, free: 3.445 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 2.879e-05/0.2692, allocations: 15.94 kB / 0.9551 GB, free: 3.43 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000166/0.2694, allocations: 15.92 kB / 0.9551 GB, free: 3.414 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003576/0.2698, allocations: 152.4 kB / 0.9553 GB, free: 3.234 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000261/0.2701, allocations: 0.6884 MB / 0.9559 GB, free: 2.523 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.393e-05/0.2701, allocations: 11.44 kB / 0.9559 GB, free: 2.512 MB / 0.7325 GB Notification: Performance of SimCode: time 2.51e-07/0.2701, allocations: 0 / 0.9559 GB, free: 2.512 MB / 0.7325 GB Notification: Performance of Templates: time 0.002641/0.2728, allocations: 1.04 MB / 0.957 GB, free: 1.465 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.makefile (rm -f Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe ; mkfifo Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe >> ../files/Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.sim & ./Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches