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.001345/0.001345, allocations: 102 kB / 16.4 MB, free: 6.406 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.001394/0.001395, allocations: 192.2 kB / 17.35 MB, free: 5.695 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.343/1.343, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.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.195/2.195, allocations: 390.3 MB / 0.6655 GB, free: 0.6602 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00146/0.00146, allocations: 67.89 kB / 0.9515 GB, free: 7.668 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.051/1.052, allocations: 140.4 MB / 1.089 GB, free: 5.527 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X): time 0.002483/1.055, allocations: 1.253 MB / 1.09 GB, free: 4.652 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0006189/1.055, allocations: 296.2 kB / 1.09 GB, free: 4.457 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.002e-05/1.055, allocations: 0 / 1.09 GB, free: 4.457 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.304e-05/1.055, allocations: 0.7031 kB / 1.09 GB, free: 4.457 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 4.681e-05/1.055, allocations: 9.812 kB / 1.09 GB, free: 4.449 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003428/1.056, allocations: 46.77 kB / 1.09 GB, free: 4.426 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 7.701e-05/1.056, allocations: 22.73 kB / 1.09 GB, free: 4.414 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4.806e-05/1.056, allocations: 6.953 kB / 1.09 GB, free: 4.41 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 4.781e-05/1.056, allocations: 12.58 kB / 1.09 GB, free: 4.402 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 6.111e-05/1.056, allocations: 8.453 kB / 1.09 GB, free: 4.398 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.237e-05/1.056, allocations: 1.281 kB / 1.09 GB, free: 4.398 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001573/1.056, allocations: 54.28 kB / 1.09 GB, free: 4.387 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.306e-05/1.056, allocations: 1.797 kB / 1.09 GB, free: 4.387 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.42e-05/1.056, allocations: 12.27 kB / 1.09 GB, free: 4.379 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001601/1.056, allocations: 48.64 kB / 1.09 GB, free: 4.367 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.59e-06/1.056, allocations: 0 / 1.09 GB, free: 4.367 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.064e-06/1.056, allocations: 1.094 kB / 1.09 GB, free: 4.367 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.131e-06/1.056, allocations: 4 kB / 1.09 GB, free: 4.363 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.0003879/1.057, allocations: 339.4 kB / 1.091 GB, free: 4 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.562e-05/1.057, allocations: 10.16 kB / 1.091 GB, free: 4 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002354/1.057, allocations: 17.5 kB / 1.091 GB, free: 4 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.595e-05/1.057, allocations: 162.2 kB / 1.091 GB, free: 3.805 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.24e-05/1.057, allocations: 2.203 kB / 1.091 GB, free: 3.805 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.408e-06/1.057, allocations: 1.625 kB / 1.091 GB, free: 3.805 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001277/1.057, allocations: 53.27 kB / 1.091 GB, free: 3.758 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.506e-06/1.057, allocations: 192 / 1.091 GB, free: 3.758 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.317e-05/1.057, allocations: 4.906 kB / 1.091 GB, free: 3.754 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.962e-06/1.057, allocations: 1 kB / 1.091 GB, free: 3.754 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.936e-05/1.057, allocations: 15.41 kB / 1.091 GB, free: 3.75 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001594/1.058, allocations: 153.2 kB / 1.091 GB, free: 3.559 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001907/1.06, allocations: 277.4 kB / 1.091 GB, free: 3.508 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.546e-05/1.06, allocations: 18.69 kB / 1.091 GB, free: 3.496 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.483e-05/1.06, allocations: 2.016 kB / 1.091 GB, free: 3.496 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.074e-05/1.06, allocations: 31.78 kB / 1.091 GB, free: 3.457 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=4): time 9.72e-07/1.06, allocations: 4 kB / 1.091 GB, free: 3.453 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4): time 0.0002007/1.06, allocations: 73.45 kB / 1.091 GB, free: 3.398 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.44e-05/1.06, allocations: 51.92 kB / 1.092 GB, free: 3.336 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.498e-05/1.06, allocations: 93.56 kB / 1.092 GB, free: 3.238 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.017e-05/1.06, allocations: 25.7 kB / 1.092 GB, free: 3.207 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 2.055e-05/1.06, allocations: 84.14 kB / 1.092 GB, free: 3.121 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.294e-05/1.06, allocations: 10.88 kB / 1.092 GB, free: 3.113 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.116e-05/1.06, allocations: 17.3 kB / 1.092 GB, free: 3.094 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.285e-05/1.06, allocations: 317.5 kB / 1.092 GB, free: 2.777 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.354e-05/1.06, allocations: 13.8 kB / 1.092 GB, free: 2.77 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.855e-05/1.06, allocations: 6.75 kB / 1.092 GB, free: 2.77 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.657e-05/1.06, allocations: 24.52 kB / 1.092 GB, free: 2.754 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/1.06, allocations: 0 / 1.092 GB, free: 2.754 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.881e-05/1.06, allocations: 60.3 kB / 1.092 GB, free: 2.707 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.761e-05/1.06, allocations: 6 kB / 1.092 GB, free: 2.707 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.671e-06/1.06, allocations: 3.938 kB / 1.092 GB, free: 2.703 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.532e-05/1.06, allocations: 4.5 kB / 1.092 GB, free: 2.699 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.198e-05/1.06, allocations: 10.91 kB / 1.092 GB, free: 2.695 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.645e-06/1.06, allocations: 0.6094 kB / 1.092 GB, free: 2.695 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.015e-05/1.061, allocations: 5.219 kB / 1.092 GB, free: 2.691 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.811e-06/1.061, allocations: 1.438 kB / 1.092 GB, free: 2.691 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 5.825e-05/1.061, allocations: 107.8 kB / 1.092 GB, free: 2.578 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.099e-05/1.061, allocations: 1.828 kB / 1.092 GB, free: 2.578 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.427e-05/1.061, allocations: 12.14 kB / 1.092 GB, free: 2.562 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/1.061, allocations: 5.094 kB / 1.092 GB, free: 2.559 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.461e-06/1.061, allocations: 0.8125 kB / 1.092 GB, free: 2.559 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/1.061, allocations: 4.703 kB / 1.092 GB, free: 2.555 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.864e-05/1.061, allocations: 158.7 kB / 1.092 GB, free: 2.359 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/1.061, allocations: 0 / 1.092 GB, free: 2.359 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.614e-05/1.061, allocations: 6.391 kB / 1.092 GB, free: 2.359 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/1.061, allocations: 0 / 1.092 GB, free: 2.359 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.083e-05/1.061, allocations: 5.453 kB / 1.092 GB, free: 2.355 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/1.061, allocations: 3.938 kB / 1.092 GB, free: 2.352 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/1.061, allocations: 2 kB / 1.092 GB, free: 2.352 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001025/1.061, allocations: 81.39 kB / 1.093 GB, free: 2.273 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 5.405e-05/1.061, allocations: 80.62 kB / 1.093 GB, free: 2.18 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.377e-05/1.061, allocations: 5.297 kB / 1.093 GB, free: 2.176 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.301e-05/1.061, allocations: 1.5 kB / 1.093 GB, free: 2.176 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.769e-05/1.061, allocations: 6.297 kB / 1.093 GB, free: 2.172 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.943e-06/1.061, allocations: 5.812 kB / 1.093 GB, free: 2.168 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 2.069e-05/1.061, allocations: 76.59 kB / 1.093 GB, free: 2.094 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.2e-07/1.061, allocations: 0 / 1.093 GB, free: 2.094 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0001814/1.061, allocations: 6.281 kB / 1.093 GB, free: 2.094 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.0001344/1.062, allocations: 102.6 kB / 1.093 GB, free: 2 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.00012/1.062, allocations: 29.61 kB / 1.093 GB, free: 1.988 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.265e-06/1.062, allocations: 0 / 1.093 GB, free: 1.988 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 2.84e-05/1.062, allocations: 14.09 kB / 1.093 GB, free: 1.984 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002539/1.062, allocations: 12.14 kB / 1.093 GB, free: 1.98 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000323/1.062, allocations: 158.8 kB / 1.093 GB, free: 1.828 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000122/1.062, allocations: 0.675 MB / 1.094 GB, free: 1.133 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.053e-05/1.062, allocations: 10.16 kB / 1.094 GB, free: 1.125 MB / 0.8575 GB Notification: Performance of SimCode: time 2.11e-07/1.062, allocations: 0 / 1.094 GB, free: 1.125 MB / 0.8575 GB Notification: Performance of Templates: time 0.00201/1.064, allocations: 0.5322 MB / 1.094 GB, free: 1.098 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/jenkins1/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