Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.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_X,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|X|XInv|p_w|dX",fileNamePrefix="Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X") translateModel(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|X|XInv|p_w|dX",fileNamePrefix="Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00782/0.00782, allocations: 100.1 kB / 15.73 MB, free: 6.449 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.001495/0.001495, allocations: 201.6 kB / 16.68 MB, free: 6.352 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.494/1.494, allocations: 222.9 MB / 240.4 MB, free: 4.301 MB / 190.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.709/2.709, allocations: 390.2 MB / 0.6648 GB, free: 204 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001179/0.001179, allocations: 67.8 kB / 0.9508 GB, free: 5.594 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.31/0.3112, allocations: 140.4 MB / 1.088 GB, free: 1.488 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X): time 0.002389/0.3136, allocations: 1.256 MB / 1.089 GB, free: 232 kB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0006007/0.3142, allocations: 295.5 kB / 1.089 GB, free: 15.94 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.5e-05/0.3143, allocations: 0 / 1.089 GB, free: 15.94 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 1.713e-05/0.3143, allocations: 3.938 kB / 1.089 GB, free: 15.93 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 5.097e-05/0.3144, allocations: 3.938 kB / 1.089 GB, free: 15.93 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002916/0.3147, allocations: 59.73 kB / 1.089 GB, free: 15.87 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 6.001e-05/0.3147, allocations: 11.94 kB / 1.09 GB, free: 15.86 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4.099e-05/0.3148, allocations: 3.984 kB / 1.09 GB, free: 15.86 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 3.98e-05/0.3148, allocations: 11.94 kB / 1.09 GB, free: 15.84 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 4.97e-05/0.3149, allocations: 11.94 kB / 1.09 GB, free: 15.83 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 9.578e-06/0.3149, allocations: 0 / 1.09 GB, free: 15.83 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001301/0.315, allocations: 59.94 kB / 1.09 GB, free: 15.77 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.055e-05/0.315, allocations: 0 / 1.09 GB, free: 15.77 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.039e-05/0.3151, allocations: 7.984 kB / 1.09 GB, free: 15.77 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.000144/0.3152, allocations: 51.84 kB / 1.09 GB, free: 15.71 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.532e-06/0.3152, allocations: 0 / 1.09 GB, free: 15.71 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.633e-06/0.3153, allocations: 0 / 1.09 GB, free: 15.71 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.855e-06/0.3153, allocations: 3.938 kB / 1.09 GB, free: 15.71 MB / 0.8575 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.0004067/0.3157, allocations: 335.5 kB / 1.09 GB, free: 15.33 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.512e-05/0.3157, allocations: 12.03 kB / 1.09 GB, free: 15.32 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002319/0.316, allocations: 20.91 kB / 1.09 GB, free: 15.3 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001171/0.3161, allocations: 160.4 kB / 1.09 GB, free: 15.11 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.661e-05/0.3161, allocations: 4.375 kB / 1.09 GB, free: 15.1 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.418e-05/0.3161, allocations: 384 / 1.09 GB, free: 15.1 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001557/0.3163, allocations: 46.25 kB / 1.09 GB, free: 15.05 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.438e-06/0.3163, allocations: 192 / 1.09 GB, free: 15.05 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.523e-05/0.3163, allocations: 3.938 kB / 1.09 GB, free: 15.05 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.222e-06/0.3163, allocations: 4 kB / 1.09 GB, free: 15.04 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.931e-05/0.3164, allocations: 23.92 kB / 1.09 GB, free: 15.02 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002108/0.3166, allocations: 157.7 kB / 1.09 GB, free: 14.82 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00187/0.3185, allocations: 262.5 kB / 1.091 GB, free: 14.55 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.954e-05/0.3186, allocations: 20.86 kB / 1.091 GB, free: 14.53 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.943e-05/0.3186, allocations: 0 / 1.091 GB, free: 14.53 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.2e-05/0.3186, allocations: 38.5 kB / 1.091 GB, free: 14.48 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=4): time 1.092e-06/0.3186, allocations: 0 / 1.091 GB, free: 14.48 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4): time 0.000198/0.3188, allocations: 77.45 kB / 1.091 GB, free: 14.4 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.105e-05/0.3189, allocations: 51.41 kB / 1.091 GB, free: 14.34 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.399e-05/0.319, allocations: 93.86 kB / 1.091 GB, free: 14.23 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.935e-05/0.319, allocations: 25.7 kB / 1.091 GB, free: 14.2 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.545e-05/0.319, allocations: 84.12 kB / 1.091 GB, free: 14.12 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.233e-05/0.3191, allocations: 11.91 kB / 1.091 GB, free: 14.11 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.846e-05/0.3191, allocations: 13.72 kB / 1.091 GB, free: 14.09 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001443/0.3193, allocations: 318.8 kB / 1.091 GB, free: 13.77 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.24e-05/0.3193, allocations: 4 kB / 1.091 GB, free: 13.76 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.896e-05/0.3193, allocations: 8.188 kB / 1.091 GB, free: 13.75 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.869e-05/0.3194, allocations: 40.98 kB / 1.091 GB, free: 13.71 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.3194, allocations: 0 / 1.091 GB, free: 13.71 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.571e-05/0.3195, allocations: 53.61 kB / 1.091 GB, free: 13.65 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.522e-05/0.3195, allocations: 4 kB / 1.091 GB, free: 13.65 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.009e-05/0.3195, allocations: 3.938 kB / 1.091 GB, free: 13.64 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.444e-05/0.3196, allocations: 7.984 kB / 1.091 GB, free: 13.64 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.292e-05/0.3196, allocations: 4 kB / 1.091 GB, free: 13.63 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.869e-05/0.3197, allocations: 0 / 1.091 GB, free: 13.63 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.1e-05/0.3197, allocations: 0 / 1.091 GB, free: 13.63 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.044e-05/0.3197, allocations: 4 kB / 1.091 GB, free: 13.63 MB / 0.8575 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.0001079/0.3198, allocations: 119.8 kB / 1.092 GB, free: 13.5 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.956e-06/0.3198, allocations: 0 / 1.092 GB, free: 13.5 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.581e-05/0.3199, allocations: 11.44 kB / 1.092 GB, free: 13.49 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.908e-06/0.3199, allocations: 4 kB / 1.092 GB, free: 13.48 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.223e-06/0.3199, allocations: 3.938 kB / 1.092 GB, free: 13.48 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.879e-06/0.3199, allocations: 7.922 kB / 1.092 GB, free: 13.47 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001509/0.3201, allocations: 149.7 kB / 1.092 GB, free: 13.28 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.3201, allocations: 0 / 1.092 GB, free: 13.28 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.728e-05/0.3201, allocations: 7.984 kB / 1.092 GB, free: 13.27 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.3201, allocations: 8 kB / 1.092 GB, free: 13.26 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.117e-05/0.3202, allocations: 3.938 kB / 1.092 GB, free: 13.26 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.409e-06/0.3202, allocations: 0 / 1.092 GB, free: 13.26 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.3202, allocations: 3.938 kB / 1.092 GB, free: 13.25 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001114/0.3203, allocations: 77.12 kB / 1.092 GB, free: 13.16 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001081/0.3204, allocations: 81.11 kB / 1.092 GB, free: 13.06 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.624e-05/0.3204, allocations: 7.922 kB / 1.092 GB, free: 13.05 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.794e-05/0.3205, allocations: 4 kB / 1.092 GB, free: 13.05 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.604e-05/0.3205, allocations: 4 kB / 1.092 GB, free: 13.05 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.003e-06/0.3205, allocations: 4 kB / 1.092 GB, free: 13.04 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.113e-05/0.3206, allocations: 75.28 kB / 1.092 GB, free: 12.97 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3206, allocations: 3.938 kB / 1.092 GB, free: 12.96 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0001942/0.3208, allocations: 12 kB / 1.092 GB, free: 12.95 MB / 0.8575 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 (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 Backend phase and start with SimCode phase: time 0.0001413/0.3209, allocations: 97.5 kB / 1.092 GB, free: 12.85 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001195/0.321, allocations: 23.98 kB / 1.092 GB, free: 12.82 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.3211, allocations: 8.094 kB / 1.092 GB, free: 12.82 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 2.294e-05/0.3211, allocations: 11.98 kB / 1.092 GB, free: 12.8 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002958/0.3214, allocations: 11.98 kB / 1.092 GB, free: 12.79 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000331/0.3217, allocations: 126.6 kB / 1.092 GB, free: 12.64 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002458/0.322, allocations: 0.6729 MB / 1.093 GB, free: 11.95 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 4.835e-05/0.322, allocations: 11.98 kB / 1.093 GB, free: 11.93 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.605e-05/0.3221, allocations: 7.438 kB / 1.093 GB, free: 11.93 MB / 0.8575 GB Notification: Performance of SimCode: time 2.01e-07/0.3221, allocations: 0 / 1.093 GB, free: 11.93 MB / 0.8575 GB Notification: Performance of Templates: time 0.002609/0.3247, allocations: 0.5141 MB / 1.093 GB, free: 11.42 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.makefile (rm -f Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; mkfifo Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe >> ../files/Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.sim & ./Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Psychrometrics_Functions_Examples_pW_X.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches