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.001348/0.001348, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.0022/0.0022, allocations: 191.7 kB / 16.13 MB, free: 6.691 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.372/1.372, allocations: 222.9 MB / 239.8 MB, free: 4.629 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.731/2.731, allocations: 461.9 MB / 0.7342 GB, free: 15.01 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001353/0.001353, allocations: 64.27 kB / 0.8984 GB, free: 37.3 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3311/0.3324, allocations: 157.4 MB / 1.052 GB, free: 8.848 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X): time 0.002094/0.3346, allocations: 1.317 MB / 1.053 GB, free: 7.516 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0005519/0.3351, allocations: 307.1 kB / 1.054 GB, free: 7.215 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.274e-05/0.3352, allocations: 0 / 1.054 GB, free: 7.215 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.243e-05/0.3352, allocations: 3.938 kB / 1.054 GB, free: 7.211 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 4.113e-05/0.3352, allocations: 4 kB / 1.054 GB, free: 7.207 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002351/0.3355, allocations: 47.73 kB / 1.054 GB, free: 7.16 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 4.35e-05/0.3355, allocations: 11.94 kB / 1.054 GB, free: 7.148 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 4.206e-05/0.3356, allocations: 8 kB / 1.054 GB, free: 7.141 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 4.449e-05/0.3356, allocations: 7.938 kB / 1.054 GB, free: 7.133 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 4.903e-05/0.3357, allocations: 11.98 kB / 1.054 GB, free: 7.121 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.497e-05/0.3357, allocations: 0 / 1.054 GB, free: 7.121 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000119/0.3358, allocations: 59.89 kB / 1.054 GB, free: 7.062 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.019e-05/0.3358, allocations: 0 / 1.054 GB, free: 7.062 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 2.47e-05/0.3359, allocations: 7.984 kB / 1.054 GB, free: 7.055 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001263/0.336, allocations: 52.11 kB / 1.054 GB, free: 7.004 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.336, allocations: 0 / 1.054 GB, free: 7.004 MB / 0.8106 GB Notification: Performance of FrontEnd: time 8.41e-07/0.336, allocations: 0 / 1.054 GB, free: 7.004 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.597e-06/0.336, allocations: 0 / 1.054 GB, free: 7.004 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.000355/0.3364, allocations: 339.5 kB / 1.054 GB, free: 6.621 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.277e-05/0.3364, allocations: 12.03 kB / 1.054 GB, free: 6.609 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002241/0.3367, allocations: 12.92 kB / 1.054 GB, free: 6.598 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001011/0.3368, allocations: 172.3 kB / 1.054 GB, free: 6.391 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.028e-05/0.3368, allocations: 384 / 1.054 GB, free: 6.391 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.174e-06/0.3368, allocations: 384 / 1.054 GB, free: 6.391 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001075/0.3369, allocations: 42.25 kB / 1.054 GB, free: 6.344 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.873e-06/0.3369, allocations: 4.188 kB / 1.054 GB, free: 6.34 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.441e-05/0.337, allocations: 3.938 kB / 1.054 GB, free: 6.336 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.509e-06/0.337, allocations: 3.938 kB / 1.054 GB, free: 6.332 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.054e-05/0.337, allocations: 16 kB / 1.054 GB, free: 6.316 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001416/0.3372, allocations: 157.7 kB / 1.055 GB, free: 6.113 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002091/0.3393, allocations: 262.5 kB / 1.055 GB, free: 5.848 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.898e-05/0.3393, allocations: 28.84 kB / 1.055 GB, free: 5.816 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.015e-05/0.3393, allocations: 0 / 1.055 GB, free: 5.816 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.636e-05/0.3394, allocations: 34.56 kB / 1.055 GB, free: 5.773 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=4): time 2.214e-06/0.3394, allocations: 0 / 1.055 GB, free: 5.773 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4): time 0.0001871/0.3396, allocations: 77.48 kB / 1.055 GB, free: 5.691 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.139e-05/0.3397, allocations: 55.41 kB / 1.055 GB, free: 5.625 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.978e-05/0.3397, allocations: 89.86 kB / 1.055 GB, free: 5.527 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.177e-05/0.3397, allocations: 29.7 kB / 1.055 GB, free: 5.492 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 2.306e-05/0.3398, allocations: 80.14 kB / 1.055 GB, free: 5.41 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.903e-05/0.3398, allocations: 19.78 kB / 1.055 GB, free: 5.391 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.271e-05/0.3398, allocations: 13.72 kB / 1.055 GB, free: 5.371 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.457e-05/0.3399, allocations: 314.8 kB / 1.056 GB, free: 5.055 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.249e-05/0.34, allocations: 12.12 kB / 1.056 GB, free: 5.043 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.014e-05/0.34, allocations: 15.98 kB / 1.056 GB, free: 5.027 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.9e-05/0.34, allocations: 24.8 kB / 1.056 GB, free: 5 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.744e-06/0.3401, allocations: 0 / 1.056 GB, free: 5 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.043e-05/0.3401, allocations: 53.69 kB / 1.056 GB, free: 4.941 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.434e-05/0.3402, allocations: 4 kB / 1.056 GB, free: 4.938 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.07e-06/0.3402, allocations: 7.938 kB / 1.056 GB, free: 4.93 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.29e-05/0.3402, allocations: 0 / 1.056 GB, free: 4.93 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.213e-05/0.3403, allocations: 4 kB / 1.056 GB, free: 4.926 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.401e-06/0.3403, allocations: 0 / 1.056 GB, free: 4.926 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.316e-05/0.3403, allocations: 7.906 kB / 1.056 GB, free: 4.918 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.514e-06/0.3403, allocations: 4 kB / 1.056 GB, free: 4.914 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.371e-05/0.3404, allocations: 113.8 kB / 1.056 GB, free: 4.793 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.738e-06/0.3404, allocations: 0 / 1.056 GB, free: 4.793 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.141e-05/0.3405, allocations: 15.44 kB / 1.056 GB, free: 4.777 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-06/0.3405, allocations: 3.938 kB / 1.056 GB, free: 4.773 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.3405, allocations: 0 / 1.056 GB, free: 4.773 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.834e-06/0.3405, allocations: 0 / 1.056 GB, free: 4.773 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.839e-05/0.3406, allocations: 153.7 kB / 1.056 GB, free: 4.574 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.3406, allocations: 4 kB / 1.056 GB, free: 4.57 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.277e-05/0.3406, allocations: 8 kB / 1.056 GB, free: 4.562 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.3406, allocations: 0 / 1.056 GB, free: 4.562 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.035e-05/0.3407, allocations: 3.938 kB / 1.056 GB, free: 4.559 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.3407, allocations: 0 / 1.056 GB, free: 4.559 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.3407, allocations: 0 / 1.056 GB, free: 4.559 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.8e-05/0.3408, allocations: 77.12 kB / 1.056 GB, free: 4.465 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 6.368e-05/0.3408, allocations: 92.97 kB / 1.056 GB, free: 4.355 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.347e-05/0.3409, allocations: 3.938 kB / 1.056 GB, free: 4.352 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.864e-05/0.3409, allocations: 4 kB / 1.056 GB, free: 4.348 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.682e-05/0.341, allocations: 4 kB / 1.056 GB, free: 4.344 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.513e-06/0.341, allocations: 0 / 1.056 GB, free: 4.344 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 3.047e-05/0.341, allocations: 83.2 kB / 1.056 GB, free: 4.262 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.2e-07/0.341, allocations: 0 / 1.056 GB, free: 4.262 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0001917/0.3412, allocations: 12 kB / 1.056 GB, free: 4.25 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.0001019/0.3413, allocations: 95.25 kB / 1.056 GB, free: 4.145 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 9.024e-05/0.3414, allocations: 28.08 kB / 1.056 GB, free: 4.117 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/0.3414, allocations: 0 / 1.056 GB, free: 4.117 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 2.246e-05/0.3414, allocations: 12.47 kB / 1.056 GB, free: 4.105 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002542/0.3417, allocations: 15.92 kB / 1.056 GB, free: 4.09 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003033/0.342, allocations: 132.3 kB / 1.057 GB, free: 3.934 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001973/0.3422, allocations: 0.677 MB / 1.057 GB, free: 3.23 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 5.223e-05/0.3423, allocations: 7.938 kB / 1.057 GB, free: 3.223 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.506e-05/0.3423, allocations: 11.44 kB / 1.057 GB, free: 3.211 MB / 0.8106 GB Notification: Performance of SimCode: time 2.4e-07/0.3423, allocations: 4 kB / 1.057 GB, free: 3.207 MB / 0.8106 GB Notification: Performance of Templates: time 0.002294/0.3446, allocations: 0.4929 MB / 1.058 GB, free: 2.719 MB / 0.8106 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