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.007577/0.007577, allocations: 100.7 kB / 15.73 MB, free: 6.438 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.001371/0.001371, allocations: 194.9 kB / 16.68 MB, free: 6.355 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.442/1.442, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.755/2.755, allocations: 461.9 MB / 0.7348 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001472/0.001472, allocations: 67.91 kB / 1.054 GB, free: 7.156 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3424/0.3439, allocations: 157.4 MB / 1.208 GB, free: 9.648 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X): time 0.00245/0.3463, allocations: 1.262 MB / 1.209 GB, free: 8.371 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0005652/0.3469, allocations: 287.1 kB / 1.209 GB, free: 8.09 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.232e-05/0.347, allocations: 0 / 1.209 GB, free: 8.09 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.401e-05/0.347, allocations: 0 / 1.209 GB, free: 8.09 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 3.939e-05/0.3471, allocations: 7.875 kB / 1.209 GB, free: 8.082 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003445/0.3474, allocations: 55.73 kB / 1.209 GB, free: 8.027 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 6.437e-05/0.3475, allocations: 19.94 kB / 1.209 GB, free: 8.008 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 4.691e-05/0.3475, allocations: 0 / 1.209 GB, free: 8.008 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 4.24e-05/0.3476, allocations: 4 kB / 1.209 GB, free: 8.004 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 5.43e-05/0.3477, allocations: 7.984 kB / 1.209 GB, free: 7.996 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.096e-05/0.3477, allocations: 3.938 kB / 1.209 GB, free: 7.992 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000155/0.3478, allocations: 51.95 kB / 1.209 GB, free: 7.941 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.55e-05/0.3479, allocations: 11.98 kB / 1.209 GB, free: 7.93 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 2.444e-05/0.3479, allocations: 4 kB / 1.209 GB, free: 7.926 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.000141/0.348, allocations: 59.81 kB / 1.209 GB, free: 7.867 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.348, allocations: 0 / 1.209 GB, free: 7.867 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.593e-06/0.348, allocations: 3.938 kB / 1.209 GB, free: 7.863 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.92e-06/0.3481, allocations: 0 / 1.209 GB, free: 7.863 MB / 0.9669 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.0003546/0.3484, allocations: 333.6 kB / 1.21 GB, free: 7.488 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.7e-05/0.3485, allocations: 8.625 kB / 1.21 GB, free: 7.48 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002342/0.3487, allocations: 16.92 kB / 1.21 GB, free: 7.465 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001164/0.3488, allocations: 172.2 kB / 1.21 GB, free: 7.258 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.727e-06/0.3488, allocations: 12.31 kB / 1.21 GB, free: 7.246 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.168e-05/0.3489, allocations: 4.375 kB / 1.21 GB, free: 7.242 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.833e-05/0.349, allocations: 42.25 kB / 1.21 GB, free: 7.195 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.534e-06/0.349, allocations: 192 / 1.21 GB, free: 7.195 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.16e-05/0.349, allocations: 3.938 kB / 1.21 GB, free: 7.191 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.818e-06/0.349, allocations: 0 / 1.21 GB, free: 7.191 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.615e-05/0.3491, allocations: 12 kB / 1.21 GB, free: 7.18 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001672/0.3492, allocations: 157.6 kB / 1.21 GB, free: 6.977 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001805/0.351, allocations: 270.5 kB / 1.21 GB, free: 6.703 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.351e-05/0.3511, allocations: 20.84 kB / 1.21 GB, free: 6.68 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 9.668e-06/0.3511, allocations: 0 / 1.21 GB, free: 6.68 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.403e-05/0.3511, allocations: 38.56 kB / 1.211 GB, free: 6.633 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=4): time 8.42e-07/0.3511, allocations: 7.938 kB / 1.211 GB, free: 6.625 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4): time 0.0001647/0.3513, allocations: 61.56 kB / 1.211 GB, free: 6.559 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.34e-05/0.3514, allocations: 55.41 kB / 1.211 GB, free: 6.492 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.487e-05/0.3514, allocations: 93.86 kB / 1.211 GB, free: 6.391 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.431e-05/0.3514, allocations: 25.7 kB / 1.211 GB, free: 6.359 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 3.162e-05/0.3515, allocations: 80.14 kB / 1.211 GB, free: 6.277 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.088e-05/0.3515, allocations: 19.92 kB / 1.211 GB, free: 6.258 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.294e-05/0.3515, allocations: 13.72 kB / 1.211 GB, free: 6.238 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001093/0.3517, allocations: 314.8 kB / 1.211 GB, free: 5.922 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.155e-05/0.3517, allocations: 8 kB / 1.211 GB, free: 5.914 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.656e-05/0.3517, allocations: 7.984 kB / 1.211 GB, free: 5.906 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.113e-05/0.3518, allocations: 37.12 kB / 1.211 GB, free: 5.867 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.3518, allocations: 0 / 1.211 GB, free: 5.867 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.679e-05/0.3519, allocations: 57.62 kB / 1.211 GB, free: 5.805 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.296e-05/0.3519, allocations: 4 kB / 1.211 GB, free: 5.801 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.3519, allocations: 7.938 kB / 1.211 GB, free: 5.793 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.428e-05/0.3519, allocations: 0 / 1.211 GB, free: 5.793 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.881e-05/0.352, allocations: 8 kB / 1.211 GB, free: 5.785 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.31e-06/0.352, allocations: 0 / 1.211 GB, free: 5.785 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.696e-05/0.352, allocations: 0 / 1.211 GB, free: 5.785 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.428e-06/0.352, allocations: 0 / 1.211 GB, free: 5.785 MB / 0.9669 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.264e-05/0.3521, allocations: 113.8 kB / 1.211 GB, free: 5.664 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.077e-05/0.3521, allocations: 0 / 1.211 GB, free: 5.664 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.606e-05/0.3522, allocations: 11.44 kB / 1.211 GB, free: 5.652 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.884e-06/0.3522, allocations: 4 kB / 1.211 GB, free: 5.648 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.007e-06/0.3522, allocations: 0 / 1.211 GB, free: 5.648 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/0.3522, allocations: 4 kB / 1.211 GB, free: 5.645 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000121/0.3523, allocations: 157.6 kB / 1.212 GB, free: 5.441 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.3523, allocations: 0 / 1.212 GB, free: 5.441 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.805e-05/0.3524, allocations: 8 kB / 1.212 GB, free: 5.434 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.415e-06/0.3524, allocations: 7.875 kB / 1.212 GB, free: 5.426 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.796e-06/0.3524, allocations: 3.938 kB / 1.212 GB, free: 5.422 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.118e-06/0.3524, allocations: 4 kB / 1.212 GB, free: 5.418 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.464e-06/0.3524, allocations: 0 / 1.212 GB, free: 5.418 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001253/0.3526, allocations: 88.95 kB / 1.212 GB, free: 5.312 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 6.163e-05/0.3526, allocations: 77.11 kB / 1.212 GB, free: 5.219 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.228e-05/0.3526, allocations: 3.938 kB / 1.212 GB, free: 5.215 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.226e-05/0.3527, allocations: 8 kB / 1.212 GB, free: 5.207 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.616e-05/0.3527, allocations: 0 / 1.212 GB, free: 5.207 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.422e-06/0.3527, allocations: 3.984 kB / 1.212 GB, free: 5.203 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 4.2e-05/0.3528, allocations: 79.28 kB / 1.212 GB, free: 5.125 MB / 0.9669 GB Notification: Performance of sort global known variables: time 2e-07/0.3528, allocations: 4.094 kB / 1.212 GB, free: 5.121 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.000185/0.353, allocations: 4 kB / 1.212 GB, free: 5.117 MB / 0.9669 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.0001023/0.3531, allocations: 95.25 kB / 1.212 GB, free: 5.012 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 9.516e-05/0.3532, allocations: 31.92 kB / 1.212 GB, free: 4.98 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.3532, allocations: 0 / 1.212 GB, free: 4.98 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 2.305e-05/0.3532, allocations: 12 kB / 1.212 GB, free: 4.969 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002353/0.3535, allocations: 11.98 kB / 1.212 GB, free: 4.957 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00031/0.3538, allocations: 126.5 kB / 1.212 GB, free: 4.805 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002568/0.3541, allocations: 0.6768 MB / 1.213 GB, free: 4.102 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 4.683e-05/0.3541, allocations: 11.86 kB / 1.213 GB, free: 4.09 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.563e-05/0.3541, allocations: 7.438 kB / 1.213 GB, free: 4.086 MB / 0.9669 GB Notification: Performance of SimCode: time 5.61e-07/0.3541, allocations: 0 / 1.213 GB, free: 4.086 MB / 0.9669 GB Notification: Performance of Templates: time 0.002548/0.3567, allocations: 0.5227 MB / 1.213 GB, free: 3.57 MB / 0.9669 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