Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.006851/0.006851, allocations: 100.5 kB / 15.73 MB, free: 5.953 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.001425/0.001425, allocations: 190.1 kB / 16.67 MB, free: 5.875 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.375/1.375, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.643/2.643, allocations: 469.8 MB / 0.7425 GB, free: 3.363 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001213/0.001213, allocations: 67.89 kB / 1.065 GB, free: 13.6 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9078/0.909, allocations: 159.1 MB / 1.221 GB, free: 2.082 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X): time 0.002364/0.9114, allocations: 1.252 MB / 1.222 GB, free: 0.8203 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.000632/0.912, allocations: 303 kB / 1.222 GB, free: 0.5234 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.505e-05/0.9121, allocations: 0 / 1.222 GB, free: 0.5234 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 2.171e-05/0.9121, allocations: 0 / 1.222 GB, free: 0.5234 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 4.981e-05/0.9121, allocations: 7.938 kB / 1.222 GB, free: 0.5156 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003313/0.9125, allocations: 55.73 kB / 1.222 GB, free: 472 kB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 7.571e-05/0.9125, allocations: 19.88 kB / 1.222 GB, free: 452 kB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 4.608e-05/0.9126, allocations: 4 kB / 1.222 GB, free: 448 kB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 4.582e-05/0.9126, allocations: 15.98 kB / 1.222 GB, free: 432 kB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 4.906e-05/0.9127, allocations: 0 / 1.222 GB, free: 432 kB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.362e-05/0.9127, allocations: 4 kB / 1.222 GB, free: 428 kB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001318/0.9128, allocations: 51.95 kB / 1.222 GB, free: 376 kB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.661e-05/0.9129, allocations: 3.938 kB / 1.222 GB, free: 372 kB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 3.264e-05/0.9129, allocations: 11.97 kB / 1.222 GB, free: 360 kB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001493/0.913, allocations: 47.7 kB / 1.222 GB, free: 316 kB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 6.442e-06/0.913, allocations: 0 / 1.222 GB, free: 316 kB / 0.9356 GB Notification: Performance of FrontEnd: time 1.783e-06/0.913, allocations: 0 / 1.222 GB, free: 316 kB / 0.9356 GB Notification: Performance of Transformations before backend: time 7.053e-06/0.913, allocations: 4 kB / 1.222 GB, free: 312 kB / 0.9356 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.0004754/0.9135, allocations: 336.1 kB / 1.223 GB, free: 15.93 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.424e-05/0.9136, allocations: 12.03 kB / 1.223 GB, free: 15.92 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002346/0.9138, allocations: 16.91 kB / 1.223 GB, free: 15.9 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001071/0.9139, allocations: 168.3 kB / 1.223 GB, free: 15.7 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.141e-05/0.9139, allocations: 384 / 1.223 GB, free: 15.7 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.095e-06/0.9139, allocations: 384 / 1.223 GB, free: 15.7 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001185/0.914, allocations: 46.25 kB / 1.223 GB, free: 15.65 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.167e-06/0.9141, allocations: 192 / 1.223 GB, free: 15.65 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.177e-05/0.9141, allocations: 3.938 kB / 1.223 GB, free: 15.64 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.418e-06/0.9141, allocations: 0 / 1.223 GB, free: 15.64 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.443e-05/0.9141, allocations: 19.98 kB / 1.223 GB, free: 15.62 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001768/0.9143, allocations: 157.7 kB / 1.223 GB, free: 15.42 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001903/0.9162, allocations: 266.3 kB / 1.223 GB, free: 15.15 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.467e-05/0.9163, allocations: 16.86 kB / 1.223 GB, free: 15.13 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 9.728e-06/0.9163, allocations: 0 / 1.223 GB, free: 15.13 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.948e-05/0.9163, allocations: 34.56 kB / 1.223 GB, free: 15.09 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=4): time 1.072e-06/0.9163, allocations: 0 / 1.223 GB, free: 15.09 MB / 0.9512 GB Notification: Performance of matching and sorting (n=4): time 0.0001947/0.9165, allocations: 73.56 kB / 1.223 GB, free: 15.01 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.652e-05/0.9165, allocations: 51.41 kB / 1.223 GB, free: 14.95 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.705e-05/0.9166, allocations: 105.8 kB / 1.224 GB, free: 14.84 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.516e-05/0.9166, allocations: 29.64 kB / 1.224 GB, free: 14.8 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 3.328e-05/0.9166, allocations: 84.08 kB / 1.224 GB, free: 14.71 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 3.513e-05/0.9167, allocations: 15.83 kB / 1.224 GB, free: 14.7 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.451e-05/0.9167, allocations: 17.72 kB / 1.224 GB, free: 14.68 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001182/0.9168, allocations: 315 kB / 1.224 GB, free: 14.36 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.302e-05/0.9169, allocations: 15.98 kB / 1.224 GB, free: 14.34 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.657e-05/0.9169, allocations: 8 kB / 1.224 GB, free: 14.34 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.605e-05/0.9169, allocations: 24.86 kB / 1.224 GB, free: 14.31 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.9169, allocations: 0 / 1.224 GB, free: 14.31 MB / 0.9512 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.718e-05/0.917, allocations: 49.69 kB / 1.224 GB, free: 14.25 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.416e-05/0.917, allocations: 8 kB / 1.224 GB, free: 14.25 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.302e-06/0.917, allocations: 3.938 kB / 1.224 GB, free: 14.24 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.704e-05/0.917, allocations: 0 / 1.224 GB, free: 14.24 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.14e-05/0.9171, allocations: 11.92 kB / 1.224 GB, free: 14.23 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.043e-06/0.9171, allocations: 8 kB / 1.224 GB, free: 14.22 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.922e-05/0.9171, allocations: 0 / 1.224 GB, free: 14.22 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.759e-06/0.9171, allocations: 0 / 1.224 GB, free: 14.22 MB / 0.9512 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 8.372e-05/0.9172, allocations: 105.8 kB / 1.224 GB, free: 14.11 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.289e-05/0.9172, allocations: 8 kB / 1.224 GB, free: 14.1 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.465e-05/0.9173, allocations: 7.438 kB / 1.224 GB, free: 14.09 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.343e-06/0.9173, allocations: 0 / 1.224 GB, free: 14.09 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.9173, allocations: 0 / 1.224 GB, free: 14.09 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.9173, allocations: 0 / 1.224 GB, free: 14.09 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001258/0.9174, allocations: 169.7 kB / 1.224 GB, free: 13.88 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.12e-07/0.9174, allocations: 0 / 1.224 GB, free: 13.88 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.48e-05/0.9175, allocations: 4 kB / 1.224 GB, free: 13.87 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.413e-06/0.9175, allocations: 0 / 1.224 GB, free: 13.87 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.107e-05/0.9175, allocations: 7.922 kB / 1.224 GB, free: 13.86 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.9175, allocations: 0 / 1.224 GB, free: 13.86 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.9175, allocations: 0 / 1.224 GB, free: 13.86 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001063/0.9176, allocations: 85.02 kB / 1.225 GB, free: 13.76 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 6.151e-05/0.9176, allocations: 77.11 kB / 1.225 GB, free: 13.67 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.717e-05/0.9177, allocations: 11.94 kB / 1.225 GB, free: 13.66 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.641e-05/0.9177, allocations: 7.938 kB / 1.225 GB, free: 13.65 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.552e-05/0.9177, allocations: 3.984 kB / 1.225 GB, free: 13.64 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.857e-06/0.9177, allocations: 0 / 1.225 GB, free: 13.64 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 3.438e-05/0.9178, allocations: 75.28 kB / 1.225 GB, free: 13.57 MB / 0.9512 GB Notification: Performance of sort global known variables: time 9e-08/0.9178, allocations: 4 kB / 1.225 GB, free: 13.57 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0001916/0.918, allocations: 4 kB / 1.225 GB, free: 13.56 MB / 0.9512 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.0001194/0.9181, allocations: 103.3 kB / 1.225 GB, free: 13.45 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 9.655e-05/0.9182, allocations: 27.92 kB / 1.225 GB, free: 13.42 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.9182, allocations: 0 / 1.225 GB, free: 13.42 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 2.223e-05/0.9182, allocations: 12.47 kB / 1.225 GB, free: 13.41 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002475/0.9184, allocations: 15.91 kB / 1.225 GB, free: 13.39 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003372/0.9188, allocations: 136.4 kB / 1.225 GB, free: 13.24 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002314/0.919, allocations: 0.6729 MB / 1.226 GB, free: 12.54 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 3.899e-05/0.9191, allocations: 8.078 kB / 1.226 GB, free: 12.53 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.476e-05/0.9191, allocations: 7.438 kB / 1.226 GB, free: 12.52 MB / 0.9512 GB Notification: Performance of SimCode: time 3e-07/0.9191, allocations: 4 kB / 1.226 GB, free: 12.52 MB / 0.9512 GB Notification: Performance of Templates: time 0.002925/0.922, allocations: 0.511 MB / 1.226 GB, free: 12.02 MB / 0.9512 GB make -j1 -f Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.makefile (rm -f Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; mkfifo Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe >> ../files/Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.sim & ./Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Psychrometrics_Functions_Examples_pW_X.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches