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.001701/0.001701, allocations: 107.6 kB / 16.27 MB, free: 6.355 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.00191/0.00191, allocations: 192.3 kB / 17.2 MB, free: 5.953 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.432/1.432, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.836/2.836, allocations: 482.4 MB / 0.7553 GB, free: 6.984 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.002019/0.002019, allocations: 63.73 kB / 0.9245 GB, free: 15.98 MB / 0.7012 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.052/1.054, allocations: 162.2 MB / 1.083 GB, free: 1.656 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X): time 0.002572/1.056, allocations: 1.261 MB / 1.084 GB, free: 0.7695 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0005565/1.057, allocations: 291.3 kB / 1.084 GB, free: 0.5742 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.21e-05/1.057, allocations: 4.688 kB / 1.084 GB, free: 0.5703 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 1.574e-05/1.057, allocations: 3.938 kB / 1.084 GB, free: 0.5664 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 5.18e-05/1.057, allocations: 5.891 kB / 1.084 GB, free: 0.5625 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003013/1.057, allocations: 44.88 kB / 1.084 GB, free: 0.543 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 6.727e-05/1.057, allocations: 21.84 kB / 1.084 GB, free: 0.5312 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 4.378e-05/1.057, allocations: 1.828 kB / 1.084 GB, free: 0.5312 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 4.043e-05/1.057, allocations: 4.844 kB / 1.085 GB, free: 0.5312 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 5.15e-05/1.057, allocations: 14.16 kB / 1.085 GB, free: 0.5234 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.263e-05/1.057, allocations: 4 kB / 1.085 GB, free: 0.5195 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001442/1.058, allocations: 57.47 kB / 1.085 GB, free: 0.5039 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.315e-05/1.058, allocations: 5.922 kB / 1.085 GB, free: 0.5 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.929e-05/1.058, allocations: 4.953 kB / 1.085 GB, free: 0.5 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001501/1.058, allocations: 46.19 kB / 1.085 GB, free: 500 kB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/1.058, allocations: 0.75 kB / 1.085 GB, free: 500 kB / 0.8262 GB Notification: Performance of FrontEnd: time 2.014e-06/1.058, allocations: 0 / 1.085 GB, free: 500 kB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.671e-06/1.058, allocations: 0 / 1.085 GB, free: 500 kB / 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.0003421/1.058, allocations: 336 kB / 1.085 GB, free: 128 kB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.225e-05/1.058, allocations: 13.5 kB / 1.085 GB, free: 124 kB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002368/1.059, allocations: 18.36 kB / 1.085 GB, free: 124 kB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001211/1.059, allocations: 166.4 kB / 1.085 GB, free: 15.92 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.203e-05/1.059, allocations: 5.219 kB / 1.085 GB, free: 15.92 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.144e-05/1.059, allocations: 1.906 kB / 1.085 GB, free: 15.92 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001231/1.059, allocations: 41.77 kB / 1.085 GB, free: 15.88 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.518e-06/1.059, allocations: 4.125 kB / 1.085 GB, free: 15.88 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.688e-05/1.059, allocations: 5.828 kB / 1.085 GB, free: 15.88 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.588e-06/1.059, allocations: 0 / 1.085 GB, free: 15.88 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.704e-05/1.059, allocations: 19.34 kB / 1.085 GB, free: 15.87 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002027/1.059, allocations: 157.1 kB / 1.085 GB, free: 15.67 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001913/1.061, allocations: 269.9 kB / 1.086 GB, free: 15.63 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.121e-05/1.061, allocations: 22.84 kB / 1.086 GB, free: 15.61 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.05e-05/1.061, allocations: 1.734 kB / 1.086 GB, free: 15.61 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.298e-05/1.061, allocations: 43.62 kB / 1.086 GB, free: 15.56 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=4): time 1.202e-06/1.061, allocations: 0 / 1.086 GB, free: 15.56 MB / 0.8419 GB Notification: Performance of matching and sorting (n=4): time 0.0002023/1.061, allocations: 61.38 kB / 1.086 GB, free: 15.52 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.654e-05/1.061, allocations: 52.88 kB / 1.086 GB, free: 15.46 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.069e-05/1.062, allocations: 99.88 kB / 1.086 GB, free: 15.35 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.984e-05/1.062, allocations: 26.58 kB / 1.086 GB, free: 15.32 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 3.901e-05/1.062, allocations: 80.14 kB / 1.086 GB, free: 15.24 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 3.777e-05/1.062, allocations: 14.81 kB / 1.086 GB, free: 15.23 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.111e-05/1.062, allocations: 22.02 kB / 1.086 GB, free: 15.2 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001386/1.062, allocations: 312.9 kB / 1.086 GB, free: 14.89 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.563e-05/1.062, allocations: 8.781 kB / 1.086 GB, free: 14.89 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.904e-05/1.062, allocations: 7.5 kB / 1.086 GB, free: 14.89 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.276e-05/1.062, allocations: 41 kB / 1.086 GB, free: 14.86 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/1.062, allocations: 0 / 1.086 GB, free: 14.86 MB / 0.8419 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.369e-05/1.062, allocations: 53.05 kB / 1.086 GB, free: 14.82 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.609e-05/1.062, allocations: 5.062 kB / 1.086 GB, free: 14.82 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/1.062, allocations: 3.938 kB / 1.086 GB, free: 14.81 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.808e-05/1.062, allocations: 1.031 kB / 1.086 GB, free: 14.81 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.918e-05/1.062, allocations: 6.156 kB / 1.086 GB, free: 14.81 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.676e-06/1.062, allocations: 0.8906 kB / 1.086 GB, free: 14.81 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.956e-05/1.062, allocations: 1.031 kB / 1.086 GB, free: 14.81 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.81e-06/1.062, allocations: 1.25 kB / 1.086 GB, free: 14.81 MB / 0.8419 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 0.0001065/1.062, allocations: 116.2 kB / 1.087 GB, free: 14.69 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.041e-05/1.062, allocations: 3.359 kB / 1.087 GB, free: 14.69 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.267e-05/1.062, allocations: 11.44 kB / 1.087 GB, free: 14.68 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.845e-06/1.062, allocations: 0.6094 kB / 1.087 GB, free: 14.68 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.237e-06/1.062, allocations: 1.438 kB / 1.087 GB, free: 14.68 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/1.062, allocations: 0.75 kB / 1.087 GB, free: 14.68 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001441/1.063, allocations: 157.7 kB / 1.087 GB, free: 14.48 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/1.063, allocations: 0 / 1.087 GB, free: 14.48 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.027e-05/1.063, allocations: 10.22 kB / 1.087 GB, free: 14.48 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.492e-06/1.063, allocations: 5.891 kB / 1.087 GB, free: 14.48 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.041e-05/1.063, allocations: 7.875 kB / 1.087 GB, free: 14.47 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.794e-06/1.063, allocations: 0.5 kB / 1.087 GB, free: 14.47 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.123e-06/1.063, allocations: 1.312 kB / 1.087 GB, free: 14.47 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001466/1.063, allocations: 74.16 kB / 1.087 GB, free: 14.4 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 9.781e-05/1.063, allocations: 83.84 kB / 1.087 GB, free: 14.3 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.863e-05/1.063, allocations: 5.406 kB / 1.087 GB, free: 14.3 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.333e-05/1.063, allocations: 5.734 kB / 1.087 GB, free: 14.29 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.336e-05/1.063, allocations: 10.28 kB / 1.087 GB, free: 14.29 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.262e-06/1.063, allocations: 1.719 kB / 1.087 GB, free: 14.29 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 4.544e-05/1.063, allocations: 76.03 kB / 1.087 GB, free: 14.21 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.2e-07/1.063, allocations: 0 / 1.087 GB, free: 14.21 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0001883/1.063, allocations: 6.828 kB / 1.087 GB, free: 14.21 MB / 0.8419 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.0001572/1.064, allocations: 97.53 kB / 1.087 GB, free: 14.12 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0001221/1.064, allocations: 25.64 kB / 1.087 GB, free: 14.11 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/1.064, allocations: 4.094 kB / 1.087 GB, free: 14.11 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 2.887e-05/1.064, allocations: 18.02 kB / 1.087 GB, free: 14.1 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002315/1.064, allocations: 16.36 kB / 1.087 GB, free: 14.09 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003962/1.064, allocations: 155.9 kB / 1.087 GB, free: 13.94 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003226/1.065, allocations: 0.6789 MB / 1.088 GB, free: 13.24 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.392e-05/1.065, allocations: 10.16 kB / 1.088 GB, free: 13.23 MB / 0.8419 GB Notification: Performance of SimCode: time 2e-07/1.065, allocations: 0 / 1.088 GB, free: 13.23 MB / 0.8419 GB Notification: Performance of Templates: time 0.002286/1.067, allocations: 0.5354 MB / 1.089 GB, free: 13.21 MB / 0.8419 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=400 -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/jenkins1/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