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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001058/0.001058, allocations: 90.98 kB / 15.36 MB, free: 0.7383 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.009786/0.009786, allocations: 171.4 kB / 16.26 MB, free: 6.613 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.368/1.368, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.741/2.741, allocations: 462.6 MB / 0.7364 GB, free: 268 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0003917/0.0003919, allocations: 10.09 kB / 0.9028 GB, free: 36.71 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3767/0.3772, allocations: 159.6 MB / 1.059 GB, free: 5.457 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X): time 0.00155/0.3788, allocations: 0.9938 MB / 1.06 GB, free: 4.453 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0006355/0.3794, allocations: 295.2 kB / 1.06 GB, free: 4.164 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.671e-05/0.3794, allocations: 0 / 1.06 GB, free: 4.164 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.595e-05/0.3795, allocations: 0 / 1.06 GB, free: 4.164 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 5.367e-05/0.3795, allocations: 7.922 kB / 1.06 GB, free: 4.156 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002579/0.3798, allocations: 39.83 kB / 1.06 GB, free: 4.117 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 5.258e-05/0.3798, allocations: 19.88 kB / 1.06 GB, free: 4.098 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 4.713e-05/0.3799, allocations: 3.984 kB / 1.06 GB, free: 4.094 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 4.221e-05/0.3799, allocations: 4 kB / 1.06 GB, free: 4.09 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 5.112e-05/0.38, allocations: 7.984 kB / 1.06 GB, free: 4.082 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.138e-05/0.38, allocations: 0 / 1.06 GB, free: 4.082 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000124/0.3801, allocations: 55.95 kB / 1.06 GB, free: 4.027 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.531e-05/0.3802, allocations: 11.94 kB / 1.06 GB, free: 4.016 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.715e-05/0.3802, allocations: 37.62 kB / 1.06 GB, free: 3.973 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001255/0.3804, allocations: 52.11 kB / 1.06 GB, free: 3.922 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.3804, allocations: 0 / 1.06 GB, free: 3.922 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.073e-06/0.3804, allocations: 0 / 1.06 GB, free: 3.922 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 8.936e-06/0.3804, allocations: 0 / 1.06 GB, free: 3.922 MB / 0.8106 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.0003688/0.3808, allocations: 331.5 kB / 1.06 GB, free: 3.547 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.788e-05/0.3808, allocations: 8.031 kB / 1.06 GB, free: 3.539 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002099/0.381, allocations: 16.92 kB / 1.06 GB, free: 3.523 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.647e-05/0.3811, allocations: 172.2 kB / 1.061 GB, free: 3.316 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.134e-05/0.3812, allocations: 8.375 kB / 1.061 GB, free: 3.309 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.929e-06/0.3812, allocations: 384 / 1.061 GB, free: 3.309 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001222/0.3813, allocations: 42.25 kB / 1.061 GB, free: 3.262 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.64e-06/0.3813, allocations: 192 / 1.061 GB, free: 3.262 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.449e-05/0.3813, allocations: 7.938 kB / 1.061 GB, free: 3.254 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.439e-06/0.3813, allocations: 0 / 1.061 GB, free: 3.254 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.864e-05/0.3814, allocations: 15.98 kB / 1.061 GB, free: 3.238 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001516/0.3816, allocations: 153.7 kB / 1.061 GB, free: 3.039 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00188/0.3834, allocations: 278.3 kB / 1.061 GB, free: 2.758 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.289e-05/0.3835, allocations: 16.86 kB / 1.061 GB, free: 2.738 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.38e-05/0.3835, allocations: 8 kB / 1.061 GB, free: 2.73 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.282e-05/0.3835, allocations: 30.56 kB / 1.061 GB, free: 2.691 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=4): time 1.032e-06/0.3835, allocations: 0 / 1.061 GB, free: 2.691 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4): time 0.000171/0.3837, allocations: 69.56 kB / 1.061 GB, free: 2.617 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.062e-05/0.3838, allocations: 55.34 kB / 1.061 GB, free: 2.551 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.84e-05/0.3838, allocations: 93.84 kB / 1.061 GB, free: 2.449 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.605e-05/0.3839, allocations: 25.7 kB / 1.061 GB, free: 2.418 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 3.835e-05/0.3839, allocations: 84.27 kB / 1.062 GB, free: 2.332 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.672e-05/0.3839, allocations: 15.81 kB / 1.062 GB, free: 2.316 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.45e-05/0.384, allocations: 9.719 kB / 1.062 GB, free: 2.301 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001127/0.3841, allocations: 310.8 kB / 1.062 GB, free: 1.988 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.287e-05/0.3841, allocations: 15.98 kB / 1.062 GB, free: 1.973 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.783e-05/0.3841, allocations: 8 kB / 1.062 GB, free: 1.965 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.94e-05/0.3842, allocations: 24.86 kB / 1.062 GB, free: 1.938 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.3842, allocations: 0 / 1.062 GB, free: 1.938 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.225e-05/0.3843, allocations: 57.91 kB / 1.062 GB, free: 1.875 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.438e-05/0.3843, allocations: 4 kB / 1.062 GB, free: 1.871 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.072e-06/0.3843, allocations: 7.938 kB / 1.062 GB, free: 1.863 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.327e-05/0.3843, allocations: 4.047 kB / 1.062 GB, free: 1.859 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.14e-05/0.3844, allocations: 7.984 kB / 1.062 GB, free: 1.852 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.558e-06/0.3844, allocations: 0 / 1.062 GB, free: 1.852 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.072e-05/0.3845, allocations: 7.984 kB / 1.062 GB, free: 1.844 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.449e-06/0.3845, allocations: 0 / 1.062 GB, free: 1.844 MB / 0.8106 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.82e-05/0.3846, allocations: 115.3 kB / 1.062 GB, free: 1.723 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.261e-05/0.3846, allocations: 7.906 kB / 1.062 GB, free: 1.715 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.429e-05/0.3846, allocations: 11.44 kB / 1.062 GB, free: 1.703 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.3846, allocations: 4 kB / 1.062 GB, free: 1.699 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.628e-06/0.3846, allocations: 0 / 1.062 GB, free: 1.699 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.184e-06/0.3846, allocations: 0 / 1.062 GB, free: 1.699 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001196/0.3848, allocations: 153.7 kB / 1.062 GB, free: 1.5 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.3848, allocations: 4 kB / 1.062 GB, free: 1.496 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.365e-05/0.3848, allocations: 4 kB / 1.062 GB, free: 1.492 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.774e-06/0.3848, allocations: 0 / 1.062 GB, free: 1.492 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.487e-06/0.3848, allocations: 3.938 kB / 1.062 GB, free: 1.488 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.3848, allocations: 0 / 1.062 GB, free: 1.488 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/0.3848, allocations: 0 / 1.062 GB, free: 1.488 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001165/0.385, allocations: 93.05 kB / 1.062 GB, free: 1.379 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 6.406e-05/0.385, allocations: 81.05 kB / 1.062 GB, free: 1.281 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.261e-05/0.3851, allocations: 7.875 kB / 1.062 GB, free: 1.273 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.465e-05/0.3851, allocations: 4 kB / 1.062 GB, free: 1.27 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.501e-05/0.3851, allocations: 3.984 kB / 1.062 GB, free: 1.266 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.188e-06/0.3852, allocations: 0 / 1.062 GB, free: 1.266 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 2.996e-05/0.3852, allocations: 75.28 kB / 1.062 GB, free: 1.191 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.6e-07/0.3852, allocations: 8.094 kB / 1.063 GB, free: 1.184 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0001959/0.3854, allocations: 8 kB / 1.063 GB, free: 1.176 MB / 0.8106 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.0001045/0.3855, allocations: 95.25 kB / 1.063 GB, free: 1.07 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 9.249e-05/0.3856, allocations: 27.92 kB / 1.063 GB, free: 1.043 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.3856, allocations: 0 / 1.063 GB, free: 1.043 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 2.172e-05/0.3856, allocations: 12 kB / 1.063 GB, free: 1.031 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002519/0.3859, allocations: 11.98 kB / 1.063 GB, free: 1.02 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003157/0.3862, allocations: 140.5 kB / 1.063 GB, free: 0.8516 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002704/0.3865, allocations: 0.6762 MB / 1.063 GB, free: 156 kB / 0.8106 GB Notification: Performance of simCode: alias equations: time 5.042e-05/0.3866, allocations: 7.859 kB / 1.063 GB, free: 148 kB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.623e-05/0.3866, allocations: 11.44 kB / 1.063 GB, free: 136 kB / 0.8106 GB Notification: Performance of SimCode: time 3.21e-07/0.3866, allocations: 3.938 kB / 1.063 GB, free: 132 kB / 0.8106 GB Notification: Performance of Templates: time 0.002522/0.3891, allocations: 0.4944 MB / 1.064 GB, free: 15.64 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