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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001733/0.001733, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002053/0.002054, allocations: 196.6 kB / 16.79 MB, free: 6.809 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.399/1.399, allocations: 222.9 MB / 240.5 MB, free: 4.594 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.717/2.717, allocations: 437 MB / 0.7106 GB, free: 5.383 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001437/0.001437, allocations: 60.14 kB / 0.8692 GB, free: 5.219 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6928/0.6943, allocations: 151.6 MB / 1.017 GB, free: 3.082 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X): time 0.002609/0.6969, allocations: 1.327 MB / 1.019 GB, free: 1.746 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0006488/0.6976, allocations: 295.1 kB / 1.019 GB, free: 1.457 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.656e-05/0.6976, allocations: 0 / 1.019 GB, free: 1.457 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 2.408e-05/0.6977, allocations: 3.984 kB / 1.019 GB, free: 1.453 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 5.082e-05/0.6977, allocations: 3.938 kB / 1.019 GB, free: 1.449 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002502/0.698, allocations: 47.81 kB / 1.019 GB, free: 1.402 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 5.476e-05/0.6981, allocations: 15.88 kB / 1.019 GB, free: 1.387 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 4.495e-05/0.6981, allocations: 0 / 1.019 GB, free: 1.387 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 3.855e-05/0.6982, allocations: 11.98 kB / 1.019 GB, free: 1.375 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 4.671e-05/0.6982, allocations: 4 kB / 1.019 GB, free: 1.371 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.322e-05/0.6982, allocations: 0 / 1.019 GB, free: 1.371 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000128/0.6984, allocations: 51.95 kB / 1.019 GB, free: 1.32 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.931e-05/0.6984, allocations: 11.92 kB / 1.019 GB, free: 1.309 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 2.805e-05/0.6984, allocations: 11.92 kB / 1.019 GB, free: 1.297 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001033/0.6985, allocations: 30.09 kB / 1.019 GB, free: 1.27 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 6.332e-06/0.6985, allocations: 8 kB / 1.019 GB, free: 1.262 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.052e-06/0.6985, allocations: 0 / 1.019 GB, free: 1.262 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 4.418e-06/0.6985, allocations: 0 / 1.019 GB, free: 1.262 MB / 0.7637 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.0004255/0.699, allocations: 339.5 kB / 1.019 GB, free: 0.8789 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.964e-05/0.699, allocations: 11.97 kB / 1.019 GB, free: 0.8672 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002382/0.6993, allocations: 20.91 kB / 1.019 GB, free: 0.8477 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.933e-05/0.6994, allocations: 160.4 kB / 1.02 GB, free: 0.6523 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.159e-05/0.6994, allocations: 4.375 kB / 1.02 GB, free: 0.6484 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.286e-05/0.6994, allocations: 8.312 kB / 1.02 GB, free: 0.6406 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001256/0.6995, allocations: 38.25 kB / 1.02 GB, free: 0.5977 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.546e-06/0.6996, allocations: 192 / 1.02 GB, free: 0.5977 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.403e-05/0.6996, allocations: 7.938 kB / 1.02 GB, free: 0.5898 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.4e-06/0.6996, allocations: 4 kB / 1.02 GB, free: 0.5859 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.385e-05/0.6996, allocations: 19.92 kB / 1.02 GB, free: 0.5664 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001714/0.6998, allocations: 153.7 kB / 1.02 GB, free: 376 kB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001921/0.7018, allocations: 270.5 kB / 1.02 GB, free: 96 kB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.881e-05/0.7018, allocations: 20.84 kB / 1.02 GB, free: 72 kB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 1.015e-05/0.7018, allocations: 0 / 1.02 GB, free: 72 kB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.57e-05/0.7019, allocations: 38.55 kB / 1.02 GB, free: 24 kB / 0.7637 GB Notification: Performance of pre-optimization done (n=4): time 8.82e-07/0.7019, allocations: 0 / 1.02 GB, free: 24 kB / 0.7637 GB Notification: Performance of matching and sorting (n=4): time 0.0002098/0.7021, allocations: 69.56 kB / 1.02 GB, free: 15.95 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.737e-05/0.7021, allocations: 51.41 kB / 1.02 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.542e-05/0.7022, allocations: 93.86 kB / 1.02 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.395e-05/0.7022, allocations: 25.7 kB / 1.02 GB, free: 15.75 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.402e-05/0.7023, allocations: 84.12 kB / 1.02 GB, free: 15.67 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.391e-05/0.7023, allocations: 15.75 kB / 1.02 GB, free: 15.65 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.429e-05/0.7023, allocations: 17.84 kB / 1.02 GB, free: 15.63 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001143/0.7025, allocations: 318.8 kB / 1.021 GB, free: 15.31 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.212e-05/0.7025, allocations: 8 kB / 1.021 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.792e-05/0.7025, allocations: 8 kB / 1.021 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.324e-05/0.7026, allocations: 28.84 kB / 1.021 GB, free: 15.26 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.7026, allocations: 0 / 1.021 GB, free: 15.26 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.167e-05/0.7027, allocations: 49.64 kB / 1.021 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.547e-05/0.7027, allocations: 11.98 kB / 1.021 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.532e-06/0.7027, allocations: 7.938 kB / 1.021 GB, free: 15.19 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.601e-05/0.7027, allocations: 4 kB / 1.021 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.028e-05/0.7028, allocations: 4 kB / 1.021 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.864e-06/0.7028, allocations: 3.984 kB / 1.021 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.492e-05/0.7028, allocations: 15.84 kB / 1.021 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.23e-06/0.7028, allocations: 0 / 1.021 GB, free: 15.16 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 7.111e-05/0.7029, allocations: 105.8 kB / 1.021 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.072e-05/0.7029, allocations: 4 kB / 1.021 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.367e-05/0.703, allocations: 11.44 kB / 1.021 GB, free: 15.03 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-06/0.703, allocations: 4 kB / 1.021 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.159e-06/0.703, allocations: 0 / 1.021 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.042e-06/0.703, allocations: 3.984 kB / 1.021 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001083/0.7031, allocations: 149.7 kB / 1.021 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.539e-06/0.7031, allocations: 7.984 kB / 1.021 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.709e-05/0.7032, allocations: 7.938 kB / 1.021 GB, free: 14.81 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.7032, allocations: 0 / 1.021 GB, free: 14.81 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.516e-06/0.7032, allocations: 7.875 kB / 1.021 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.7032, allocations: 0 / 1.021 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.7032, allocations: 0 / 1.021 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001093/0.7033, allocations: 85.12 kB / 1.021 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 6.914e-05/0.7034, allocations: 77.11 kB / 1.021 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.604e-05/0.7034, allocations: 7.922 kB / 1.021 GB, free: 14.6 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.699e-05/0.7035, allocations: 0 / 1.021 GB, free: 14.6 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.669e-05/0.7035, allocations: 4.375 kB / 1.021 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.689e-06/0.7035, allocations: 0 / 1.021 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.111e-05/0.7036, allocations: 79.28 kB / 1.021 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7036, allocations: 0 / 1.021 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001795/0.7038, allocations: 12.09 kB / 1.021 GB, free: 14.5 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.0001153/0.7039, allocations: 103.2 kB / 1.022 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001093/0.704, allocations: 31.97 kB / 1.022 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.704, allocations: 0 / 1.022 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 2.302e-05/0.704, allocations: 15.98 kB / 1.022 GB, free: 14.35 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002749/0.7043, allocations: 6.188 kB / 1.022 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003526/0.7047, allocations: 173.8 kB / 1.022 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002331/0.7049, allocations: 0.677 MB / 1.022 GB, free: 13.44 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.022e-05/0.705, allocations: 11.44 kB / 1.022 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of SimCode: time 3.41e-07/0.705, allocations: 0 / 1.022 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of Templates: time 0.001967/0.7069, allocations: 0.5268 MB / 1.023 GB, free: 12.9 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/jenkins1/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