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.006278/0.006278, allocations: 101.7 kB / 15.73 MB, free: 6.484 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.001142/0.001142, allocations: 190.1 kB / 16.67 MB, free: 6.379 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.39/1.39, allocations: 222.9 MB / 240.4 MB, free: 4.293 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.484/2.484, allocations: 390.2 MB / 0.6648 GB, free: 224 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001259/0.001259, allocations: 62.81 kB / 0.9508 GB, free: 5.578 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3244/0.3256, allocations: 140.4 MB / 1.088 GB, free: 1.449 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X): time 0.003262/0.3289, allocations: 1.26 MB / 1.089 GB, free: 184 kB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0007202/0.3297, allocations: 295.4 kB / 1.089 GB, free: 15.89 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.771e-05/0.3297, allocations: 0 / 1.089 GB, free: 15.89 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.123e-05/0.3298, allocations: 0 / 1.089 GB, free: 15.89 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 5.682e-05/0.3299, allocations: 7.938 kB / 1.089 GB, free: 15.88 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003772/0.3302, allocations: 55.73 kB / 1.089 GB, free: 15.83 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 7.812e-05/0.3303, allocations: 15.94 kB / 1.09 GB, free: 15.81 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 5.006e-05/0.3304, allocations: 7.922 kB / 1.09 GB, free: 15.8 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 6.203e-05/0.3305, allocations: 4 kB / 1.09 GB, free: 15.8 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 6.329e-05/0.3305, allocations: 7.938 kB / 1.09 GB, free: 15.79 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.565e-05/0.3305, allocations: 0 / 1.09 GB, free: 15.79 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001447/0.3307, allocations: 51.95 kB / 1.09 GB, free: 15.74 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.113e-05/0.3307, allocations: 19.97 kB / 1.09 GB, free: 15.72 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.673e-05/0.3308, allocations: 4 kB / 1.09 GB, free: 15.72 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001604/0.3309, allocations: 47.84 kB / 1.09 GB, free: 15.67 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 7.263e-06/0.3309, allocations: 0 / 1.09 GB, free: 15.67 MB / 0.8575 GB Notification: Performance of FrontEnd: time 3.056e-06/0.3309, allocations: 0 / 1.09 GB, free: 15.67 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 8.366e-06/0.331, allocations: 0 / 1.09 GB, free: 15.67 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.0005119/0.3315, allocations: 335.5 kB / 1.09 GB, free: 15.29 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.354e-05/0.3315, allocations: 8.031 kB / 1.09 GB, free: 15.29 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002488/0.3318, allocations: 20.91 kB / 1.09 GB, free: 15.27 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001656/0.332, allocations: 172.3 kB / 1.09 GB, free: 15.06 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.864e-05/0.332, allocations: 4.375 kB / 1.09 GB, free: 15.05 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.492e-05/0.332, allocations: 4.375 kB / 1.09 GB, free: 15.05 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001464/0.3322, allocations: 46.23 kB / 1.09 GB, free: 15 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.098e-05/0.3322, allocations: 192 / 1.09 GB, free: 15 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.637e-05/0.3322, allocations: 3.938 kB / 1.09 GB, free: 15 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.394e-06/0.3322, allocations: 0 / 1.09 GB, free: 15 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.812e-05/0.3323, allocations: 15.98 kB / 1.09 GB, free: 14.98 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002709/0.3325, allocations: 157.7 kB / 1.09 GB, free: 14.78 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001976/0.3345, allocations: 274.3 kB / 1.091 GB, free: 14.5 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.01e-05/0.3346, allocations: 16.86 kB / 1.091 GB, free: 14.48 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 9.387e-06/0.3346, allocations: 4 kB / 1.091 GB, free: 14.48 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.119e-05/0.3346, allocations: 38.56 kB / 1.091 GB, free: 14.43 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=4): time 1.002e-06/0.3347, allocations: 0 / 1.091 GB, free: 14.43 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4): time 0.0002149/0.3349, allocations: 69.45 kB / 1.091 GB, free: 14.36 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.093e-05/0.3349, allocations: 55.41 kB / 1.091 GB, free: 14.29 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.741e-05/0.335, allocations: 93.86 kB / 1.091 GB, free: 14.19 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.717e-05/0.335, allocations: 25.7 kB / 1.091 GB, free: 14.16 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.099e-05/0.3351, allocations: 84.27 kB / 1.091 GB, free: 14.07 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.336e-05/0.3351, allocations: 7.906 kB / 1.091 GB, free: 14.06 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.526e-05/0.3352, allocations: 17.72 kB / 1.091 GB, free: 14.04 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001375/0.3353, allocations: 314.8 kB / 1.091 GB, free: 13.72 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.269e-05/0.3353, allocations: 8 kB / 1.091 GB, free: 13.71 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.574e-05/0.3353, allocations: 4 kB / 1.091 GB, free: 13.71 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.241e-05/0.3354, allocations: 28.86 kB / 1.091 GB, free: 13.68 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.3354, allocations: 0 / 1.091 GB, free: 13.68 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.966e-05/0.3355, allocations: 65.53 kB / 1.091 GB, free: 13.61 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.521e-05/0.3355, allocations: 4 kB / 1.091 GB, free: 13.61 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.3356, allocations: 7.875 kB / 1.091 GB, free: 13.6 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.489e-05/0.3356, allocations: 0 / 1.091 GB, free: 13.6 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.49e-05/0.3356, allocations: 11.98 kB / 1.091 GB, free: 13.59 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.531e-06/0.3357, allocations: 0 / 1.091 GB, free: 13.59 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.078e-05/0.3357, allocations: 0 / 1.091 GB, free: 13.59 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.292e-06/0.3357, allocations: 4 kB / 1.091 GB, free: 13.58 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 8.956e-05/0.3358, allocations: 113.8 kB / 1.092 GB, free: 13.46 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.097e-05/0.3358, allocations: 4 kB / 1.092 GB, free: 13.46 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.705e-05/0.3359, allocations: 11.44 kB / 1.092 GB, free: 13.44 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.364e-06/0.3359, allocations: 0 / 1.092 GB, free: 13.44 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.3359, allocations: 0 / 1.092 GB, free: 13.44 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/0.3359, allocations: 4.328 kB / 1.092 GB, free: 13.44 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001262/0.336, allocations: 157.7 kB / 1.092 GB, free: 13.23 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.336, allocations: 0 / 1.092 GB, free: 13.23 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.028e-05/0.3361, allocations: 7.984 kB / 1.092 GB, free: 13.23 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.009e-06/0.3361, allocations: 7.922 kB / 1.092 GB, free: 13.22 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.237e-05/0.3361, allocations: 7.938 kB / 1.092 GB, free: 13.21 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.3361, allocations: 0 / 1.092 GB, free: 13.21 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.3361, allocations: 4 kB / 1.092 GB, free: 13.21 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001104/0.3363, allocations: 77.06 kB / 1.092 GB, free: 13.11 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 7.34e-05/0.3363, allocations: 77.11 kB / 1.092 GB, free: 13.02 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.636e-05/0.3364, allocations: 7.938 kB / 1.092 GB, free: 13.01 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.067e-05/0.3364, allocations: 7.984 kB / 1.092 GB, free: 13 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.783e-05/0.3365, allocations: 0 / 1.092 GB, free: 13 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.548e-06/0.3365, allocations: 0 / 1.092 GB, free: 13 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 5.113e-05/0.3365, allocations: 83.28 kB / 1.092 GB, free: 12.92 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3365, allocations: 0 / 1.092 GB, free: 12.92 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.000184/0.3367, allocations: 4 kB / 1.092 GB, free: 12.92 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.0001514/0.3369, allocations: 99.78 kB / 1.092 GB, free: 12.81 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001186/0.337, allocations: 27.92 kB / 1.092 GB, free: 12.78 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.337, allocations: 0 / 1.092 GB, free: 12.78 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 2.583e-05/0.337, allocations: 12 kB / 1.092 GB, free: 12.77 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002729/0.3373, allocations: 17.97 kB / 1.092 GB, free: 12.75 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003986/0.3377, allocations: 122.6 kB / 1.092 GB, free: 12.61 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003482/0.3381, allocations: 0.6729 MB / 1.093 GB, free: 11.91 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 5.367e-05/0.3381, allocations: 7.984 kB / 1.093 GB, free: 11.9 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.22e-05/0.3382, allocations: 15.38 kB / 1.093 GB, free: 11.89 MB / 0.8575 GB Notification: Performance of SimCode: time 6.41e-07/0.3382, allocations: 0 / 1.093 GB, free: 11.89 MB / 0.8575 GB Notification: Performance of Templates: time 0.002894/0.3411, allocations: 0.5286 MB / 1.093 GB, free: 11.37 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