Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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_X,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|X|XInv|p_w|dX",fileNamePrefix="Buildings_10_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_10_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.0008578/0.0008578, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.006226/0.006226, allocations: 169.3 kB / 16.26 MB, free: 6.676 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: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.647/2.647, allocations: 437.8 MB / 0.7121 GB, free: 6.902 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003438/0.0003436, allocations: 12 kB / 0.8728 GB, free: 3.25 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7708/0.7712, allocations: 153.8 MB / 1.023 GB, free: 15.83 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X): time 0.001368/0.7726, allocations: 0.9915 MB / 1.024 GB, free: 14.83 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0006132/0.7732, allocations: 295.1 kB / 1.024 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.551e-05/0.7733, allocations: 0 / 1.024 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.643e-05/0.7733, allocations: 4 kB / 1.024 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 4.954e-05/0.7734, allocations: 3.938 kB / 1.024 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002724/0.7736, allocations: 39.81 kB / 1.024 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 5.975e-05/0.7737, allocations: 23.86 kB / 1.024 GB, free: 14.47 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 4.932e-05/0.7738, allocations: 0 / 1.024 GB, free: 14.47 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 3.746e-05/0.7738, allocations: 4 kB / 1.024 GB, free: 14.47 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 5.636e-05/0.7739, allocations: 8 kB / 1.024 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.273e-05/0.7739, allocations: 0 / 1.024 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001372/0.774, allocations: 63.94 kB / 1.024 GB, free: 14.4 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.918e-05/0.7741, allocations: 7.938 kB / 1.024 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 3.686e-05/0.7741, allocations: 25.7 kB / 1.024 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001257/0.7742, allocations: 45.86 kB / 1.024 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/0.7742, allocations: 4 kB / 1.024 GB, free: 14.31 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.653e-06/0.7743, allocations: 0 / 1.024 GB, free: 14.31 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.729e-06/0.7743, allocations: 0 / 1.024 GB, free: 14.31 MB / 0.7794 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.000418/0.7747, allocations: 335.5 kB / 1.025 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.365e-05/0.7747, allocations: 8.031 kB / 1.025 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002309/0.775, allocations: 24.91 kB / 1.025 GB, free: 13.9 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001133/0.7751, allocations: 164.3 kB / 1.025 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.597e-05/0.7751, allocations: 4.375 kB / 1.025 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.014e-05/0.7751, allocations: 384 / 1.025 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001282/0.7753, allocations: 46.25 kB / 1.025 GB, free: 13.65 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.263e-06/0.7753, allocations: 192 / 1.025 GB, free: 13.65 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.607e-05/0.7753, allocations: 3.938 kB / 1.025 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.43e-06/0.7753, allocations: 0 / 1.025 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.959e-05/0.7754, allocations: 15.98 kB / 1.025 GB, free: 13.63 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001726/0.7756, allocations: 157.7 kB / 1.025 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001801/0.7774, allocations: 282.3 kB / 1.025 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.393e-05/0.7774, allocations: 16.86 kB / 1.026 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.092e-05/0.7774, allocations: 0 / 1.026 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.281e-05/0.7775, allocations: 38.55 kB / 1.026 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=4): time 2.635e-06/0.7775, allocations: 3.984 kB / 1.026 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4): time 0.0001735/0.7777, allocations: 65.62 kB / 1.026 GB, free: 13 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.928e-05/0.7777, allocations: 51.41 kB / 1.026 GB, free: 12.94 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.132e-05/0.7778, allocations: 97.8 kB / 1.026 GB, free: 12.83 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.733e-05/0.7778, allocations: 33.64 kB / 1.026 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.755e-05/0.7778, allocations: 80.14 kB / 1.026 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.1e-05/0.7779, allocations: 15.75 kB / 1.026 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.364e-05/0.7779, allocations: 9.719 kB / 1.026 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001199/0.778, allocations: 318.8 kB / 1.026 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.026e-05/0.7781, allocations: 8 kB / 1.026 GB, free: 12.35 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.744e-05/0.7781, allocations: 8 kB / 1.026 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.254e-05/0.7781, allocations: 32.97 kB / 1.026 GB, free: 12.31 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.7781, allocations: 0 / 1.026 GB, free: 12.31 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.886e-05/0.7782, allocations: 45.7 kB / 1.026 GB, free: 12.26 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.956e-05/0.7783, allocations: 8 kB / 1.026 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.12e-05/0.7783, allocations: 11.86 kB / 1.026 GB, free: 12.24 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.766e-05/0.7783, allocations: 0 / 1.026 GB, free: 12.24 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.502e-05/0.7784, allocations: 4 kB / 1.026 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.059e-06/0.7784, allocations: 0 / 1.026 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.026e-05/0.7784, allocations: 4 kB / 1.026 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.188e-06/0.7784, allocations: 0 / 1.026 GB, free: 12.23 MB / 0.7794 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 9.894e-05/0.7785, allocations: 113.8 kB / 1.026 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.308e-05/0.7785, allocations: 7.906 kB / 1.026 GB, free: 12.1 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.641e-05/0.7786, allocations: 11.44 kB / 1.026 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.7786, allocations: 0 / 1.026 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.7786, allocations: 0 / 1.026 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.498e-06/0.7786, allocations: 3.984 kB / 1.026 GB, free: 12.08 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001187/0.7787, allocations: 153.7 kB / 1.027 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.7787, allocations: 0 / 1.027 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.388e-05/0.7788, allocations: 11.98 kB / 1.027 GB, free: 11.87 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.7788, allocations: 0 / 1.027 GB, free: 11.87 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.577e-06/0.7788, allocations: 7.938 kB / 1.027 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.7788, allocations: 0 / 1.027 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.7788, allocations: 4 kB / 1.027 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000115/0.779, allocations: 85.06 kB / 1.027 GB, free: 11.76 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 6.103e-05/0.779, allocations: 77.11 kB / 1.027 GB, free: 11.66 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.567e-05/0.779, allocations: 7.922 kB / 1.027 GB, free: 11.66 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.106e-05/0.7791, allocations: 0 / 1.027 GB, free: 11.66 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.517e-05/0.7791, allocations: 11.88 kB / 1.027 GB, free: 11.64 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.649e-06/0.7791, allocations: 4 kB / 1.027 GB, free: 11.64 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.089e-05/0.7792, allocations: 75.28 kB / 1.027 GB, free: 11.57 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1e-07/0.7792, allocations: 0 / 1.027 GB, free: 11.57 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001795/0.7794, allocations: 12 kB / 1.027 GB, free: 11.55 MB / 0.7794 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.0001117/0.7795, allocations: 99.23 kB / 1.027 GB, free: 11.45 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 9.46e-05/0.7796, allocations: 28.3 kB / 1.027 GB, free: 11.42 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.858e-06/0.7796, allocations: 4 kB / 1.027 GB, free: 11.42 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.936e-05/0.7796, allocations: 12.09 kB / 1.027 GB, free: 11.41 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002364/0.7799, allocations: 13.7 kB / 1.027 GB, free: 11.39 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003171/0.7802, allocations: 140.7 kB / 1.027 GB, free: 11.23 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000248/0.7804, allocations: 0.677 MB / 1.028 GB, free: 10.53 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 5.02e-05/0.7805, allocations: 7.984 kB / 1.028 GB, free: 10.52 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.548e-05/0.7805, allocations: 11.44 kB / 1.028 GB, free: 10.51 MB / 0.7794 GB Notification: Performance of SimCode: time 2.2e-07/0.7805, allocations: 0 / 1.028 GB, free: 10.51 MB / 0.7794 GB Notification: Performance of Templates: time 0.002433/0.783, allocations: 495.5 kB / 1.028 GB, free: 10.03 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.makefile (rm -f Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; mkfifo Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe >> ../files/Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.sim & ./Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Psychrometrics_Functions_Examples_pW_X.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches