Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_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_latest_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.001228/0.001228, allocations: 99.36 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.001396/0.001396, allocations: 195.5 kB / 16.25 MB, free: 6.633 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.404/1.404, allocations: 222.9 MB / 239.9 MB, free: 4.492 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.826/2.826, allocations: 472.6 MB / 0.7448 GB, free: 4.871 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001343/0.001343, allocations: 66.34 kB / 0.9116 GB, free: 33.59 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3882/0.3895, allocations: 159.9 MB / 1.068 GB, free: 10.73 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X): time 0.003199/0.3928, allocations: 1.329 MB / 1.069 GB, free: 9.391 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0006556/0.3935, allocations: 301.2 kB / 1.069 GB, free: 9.098 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.195e-05/0.3935, allocations: 0 / 1.069 GB, free: 9.098 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.263e-05/0.3936, allocations: 0 / 1.069 GB, free: 9.098 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 6.384e-05/0.3937, allocations: 7.938 kB / 1.069 GB, free: 9.09 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003243/0.394, allocations: 35.83 kB / 1.069 GB, free: 9.055 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 6.068e-05/0.3941, allocations: 23.92 kB / 1.069 GB, free: 9.031 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 4.792e-05/0.3941, allocations: 7.984 kB / 1.069 GB, free: 9.023 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 4.089e-05/0.3942, allocations: 4 kB / 1.069 GB, free: 9.02 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 6.821e-05/0.3942, allocations: 11.92 kB / 1.069 GB, free: 9.008 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.312e-05/0.3943, allocations: 4 kB / 1.069 GB, free: 9.004 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001218/0.3944, allocations: 51.95 kB / 1.069 GB, free: 8.953 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.366e-05/0.3944, allocations: 4 kB / 1.069 GB, free: 8.949 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.541e-05/0.3944, allocations: 4 kB / 1.069 GB, free: 8.945 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001359/0.3946, allocations: 48.11 kB / 1.07 GB, free: 8.898 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 6.081e-06/0.3946, allocations: 0 / 1.07 GB, free: 8.898 MB / 0.8262 GB Notification: Performance of FrontEnd: time 3.546e-06/0.3946, allocations: 3.984 kB / 1.07 GB, free: 8.895 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 7.684e-06/0.3946, allocations: 4 kB / 1.07 GB, free: 8.891 MB / 0.8262 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.0004444/0.3951, allocations: 331.6 kB / 1.07 GB, free: 8.516 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.612e-05/0.3951, allocations: 12.03 kB / 1.07 GB, free: 8.504 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002423/0.3954, allocations: 12.92 kB / 1.07 GB, free: 8.492 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001325/0.3955, allocations: 176.3 kB / 1.07 GB, free: 8.281 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.146e-05/0.3955, allocations: 384 / 1.07 GB, free: 8.281 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.087e-05/0.3955, allocations: 384 / 1.07 GB, free: 8.281 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001228/0.3957, allocations: 50.23 kB / 1.07 GB, free: 8.227 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.706e-06/0.3957, allocations: 192 / 1.07 GB, free: 8.227 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.319e-05/0.3957, allocations: 3.938 kB / 1.07 GB, free: 8.223 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.117e-06/0.3957, allocations: 0 / 1.07 GB, free: 8.223 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.317e-05/0.3958, allocations: 16 kB / 1.07 GB, free: 8.207 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001824/0.3959, allocations: 161.6 kB / 1.07 GB, free: 8 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001791/0.3977, allocations: 274.3 kB / 1.071 GB, free: 7.723 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.383e-05/0.3978, allocations: 28.78 kB / 1.071 GB, free: 7.691 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.152e-05/0.3978, allocations: 0 / 1.071 GB, free: 7.691 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.597e-05/0.3979, allocations: 34.56 kB / 1.071 GB, free: 7.648 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=4): time 1.162e-06/0.3979, allocations: 4 kB / 1.071 GB, free: 7.645 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4): time 0.0001882/0.3981, allocations: 61.62 kB / 1.071 GB, free: 7.578 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.486e-05/0.3981, allocations: 51.41 kB / 1.071 GB, free: 7.516 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.844e-05/0.3982, allocations: 97.8 kB / 1.071 GB, free: 7.41 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.511e-05/0.3982, allocations: 29.7 kB / 1.071 GB, free: 7.375 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 2.733e-05/0.3983, allocations: 80.14 kB / 1.071 GB, free: 7.293 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.28e-05/0.3983, allocations: 11.8 kB / 1.071 GB, free: 7.281 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.471e-05/0.3983, allocations: 17.72 kB / 1.071 GB, free: 7.258 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001237/0.3985, allocations: 315 kB / 1.071 GB, free: 6.941 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.335e-05/0.3985, allocations: 8 kB / 1.071 GB, free: 6.934 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.036e-05/0.3985, allocations: 15.98 kB / 1.071 GB, free: 6.918 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.413e-05/0.3986, allocations: 20.86 kB / 1.071 GB, free: 6.895 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.3986, allocations: 0 / 1.071 GB, free: 6.895 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.805e-05/0.3987, allocations: 53.69 kB / 1.071 GB, free: 6.836 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.714e-05/0.3987, allocations: 8 kB / 1.071 GB, free: 6.828 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.203e-06/0.3987, allocations: 7.875 kB / 1.071 GB, free: 6.82 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.426e-05/0.3987, allocations: 0 / 1.071 GB, free: 6.82 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.832e-05/0.3988, allocations: 4 kB / 1.071 GB, free: 6.816 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.25e-06/0.3988, allocations: 4 kB / 1.071 GB, free: 6.812 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.015e-05/0.3988, allocations: 0 / 1.071 GB, free: 6.812 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.831e-06/0.3989, allocations: 4 kB / 1.071 GB, free: 6.809 MB / 0.8262 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.489e-05/0.3989, allocations: 105.8 kB / 1.071 GB, free: 6.695 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.264e-05/0.3989, allocations: 7.984 kB / 1.071 GB, free: 6.688 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.367e-05/0.399, allocations: 11.44 kB / 1.071 GB, free: 6.672 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.399, allocations: 0 / 1.071 GB, free: 6.672 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.399, allocations: 0 / 1.071 GB, free: 6.672 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.005e-06/0.399, allocations: 0 / 1.071 GB, free: 6.672 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001335/0.3991, allocations: 169.7 kB / 1.072 GB, free: 6.457 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.3992, allocations: 0 / 1.072 GB, free: 6.457 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.638e-05/0.3992, allocations: 8 kB / 1.072 GB, free: 6.449 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.499e-06/0.3992, allocations: 0 / 1.072 GB, free: 6.449 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.967e-06/0.3992, allocations: 7.875 kB / 1.072 GB, free: 6.441 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.3992, allocations: 0 / 1.072 GB, free: 6.441 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.61e-07/0.3992, allocations: 0 / 1.072 GB, free: 6.441 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001124/0.3994, allocations: 77.39 kB / 1.072 GB, free: 6.348 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 9.02e-05/0.3995, allocations: 101 kB / 1.072 GB, free: 6.23 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.423e-05/0.3995, allocations: 7.938 kB / 1.072 GB, free: 6.223 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.499e-05/0.3995, allocations: 0 / 1.072 GB, free: 6.223 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.116e-05/0.3996, allocations: 7.938 kB / 1.072 GB, free: 6.215 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.318e-06/0.3996, allocations: 0 / 1.072 GB, free: 6.215 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 3.963e-05/0.3996, allocations: 75.28 kB / 1.072 GB, free: 6.141 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3996, allocations: 0 / 1.072 GB, free: 6.141 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0001813/0.3998, allocations: 8 kB / 1.072 GB, free: 6.133 MB / 0.8262 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.0001261/0.3999, allocations: 107.3 kB / 1.072 GB, free: 6.016 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.000107/0.4001, allocations: 27.92 kB / 1.072 GB, free: 5.988 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.4001, allocations: 0 / 1.072 GB, free: 5.988 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 2.338e-05/0.4001, allocations: 12 kB / 1.072 GB, free: 5.977 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002576/0.4004, allocations: 15.05 kB / 1.072 GB, free: 5.965 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003929/0.4008, allocations: 130.6 kB / 1.072 GB, free: 5.809 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002607/0.401, allocations: 0.6768 MB / 1.073 GB, free: 5.105 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 5.183e-05/0.4011, allocations: 3.859 kB / 1.073 GB, free: 5.102 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.936e-05/0.4011, allocations: 15.44 kB / 1.073 GB, free: 5.086 MB / 0.8262 GB Notification: Performance of SimCode: time 1.813e-06/0.4011, allocations: 0 / 1.073 GB, free: 5.086 MB / 0.8262 GB Notification: Performance of Templates: time 0.002825/0.404, allocations: 0.5122 MB / 1.073 GB, free: 4.578 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.makefile (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.sim & ./Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_Functions_Examples_pW_X.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches