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.001663/0.001663, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.002116/0.002116, allocations: 200.2 kB / 16.26 MB, free: 6.621 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.497/1.497, allocations: 222.9 MB / 239.9 MB, free: 4.512 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.537/2.537, allocations: 390.2 MB / 0.6643 GB, free: 0.543 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001609/0.001609, allocations: 67.88 kB / 0.812 GB, free: 14.76 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7459/0.7475, allocations: 140.4 MB / 0.9491 GB, free: 9.082 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X): time 0.002536/0.7501, allocations: 1.324 MB / 0.9504 GB, free: 8.031 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0005519/0.7507, allocations: 293.1 kB / 0.9507 GB, free: 7.805 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.847e-05/0.7507, allocations: 1.281 kB / 0.9507 GB, free: 7.805 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.458e-05/0.7508, allocations: 3.938 kB / 0.9507 GB, free: 7.801 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.798e-05/0.7508, allocations: 3.984 kB / 0.9507 GB, free: 7.797 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003166/0.7512, allocations: 49.28 kB / 0.9507 GB, free: 7.762 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.189e-05/0.7512, allocations: 17.5 kB / 0.9507 GB, free: 7.754 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.871e-05/0.7513, allocations: 5.25 kB / 0.9507 GB, free: 7.75 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 3.619e-05/0.7513, allocations: 16.05 kB / 0.9508 GB, free: 7.738 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.308e-05/0.7514, allocations: 7.328 kB / 0.9508 GB, free: 7.734 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.089e-05/0.7514, allocations: 1.688 kB / 0.9508 GB, free: 7.734 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001292/0.7515, allocations: 52.02 kB / 0.9508 GB, free: 7.711 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.261e-05/0.7515, allocations: 1.781 kB / 0.9508 GB, free: 7.711 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.689e-05/0.7516, allocations: 11.78 kB / 0.9508 GB, free: 7.703 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001376/0.7517, allocations: 48.75 kB / 0.9509 GB, free: 7.68 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.01e-06/0.7517, allocations: 5.125 kB / 0.9509 GB, free: 7.676 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.654e-06/0.7517, allocations: 0 / 0.9509 GB, free: 7.676 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.021e-06/0.7517, allocations: 4 kB / 0.9509 GB, free: 7.672 MB / 0.7169 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.0003027/0.752, allocations: 339.9 kB / 0.9512 GB, free: 7.301 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.062e-05/0.7521, allocations: 8.5 kB / 0.9512 GB, free: 7.301 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002349/0.7523, allocations: 16.92 kB / 0.9512 GB, free: 7.297 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.269e-05/0.7524, allocations: 164.4 kB / 0.9514 GB, free: 7.098 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.281e-05/0.7524, allocations: 1.656 kB / 0.9514 GB, free: 7.098 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.237e-05/0.7525, allocations: 5.562 kB / 0.9514 GB, free: 7.094 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.487e-05/0.7526, allocations: 45.41 kB / 0.9514 GB, free: 7.051 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.582e-06/0.7526, allocations: 192 / 0.9514 GB, free: 7.051 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.036e-05/0.7526, allocations: 5.094 kB / 0.9514 GB, free: 7.047 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.178e-06/0.7526, allocations: 3.938 kB / 0.9514 GB, free: 7.043 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.651e-05/0.7526, allocations: 14 kB / 0.9515 GB, free: 7.039 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001177/0.7528, allocations: 153.8 kB / 0.9516 GB, free: 6.844 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001939/0.7547, allocations: 269.2 kB / 0.9519 GB, free: 6.742 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.858e-05/0.7548, allocations: 20.91 kB / 0.9519 GB, free: 6.727 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.364e-05/0.7548, allocations: 1.5 kB / 0.9519 GB, free: 6.727 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.647e-05/0.7548, allocations: 30.56 kB / 0.9519 GB, free: 6.688 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 1.563e-06/0.7548, allocations: 1.25 kB / 0.9519 GB, free: 6.688 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4): time 0.0001796/0.755, allocations: 72.78 kB / 0.952 GB, free: 6.629 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.529e-05/0.755, allocations: 51.41 kB / 0.952 GB, free: 6.566 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.192e-05/0.7551, allocations: 91.23 kB / 0.9521 GB, free: 6.469 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 9.528e-06/0.7551, allocations: 31.08 kB / 0.9521 GB, free: 6.434 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.515e-05/0.7551, allocations: 80.14 kB / 0.9522 GB, free: 6.352 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.89e-05/0.7552, allocations: 21.05 kB / 0.9522 GB, free: 6.332 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.203e-05/0.7552, allocations: 17.84 kB / 0.9523 GB, free: 6.312 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.2e-05/0.7553, allocations: 315 kB / 0.9526 GB, free: 5.996 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.218e-05/0.7553, allocations: 9.5 kB / 0.9526 GB, free: 5.992 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.598e-05/0.7553, allocations: 8.109 kB / 0.9526 GB, free: 5.988 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.658e-05/0.7554, allocations: 31.8 kB / 0.9526 GB, free: 5.965 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.734e-06/0.7554, allocations: 5.312 kB / 0.9526 GB, free: 5.961 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.532e-05/0.7554, allocations: 56.16 kB / 0.9527 GB, free: 5.914 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.523e-05/0.7555, allocations: 7.594 kB / 0.9527 GB, free: 5.914 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.14e-06/0.7555, allocations: 5.125 kB / 0.9527 GB, free: 5.91 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.261e-05/0.7555, allocations: 0 / 0.9527 GB, free: 5.91 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.211e-05/0.7556, allocations: 5.406 kB / 0.9527 GB, free: 5.91 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.19e-06/0.7556, allocations: 4 kB / 0.9527 GB, free: 5.906 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.024e-05/0.7556, allocations: 1.188 kB / 0.9527 GB, free: 5.906 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.871e-06/0.7556, allocations: 5.094 kB / 0.9527 GB, free: 5.902 MB / 0.7169 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 5.04e-05/0.7557, allocations: 112 kB / 0.9528 GB, free: 5.785 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.183e-05/0.7557, allocations: 1.062 kB / 0.9528 GB, free: 5.785 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.036e-05/0.7557, allocations: 11.44 kB / 0.9528 GB, free: 5.77 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.923e-06/0.7557, allocations: 5.062 kB / 0.9528 GB, free: 5.766 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/0.7557, allocations: 0 / 0.9528 GB, free: 5.766 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.7557, allocations: 1.125 kB / 0.9528 GB, free: 5.766 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.841e-05/0.7558, allocations: 161.8 kB / 0.953 GB, free: 5.562 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-06/0.7558, allocations: 1.062 kB / 0.953 GB, free: 5.562 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.686e-05/0.7559, allocations: 5.656 kB / 0.953 GB, free: 5.562 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.704e-06/0.7559, allocations: 0 / 0.953 GB, free: 5.562 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.003e-05/0.7559, allocations: 9.5 kB / 0.953 GB, free: 5.555 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.7559, allocations: 0 / 0.953 GB, free: 5.555 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.7559, allocations: 0 / 0.953 GB, free: 5.555 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.449e-05/0.756, allocations: 74.19 kB / 0.9531 GB, free: 5.48 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 4.598e-05/0.756, allocations: 86.41 kB / 0.9531 GB, free: 5.379 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.365e-05/0.7561, allocations: 5.062 kB / 0.9531 GB, free: 5.375 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.443e-05/0.7561, allocations: 5.25 kB / 0.9532 GB, free: 5.371 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.133e-05/0.7562, allocations: 1.312 kB / 0.9532 GB, free: 5.371 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.092e-06/0.7562, allocations: 1.25 kB / 0.9532 GB, free: 5.371 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.231e-05/0.7562, allocations: 84.45 kB / 0.9532 GB, free: 5.289 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7562, allocations: 0 / 0.9532 GB, free: 5.289 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001892/0.7564, allocations: 6.344 kB / 0.9532 GB, free: 5.289 MB / 0.7169 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.0001039/0.7565, allocations: 99.62 kB / 0.9533 GB, free: 5.199 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001017/0.7566, allocations: 26.83 kB / 0.9534 GB, free: 5.188 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.7566, allocations: 0 / 0.9534 GB, free: 5.188 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 2.328e-05/0.7566, allocations: 20.69 kB / 0.9534 GB, free: 5.176 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002631/0.7569, allocations: 16.97 kB / 0.9534 GB, free: 5.164 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003244/0.7572, allocations: 138.3 kB / 0.9535 GB, free: 5.031 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001036/0.7574, allocations: 0.6798 MB / 0.9542 GB, free: 4.328 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 5.028e-05/0.7574, allocations: 1.25 kB / 0.9542 GB, free: 4.328 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.327e-05/0.7574, allocations: 14.16 kB / 0.9542 GB, free: 4.316 MB / 0.7169 GB Notification: Performance of SimCode: time 2.1e-07/0.7575, allocations: 0 / 0.9542 GB, free: 4.316 MB / 0.7169 GB Notification: Performance of Templates: time 0.002315/0.7598, allocations: 0.5028 MB / 0.9547 GB, free: 4.055 MB / 0.7169 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