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.0009676/0.0009676, allocations: 97.78 kB / 16.02 MB, free: 72 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001237/0.001237, allocations: 182 kB / 16.92 MB, free: 6.914 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.361/1.361, allocations: 223.3 MB / 241 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.738/2.738, allocations: 462.6 MB / 0.737 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003571/0.0003571, allocations: 7.656 kB / 0.9034 GB, free: 36.46 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3605/0.3608, allocations: 159.6 MB / 1.059 GB, free: 4.957 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X): time 0.001372/0.3623, allocations: 0.9938 MB / 1.06 GB, free: 3.953 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0006099/0.3629, allocations: 287.2 kB / 1.061 GB, free: 3.672 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.693e-05/0.3629, allocations: 0 / 1.061 GB, free: 3.672 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.968e-05/0.3629, allocations: 3.984 kB / 1.061 GB, free: 3.668 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 4.979e-05/0.363, allocations: 11.92 kB / 1.061 GB, free: 3.656 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002485/0.3632, allocations: 43.77 kB / 1.061 GB, free: 3.613 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 5.217e-05/0.3633, allocations: 11.94 kB / 1.061 GB, free: 3.602 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 4.532e-05/0.3634, allocations: 0 / 1.061 GB, free: 3.602 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 3.982e-05/0.3634, allocations: 11.98 kB / 1.061 GB, free: 3.59 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 5.098e-05/0.3635, allocations: 7.984 kB / 1.061 GB, free: 3.582 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.417e-05/0.3635, allocations: 0 / 1.061 GB, free: 3.582 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001177/0.3636, allocations: 63.89 kB / 1.061 GB, free: 3.52 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.164e-05/0.3636, allocations: 0 / 1.061 GB, free: 3.52 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.967e-05/0.3637, allocations: 37.69 kB / 1.061 GB, free: 3.477 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 9.957e-05/0.3638, allocations: 36.19 kB / 1.061 GB, free: 3.441 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.3638, allocations: 0 / 1.061 GB, free: 3.441 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.563e-06/0.3638, allocations: 3.938 kB / 1.061 GB, free: 3.438 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.068e-06/0.3638, allocations: 0 / 1.061 GB, free: 3.438 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.0003869/0.3642, allocations: 331.5 kB / 1.061 GB, free: 3.062 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.087e-05/0.3642, allocations: 15.97 kB / 1.061 GB, free: 3.047 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002142/0.3645, allocations: 20.91 kB / 1.061 GB, free: 3.027 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001002/0.3646, allocations: 172.3 kB / 1.061 GB, free: 2.82 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.846e-06/0.3646, allocations: 384 / 1.061 GB, free: 2.82 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.007e-05/0.3646, allocations: 384 / 1.061 GB, free: 2.82 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001125/0.3647, allocations: 42.25 kB / 1.061 GB, free: 2.773 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.793e-06/0.3647, allocations: 192 / 1.061 GB, free: 2.773 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.295e-05/0.3648, allocations: 3.938 kB / 1.061 GB, free: 2.77 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.698e-06/0.3648, allocations: 0 / 1.061 GB, free: 2.77 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.171e-05/0.3648, allocations: 19.98 kB / 1.061 GB, free: 2.75 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001626/0.365, allocations: 157.7 kB / 1.062 GB, free: 2.547 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001787/0.3668, allocations: 270.3 kB / 1.062 GB, free: 2.273 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.745e-05/0.3668, allocations: 24.86 kB / 1.062 GB, free: 2.246 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 9.298e-06/0.3669, allocations: 4 kB / 1.062 GB, free: 2.242 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.546e-05/0.3669, allocations: 34.55 kB / 1.062 GB, free: 2.199 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=4): time 1.032e-06/0.3669, allocations: 0 / 1.062 GB, free: 2.199 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4): time 0.0001771/0.3671, allocations: 69.56 kB / 1.062 GB, free: 2.125 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.844e-05/0.3671, allocations: 55.39 kB / 1.062 GB, free: 2.059 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.204e-05/0.3672, allocations: 89.86 kB / 1.062 GB, free: 1.961 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.998e-05/0.3672, allocations: 29.83 kB / 1.062 GB, free: 1.926 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 2.784e-05/0.3673, allocations: 84.14 kB / 1.062 GB, free: 1.84 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.719e-05/0.3673, allocations: 7.812 kB / 1.062 GB, free: 1.832 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.344e-05/0.3673, allocations: 13.72 kB / 1.062 GB, free: 1.812 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001004/0.3674, allocations: 314.8 kB / 1.062 GB, free: 1.496 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.235e-05/0.3674, allocations: 11.98 kB / 1.062 GB, free: 1.484 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.423e-05/0.3675, allocations: 4 kB / 1.062 GB, free: 1.48 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.497e-05/0.3675, allocations: 28.86 kB / 1.063 GB, free: 1.449 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.3675, allocations: 0 / 1.063 GB, free: 1.449 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.028e-05/0.3676, allocations: 61.62 kB / 1.063 GB, free: 1.383 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.248e-05/0.3676, allocations: 4 kB / 1.063 GB, free: 1.379 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.944e-06/0.3676, allocations: 3.938 kB / 1.063 GB, free: 1.375 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.01e-05/0.3677, allocations: 3.938 kB / 1.063 GB, free: 1.371 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.374e-05/0.3677, allocations: 7.984 kB / 1.063 GB, free: 1.363 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.02e-06/0.3677, allocations: 4 kB / 1.063 GB, free: 1.359 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.681e-05/0.3678, allocations: 0 / 1.063 GB, free: 1.359 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.198e-06/0.3678, allocations: 0 / 1.063 GB, free: 1.359 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.269e-05/0.3679, allocations: 109.8 kB / 1.063 GB, free: 1.242 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.628e-06/0.3679, allocations: 7.906 kB / 1.063 GB, free: 1.234 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.11e-05/0.3679, allocations: 11.44 kB / 1.063 GB, free: 1.223 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.263e-06/0.3679, allocations: 3.938 kB / 1.063 GB, free: 1.219 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.656e-06/0.3679, allocations: 0 / 1.063 GB, free: 1.219 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.335e-06/0.3679, allocations: 0 / 1.063 GB, free: 1.219 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000108/0.368, allocations: 157.7 kB / 1.063 GB, free: 1.016 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.02e-07/0.368, allocations: 0 / 1.063 GB, free: 1.016 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.326e-05/0.3681, allocations: 8 kB / 1.063 GB, free: 1.008 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.687e-06/0.3681, allocations: 3.984 kB / 1.063 GB, free: 1.004 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.804e-06/0.3681, allocations: 3.938 kB / 1.063 GB, free: 1 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.648e-06/0.3681, allocations: 4 kB / 1.063 GB, free: 0.9961 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.3681, allocations: 11.94 kB / 1.063 GB, free: 0.9844 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001008/0.3682, allocations: 73.12 kB / 1.063 GB, free: 0.8945 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 6.178e-05/0.3683, allocations: 81.05 kB / 1.063 GB, free: 0.7969 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.088e-05/0.3683, allocations: 3.938 kB / 1.063 GB, free: 0.793 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.351e-05/0.3684, allocations: 8 kB / 1.063 GB, free: 0.7852 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.824e-05/0.3684, allocations: 3.984 kB / 1.063 GB, free: 0.7812 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.957e-06/0.3684, allocations: 0 / 1.063 GB, free: 0.7812 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 3.5e-05/0.3685, allocations: 83.28 kB / 1.063 GB, free: 0.6992 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3685, allocations: 0 / 1.063 GB, free: 0.6992 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0001729/0.3686, allocations: 4 kB / 1.063 GB, free: 0.6953 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.0001104/0.3688, allocations: 95.25 kB / 1.063 GB, free: 0.5898 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 8.741e-05/0.3689, allocations: 32.3 kB / 1.063 GB, free: 0.5586 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.3689, allocations: 0 / 1.063 GB, free: 0.5586 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 2.105e-05/0.3689, allocations: 12 kB / 1.063 GB, free: 0.5469 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00023/0.3691, allocations: 12.08 kB / 1.063 GB, free: 0.5352 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003024/0.3694, allocations: 170.3 kB / 1.063 GB, free: 340 kB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002466/0.3697, allocations: 0.6731 MB / 1.064 GB, free: 15.63 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.976e-05/0.3697, allocations: 15.38 kB / 1.064 GB, free: 15.62 MB / 0.8262 GB Notification: Performance of SimCode: time 3.31e-07/0.3697, allocations: 0 / 1.064 GB, free: 15.62 MB / 0.8262 GB Notification: Performance of Templates: time 0.001842/0.3716, allocations: 0.5332 MB / 1.065 GB, free: 15.09 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/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