Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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_TDewPoi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T|TInv|p_w|dT",fileNamePrefix="Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi") translateModel(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T|TInv|p_w|dT",fileNamePrefix="Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001081/0.001081, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001202/0.001202, allocations: 196.8 kB / 16.14 MB, free: 6.711 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.434/1.434, allocations: 222.9 MB / 239.8 MB, free: 4.539 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.573/2.573, allocations: 390.2 MB / 0.6642 GB, free: 0.5625 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00124/0.001241, allocations: 67.84 kB / 0.8119 GB, free: 14.84 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8511/0.8524, allocations: 140.4 MB / 0.9489 GB, free: 9.207 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi): time 0.004187/0.8566, allocations: 1.33 MB / 0.9502 GB, free: 8.152 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001936/0.8586, allocations: 0.8844 MB / 0.9511 GB, free: 7.48 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.477e-05/0.8586, allocations: 4 kB / 0.9511 GB, free: 7.477 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.983e-05/0.8587, allocations: 0 / 0.9511 GB, free: 7.477 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.419e-05/0.8588, allocations: 13.25 kB / 0.9511 GB, free: 7.465 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006947/0.8595, allocations: 150 kB / 0.9513 GB, free: 7.371 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.613e-05/0.8595, allocations: 16.66 kB / 0.9513 GB, free: 7.363 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.717e-05/0.8596, allocations: 6.312 kB / 0.9513 GB, free: 7.359 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.006e-05/0.8596, allocations: 11.86 kB / 0.9513 GB, free: 7.352 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.759e-05/0.8597, allocations: 11.47 kB / 0.9513 GB, free: 7.344 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.568e-05/0.8597, allocations: 0 / 0.9513 GB, free: 7.344 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004468/0.8602, allocations: 197.3 kB / 0.9515 GB, free: 7.242 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.714e-05/0.8602, allocations: 5.484 kB / 0.9515 GB, free: 7.238 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.275e-05/0.8602, allocations: 7.938 kB / 0.9515 GB, free: 7.234 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003742/0.8606, allocations: 148.8 kB / 0.9516 GB, free: 7.152 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.843e-06/0.8606, allocations: 1.031 kB / 0.9516 GB, free: 7.152 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.944e-06/0.8606, allocations: 0 / 0.9516 GB, free: 7.152 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.059e-06/0.8607, allocations: 0 / 0.9516 GB, free: 7.152 MB / 0.7169 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.0004868/0.8612, allocations: 363 kB / 0.952 GB, free: 6.77 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.934e-05/0.8612, allocations: 9.844 kB / 0.952 GB, free: 6.77 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000227/0.8614, allocations: 12.58 kB / 0.952 GB, free: 6.762 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001092/0.8616, allocations: 161.6 kB / 0.9522 GB, free: 6.566 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.308e-05/0.8616, allocations: 1.625 kB / 0.9522 GB, free: 6.566 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.582e-05/0.8616, allocations: 5.188 kB / 0.9522 GB, free: 6.562 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001556/0.8618, allocations: 45.61 kB / 0.9522 GB, free: 6.52 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.186e-05/0.8618, allocations: 7.938 kB / 0.9522 GB, free: 6.512 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.516e-05/0.8618, allocations: 0 / 0.9522 GB, free: 6.512 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.887e-06/0.8618, allocations: 9.172 kB / 0.9522 GB, free: 6.504 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.979e-05/0.8619, allocations: 12.78 kB / 0.9522 GB, free: 6.5 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001904/0.8621, allocations: 154.8 kB / 0.9524 GB, free: 6.305 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001054/0.8632, allocations: 129.8 kB / 0.9525 GB, free: 6.242 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.272e-05/0.8632, allocations: 28.84 kB / 0.9525 GB, free: 6.219 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001373/0.8634, allocations: 81.86 kB / 0.9526 GB, free: 6.125 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.391e-05/0.8634, allocations: 32.25 kB / 0.9526 GB, free: 6.086 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 1.392e-06/0.8634, allocations: 3.938 kB / 0.9527 GB, free: 6.082 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4): time 0.000236/0.8636, allocations: 65.14 kB / 0.9527 GB, free: 6.031 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.699e-05/0.8637, allocations: 52.81 kB / 0.9528 GB, free: 5.969 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.54e-05/0.8638, allocations: 91.55 kB / 0.9529 GB, free: 5.871 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.403e-05/0.8638, allocations: 33.77 kB / 0.9529 GB, free: 5.832 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.043e-05/0.8638, allocations: 85.84 kB / 0.953 GB, free: 5.746 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.886e-05/0.8639, allocations: 13.12 kB / 0.953 GB, free: 5.734 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.289e-05/0.8639, allocations: 16.7 kB / 0.953 GB, free: 5.715 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.595e-05/0.864, allocations: 315.9 kB / 0.9533 GB, free: 5.398 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.5e-05/0.864, allocations: 4.312 kB / 0.9533 GB, free: 5.398 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.126e-05/0.864, allocations: 9.719 kB / 0.9533 GB, free: 5.395 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.341e-05/0.8641, allocations: 31.56 kB / 0.9533 GB, free: 5.371 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.8641, allocations: 4 kB / 0.9533 GB, free: 5.367 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.791e-05/0.8642, allocations: 57.22 kB / 0.9534 GB, free: 5.32 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.638e-05/0.8642, allocations: 5.469 kB / 0.9534 GB, free: 5.32 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.591e-06/0.8642, allocations: 3.938 kB / 0.9534 GB, free: 5.316 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.57e-05/0.8643, allocations: 1.5 kB / 0.9534 GB, free: 5.316 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.681e-05/0.8643, allocations: 5 kB / 0.9534 GB, free: 5.316 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.175e-06/0.8643, allocations: 0 / 0.9534 GB, free: 5.316 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.4e-05/0.8644, allocations: 9.297 kB / 0.9534 GB, free: 5.309 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.846e-06/0.8644, allocations: 1.688 kB / 0.9534 GB, free: 5.309 MB / 0.7169 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 6.543e-05/0.8645, allocations: 111.6 kB / 0.9535 GB, free: 5.191 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.608e-05/0.8645, allocations: 12.62 kB / 0.9535 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003007/0.8648, allocations: 79.56 kB / 0.9536 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.8648, allocations: 0 / 0.9536 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.923e-06/0.8648, allocations: 1.156 kB / 0.9536 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.8648, allocations: 4.328 kB / 0.9536 GB, free: 5.109 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001045/0.8649, allocations: 159.1 kB / 0.9538 GB, free: 4.91 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.865, allocations: 1.156 kB / 0.9538 GB, free: 4.91 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.073e-05/0.865, allocations: 10.52 kB / 0.9538 GB, free: 4.906 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.689e-06/0.865, allocations: 5.484 kB / 0.9538 GB, free: 4.902 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.159e-05/0.865, allocations: 4 kB / 0.9538 GB, free: 4.898 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.816e-06/0.8651, allocations: 1.875 kB / 0.9538 GB, free: 4.898 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.8651, allocations: 0 / 0.9538 GB, free: 4.898 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000136/0.8652, allocations: 100.4 kB / 0.9539 GB, free: 4.801 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 4.888e-05/0.8653, allocations: 79.92 kB / 0.954 GB, free: 4.707 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.734e-05/0.8653, allocations: 0 / 0.954 GB, free: 4.707 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.581e-05/0.8653, allocations: 5.453 kB / 0.954 GB, free: 4.703 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.456e-05/0.8654, allocations: 2.438 kB / 0.954 GB, free: 4.703 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.935e-06/0.8654, allocations: 5.25 kB / 0.954 GB, free: 4.699 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.584e-05/0.8654, allocations: 80.69 kB / 0.9541 GB, free: 4.621 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8654, allocations: 0 / 0.9541 GB, free: 4.621 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003388/0.8658, allocations: 48.08 kB / 0.9541 GB, free: 4.609 MB / 0.7169 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 (5): * Single equations (assignments): 5 * 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.000428/0.8662, allocations: 171.8 kB / 0.9543 GB, free: 4.492 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001237/0.8663, allocations: 24 kB / 0.9543 GB, free: 4.484 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/0.8663, allocations: 0 / 0.9543 GB, free: 4.484 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 3.336e-05/0.8664, allocations: 18.89 kB / 0.9543 GB, free: 4.477 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001883/0.8666, allocations: 13.09 kB / 0.9543 GB, free: 4.469 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003631/0.867, allocations: 132.4 kB / 0.9544 GB, free: 4.34 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001481/0.8671, allocations: 0.6783 MB / 0.9551 GB, free: 3.641 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 8.033e-05/0.8672, allocations: 12.98 kB / 0.9551 GB, free: 3.633 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.308e-05/0.8672, allocations: 18.16 kB / 0.9551 GB, free: 3.617 MB / 0.7169 GB Notification: Performance of SimCode: time 3.21e-07/0.8672, allocations: 0 / 0.9551 GB, free: 3.617 MB / 0.7169 GB Notification: Performance of Templates: time 0.004748/0.872, allocations: 1.026 MB / 0.9561 GB, free: 3.09 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.makefile (rm -f Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe ; mkfifo Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe >> ../files/Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.sim & ./Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches