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.006833/0.006833, allocations: 98.95 kB / 15.73 MB, free: 6.055 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.001544/0.001544, allocations: 201.8 kB / 16.68 MB, free: 5.977 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.414/1.414, allocations: 222.9 MB / 240.4 MB, free: 4.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.671/2.671, allocations: 437 MB / 0.7105 GB, free: 5.016 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001952/0.001952, allocations: 71.89 kB / 1.019 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3504/0.3523, allocations: 151.6 MB / 1.167 GB, free: 6.945 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X): time 0.002655/0.355, allocations: 1.266 MB / 1.168 GB, free: 5.664 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0006333/0.3557, allocations: 295.4 kB / 1.168 GB, free: 5.375 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.353e-05/0.3557, allocations: 0 / 1.168 GB, free: 5.375 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 1.72e-05/0.3558, allocations: 0 / 1.168 GB, free: 5.375 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 5.857e-05/0.3558, allocations: 3.938 kB / 1.168 GB, free: 5.371 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004067/0.3563, allocations: 55.73 kB / 1.168 GB, free: 5.316 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 9.511e-05/0.3564, allocations: 19.94 kB / 1.168 GB, free: 5.297 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 7.246e-05/0.3564, allocations: 3.984 kB / 1.168 GB, free: 5.293 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 6.653e-05/0.3565, allocations: 7.938 kB / 1.168 GB, free: 5.285 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 8.065e-05/0.3566, allocations: 8 kB / 1.168 GB, free: 5.277 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.572e-05/0.3566, allocations: 3.938 kB / 1.168 GB, free: 5.273 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002127/0.3568, allocations: 55.95 kB / 1.168 GB, free: 5.219 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 1.898e-05/0.3569, allocations: 3.984 kB / 1.168 GB, free: 5.215 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 3.94e-05/0.3569, allocations: 15.92 kB / 1.168 GB, free: 5.199 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001955/0.3571, allocations: 39.91 kB / 1.168 GB, free: 5.16 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 8.556e-06/0.3571, allocations: 4 kB / 1.168 GB, free: 5.156 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.404e-06/0.3571, allocations: 0 / 1.168 GB, free: 5.156 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.266e-05/0.3572, allocations: 0 / 1.168 GB, free: 5.156 MB / 0.92 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.0005915/0.3578, allocations: 335.3 kB / 1.169 GB, free: 4.777 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 6.257e-05/0.3578, allocations: 8.031 kB / 1.169 GB, free: 4.77 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003094/0.3581, allocations: 24.91 kB / 1.169 GB, free: 4.746 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001633/0.3583, allocations: 172.3 kB / 1.169 GB, free: 4.539 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.902e-05/0.3583, allocations: 4.375 kB / 1.169 GB, free: 4.535 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.283e-05/0.3584, allocations: 384 / 1.169 GB, free: 4.535 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001617/0.3585, allocations: 46.23 kB / 1.169 GB, free: 4.484 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.638e-06/0.3585, allocations: 192 / 1.169 GB, free: 4.484 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.675e-05/0.3586, allocations: 3.938 kB / 1.169 GB, free: 4.48 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.131e-06/0.3586, allocations: 0 / 1.169 GB, free: 4.48 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.751e-05/0.3587, allocations: 19.92 kB / 1.169 GB, free: 4.461 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002234/0.3589, allocations: 157.7 kB / 1.169 GB, free: 4.258 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001751/0.3606, allocations: 266.4 kB / 1.169 GB, free: 3.988 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.285e-05/0.3607, allocations: 20.86 kB / 1.169 GB, free: 3.965 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.667e-05/0.3608, allocations: 4 kB / 1.169 GB, free: 3.961 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.176e-05/0.3608, allocations: 34.56 kB / 1.169 GB, free: 3.918 MB / 0.92 GB Notification: Performance of pre-optimization done (n=4): time 1.143e-06/0.3608, allocations: 0 / 1.169 GB, free: 3.918 MB / 0.92 GB Notification: Performance of matching and sorting (n=4): time 0.0002157/0.361, allocations: 73.5 kB / 1.169 GB, free: 3.84 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.729e-05/0.3611, allocations: 55.41 kB / 1.169 GB, free: 3.773 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.475e-05/0.3612, allocations: 89.86 kB / 1.17 GB, free: 3.676 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.827e-05/0.3612, allocations: 25.7 kB / 1.17 GB, free: 3.645 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 4.677e-05/0.3612, allocations: 80.27 kB / 1.17 GB, free: 3.562 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 3.774e-05/0.3613, allocations: 15.94 kB / 1.17 GB, free: 3.547 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.714e-05/0.3613, allocations: 21.67 kB / 1.17 GB, free: 3.52 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001571/0.3615, allocations: 314.8 kB / 1.17 GB, free: 3.203 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.585e-05/0.3615, allocations: 8 kB / 1.17 GB, free: 3.195 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.829e-05/0.3615, allocations: 8 kB / 1.17 GB, free: 3.188 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.688e-05/0.3616, allocations: 24.86 kB / 1.17 GB, free: 3.16 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.3616, allocations: 3.938 kB / 1.17 GB, free: 3.156 MB / 0.92 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001127/0.3617, allocations: 57.69 kB / 1.17 GB, free: 3.094 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.292e-05/0.3618, allocations: 10.03 kB / 1.17 GB, free: 3.086 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.486e-06/0.3618, allocations: 3.938 kB / 1.17 GB, free: 3.082 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.884e-05/0.3618, allocations: 0 / 1.17 GB, free: 3.082 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.053e-05/0.3619, allocations: 11.98 kB / 1.17 GB, free: 3.07 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.484e-06/0.3619, allocations: 3.938 kB / 1.17 GB, free: 3.066 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.909e-05/0.3619, allocations: 0 / 1.17 GB, free: 3.066 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.318e-06/0.3619, allocations: 0 / 1.17 GB, free: 3.066 MB / 0.92 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.402e-05/0.362, allocations: 113.8 kB / 1.17 GB, free: 2.945 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.169e-05/0.362, allocations: 0 / 1.17 GB, free: 2.945 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.935e-05/0.3621, allocations: 15.44 kB / 1.17 GB, free: 2.926 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.732e-06/0.3621, allocations: 4.328 kB / 1.17 GB, free: 2.922 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.991e-06/0.3621, allocations: 0 / 1.17 GB, free: 2.922 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.3621, allocations: 0 / 1.17 GB, free: 2.922 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001446/0.3623, allocations: 153.7 kB / 1.17 GB, free: 2.723 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.45e-06/0.3623, allocations: 3.984 kB / 1.17 GB, free: 2.719 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.468e-05/0.3623, allocations: 15.86 kB / 1.17 GB, free: 2.703 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.479e-06/0.3623, allocations: 4 kB / 1.17 GB, free: 2.699 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.215e-05/0.3624, allocations: 3.938 kB / 1.17 GB, free: 2.695 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.3624, allocations: 0 / 1.17 GB, free: 2.695 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.62e-07/0.3624, allocations: 0 / 1.17 GB, free: 2.695 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001336/0.3625, allocations: 81.12 kB / 1.171 GB, free: 2.598 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 9e-05/0.3626, allocations: 85 kB / 1.171 GB, free: 2.496 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.664e-05/0.3626, allocations: 7.938 kB / 1.171 GB, free: 2.488 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.372e-05/0.3627, allocations: 3.984 kB / 1.171 GB, free: 2.484 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.516e-05/0.3627, allocations: 0 / 1.171 GB, free: 2.484 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.857e-06/0.3627, allocations: 4 kB / 1.171 GB, free: 2.48 MB / 0.92 GB Notification: Performance of sorting global known variables: time 5.462e-05/0.3628, allocations: 75.28 kB / 1.171 GB, free: 2.406 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3628, allocations: 4.094 kB / 1.171 GB, free: 2.402 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002039/0.363, allocations: 4 kB / 1.171 GB, free: 2.398 MB / 0.92 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.0001402/0.3632, allocations: 107.2 kB / 1.171 GB, free: 2.281 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0001176/0.3633, allocations: 19.98 kB / 1.171 GB, free: 2.262 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.185e-06/0.3633, allocations: 4 kB / 1.171 GB, free: 2.258 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 2.541e-05/0.3633, allocations: 12 kB / 1.171 GB, free: 2.246 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002936/0.3636, allocations: 11.98 kB / 1.171 GB, free: 2.234 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003714/0.364, allocations: 126.5 kB / 1.171 GB, free: 2.086 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002934/0.3643, allocations: 0.6729 MB / 1.172 GB, free: 1.387 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 4.912e-05/0.3644, allocations: 7.984 kB / 1.172 GB, free: 1.379 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.231e-05/0.3644, allocations: 15.38 kB / 1.172 GB, free: 1.363 MB / 0.92 GB Notification: Performance of SimCode: time 3.61e-07/0.3644, allocations: 0 / 1.172 GB, free: 1.363 MB / 0.92 GB Notification: Performance of Templates: time 0.002662/0.3671, allocations: 0.5175 MB / 1.172 GB, free: 0.8555 MB / 0.92 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