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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.001044/0.001044, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.001067/0.001067, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.475/1.475, allocations: 223.3 MB / 240 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.878/2.878, allocations: 462.6 MB / 0.736 GB, free: 15.76 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003714/0.0003715, allocations: 12.56 kB / 0.9021 GB, free: 36.63 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3482/0.3485, allocations: 159.6 MB / 1.058 GB, free: 5.371 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X): time 0.001539/0.3501, allocations: 0.9784 MB / 1.059 GB, free: 4.383 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0006191/0.3508, allocations: 283.2 kB / 1.059 GB, free: 4.105 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.494e-05/0.3508, allocations: 0 / 1.059 GB, free: 4.105 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.584e-05/0.3509, allocations: 0 / 1.059 GB, free: 4.105 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 5.42e-05/0.3509, allocations: 7.922 kB / 1.059 GB, free: 4.098 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003066/0.3512, allocations: 47.81 kB / 1.059 GB, free: 4.051 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 5.753e-05/0.3513, allocations: 15.94 kB / 1.059 GB, free: 4.035 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 4.604e-05/0.3513, allocations: 0 / 1.059 GB, free: 4.035 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 3.881e-05/0.3514, allocations: 4 kB / 1.059 GB, free: 4.031 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 5.638e-05/0.3515, allocations: 15.91 kB / 1.059 GB, free: 4.016 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.143e-05/0.3515, allocations: 0 / 1.059 GB, free: 4.016 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001266/0.3516, allocations: 51.95 kB / 1.059 GB, free: 3.965 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 9.288e-06/0.3516, allocations: 4 kB / 1.059 GB, free: 3.961 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 2.613e-05/0.3517, allocations: 25.7 kB / 1.059 GB, free: 3.93 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001016/0.3518, allocations: 36.19 kB / 1.059 GB, free: 3.895 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 6.182e-06/0.3518, allocations: 8 kB / 1.059 GB, free: 3.887 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.713e-06/0.3518, allocations: 0 / 1.059 GB, free: 3.887 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.248e-06/0.3518, allocations: 0 / 1.059 GB, free: 3.887 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.0003292/0.3521, allocations: 331.3 kB / 1.06 GB, free: 3.516 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.867e-05/0.3522, allocations: 8.031 kB / 1.06 GB, free: 3.508 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002264/0.3524, allocations: 15.98 kB / 1.06 GB, free: 3.492 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000114/0.3525, allocations: 171 kB / 1.06 GB, free: 3.285 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.518e-05/0.3526, allocations: 7.938 kB / 1.06 GB, free: 3.277 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.244e-05/0.3526, allocations: 8 kB / 1.06 GB, free: 3.27 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001283/0.3527, allocations: 37.69 kB / 1.06 GB, free: 3.227 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.027e-06/0.3527, allocations: 0 / 1.06 GB, free: 3.227 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.502e-05/0.3527, allocations: 3.938 kB / 1.06 GB, free: 3.223 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.059e-06/0.3528, allocations: 4 kB / 1.06 GB, free: 3.219 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.567e-05/0.3528, allocations: 12 kB / 1.06 GB, free: 3.207 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001741/0.353, allocations: 153.7 kB / 1.06 GB, free: 3.008 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001843/0.3549, allocations: 282.3 kB / 1.06 GB, free: 2.723 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.004e-05/0.3549, allocations: 20.84 kB / 1.06 GB, free: 2.699 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.89e-05/0.355, allocations: 4 kB / 1.06 GB, free: 2.695 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.546e-05/0.355, allocations: 30.56 kB / 1.06 GB, free: 2.656 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=4): time 1.333e-06/0.355, allocations: 0 / 1.06 GB, free: 2.656 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4): time 0.0002093/0.3552, allocations: 65.86 kB / 1.061 GB, free: 2.586 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.305e-05/0.3553, allocations: 51.41 kB / 1.061 GB, free: 2.523 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.026e-05/0.3553, allocations: 89.86 kB / 1.061 GB, free: 2.426 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.132e-05/0.3554, allocations: 33.7 kB / 1.061 GB, free: 2.387 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 3.969e-05/0.3554, allocations: 88.14 kB / 1.061 GB, free: 2.297 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 4.024e-05/0.3555, allocations: 19.78 kB / 1.061 GB, free: 2.277 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.637e-06/0.3555, allocations: 0 / 1.061 GB, free: 2.277 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001137/0.3556, allocations: 310.8 kB / 1.061 GB, free: 1.965 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.069e-05/0.3556, allocations: 12 kB / 1.061 GB, free: 1.953 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.009e-05/0.3557, allocations: 11.98 kB / 1.061 GB, free: 1.941 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.004e-05/0.3557, allocations: 8 kB / 1.061 GB, free: 1.934 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.3557, allocations: 0 / 1.061 GB, free: 1.934 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.945e-05/0.3558, allocations: 57.64 kB / 1.061 GB, free: 1.871 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.779e-05/0.3558, allocations: 4 kB / 1.061 GB, free: 1.867 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.703e-06/0.3558, allocations: 4 kB / 1.061 GB, free: 1.863 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.287e-05/0.3559, allocations: 0 / 1.061 GB, free: 1.863 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.534e-05/0.3559, allocations: 8 kB / 1.061 GB, free: 1.855 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.232e-06/0.3559, allocations: 0 / 1.061 GB, free: 1.855 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.141e-05/0.356, allocations: 0 / 1.061 GB, free: 1.855 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.052e-06/0.356, allocations: 3.938 kB / 1.061 GB, free: 1.852 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.348e-05/0.3561, allocations: 113.8 kB / 1.061 GB, free: 1.73 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.228e-05/0.3561, allocations: 7.859 kB / 1.061 GB, free: 1.723 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.673e-05/0.3561, allocations: 7.5 kB / 1.061 GB, free: 1.715 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.789e-06/0.3561, allocations: 7.984 kB / 1.061 GB, free: 1.707 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.726e-06/0.3562, allocations: 4 kB / 1.061 GB, free: 1.703 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.3562, allocations: 3.938 kB / 1.061 GB, free: 1.699 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001226/0.3563, allocations: 153.7 kB / 1.062 GB, free: 1.5 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.3563, allocations: 0 / 1.062 GB, free: 1.5 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.747e-05/0.3564, allocations: 4 kB / 1.062 GB, free: 1.496 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.783e-06/0.3564, allocations: 3.953 kB / 1.062 GB, free: 1.492 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.346e-05/0.3564, allocations: 4 kB / 1.062 GB, free: 1.488 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.525e-06/0.3564, allocations: 0 / 1.062 GB, free: 1.488 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.3564, allocations: 0 / 1.062 GB, free: 1.488 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001292/0.3565, allocations: 89.06 kB / 1.062 GB, free: 1.383 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 7.667e-05/0.3566, allocations: 85.03 kB / 1.062 GB, free: 1.281 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.678e-05/0.3566, allocations: 7.953 kB / 1.062 GB, free: 1.273 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.42e-05/0.3567, allocations: 0 / 1.062 GB, free: 1.273 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.894e-05/0.3567, allocations: 0 / 1.062 GB, free: 1.273 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.849e-06/0.3567, allocations: 0 / 1.062 GB, free: 1.273 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 3.354e-05/0.3568, allocations: 79.28 kB / 1.062 GB, free: 1.195 MB / 0.8106 GB Notification: Performance of sort global known variables: time 2.8e-07/0.3568, allocations: 96 / 1.062 GB, free: 1.195 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0001929/0.357, allocations: 8 kB / 1.062 GB, free: 1.188 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001618/0.3572, allocations: 99.25 kB / 1.062 GB, free: 1.078 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 9.867e-05/0.3573, allocations: 23.98 kB / 1.062 GB, free: 1.055 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.3573, allocations: 0 / 1.062 GB, free: 1.055 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 2.762e-05/0.3573, allocations: 19.92 kB / 1.062 GB, free: 1.035 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002535/0.3576, allocations: 15.88 kB / 1.062 GB, free: 1.02 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003426/0.3579, allocations: 136.8 kB / 1.062 GB, free: 0.8555 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002446/0.3582, allocations: 0.6809 MB / 1.063 GB, free: 152 kB / 0.8106 GB Notification: Performance of simCode: alias equations: time 5.348e-05/0.3582, allocations: 8.234 kB / 1.063 GB, free: 144 kB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.486e-05/0.3583, allocations: 11.44 kB / 1.063 GB, free: 132 kB / 0.8106 GB Notification: Performance of SimCode: time 2.21e-07/0.3583, allocations: 0 / 1.063 GB, free: 132 kB / 0.8106 GB Notification: Performance of Templates: time 0.002555/0.3608, allocations: 476.4 kB / 1.063 GB, free: 15.66 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