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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.008196/0.008196, allocations: 100.5 kB / 15.87 MB, free: 5.863 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.00189/0.001889, allocations: 188.7 kB / 16.79 MB, free: 5.805 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.374/1.374, allocations: 222.9 MB / 240.5 MB, free: 4.551 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.444/2.444, allocations: 390.2 MB / 0.6649 GB, free: 0.625 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001377/0.001377, allocations: 63.91 kB / 0.8125 GB, free: 14.87 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7314/0.7328, allocations: 140.3 MB / 0.9496 GB, free: 9.105 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi): time 0.002736/0.7356, allocations: 1.342 MB / 0.9509 GB, free: 8.039 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.00161/0.7372, allocations: 0.8915 MB / 0.9518 GB, free: 7.359 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.099e-05/0.7373, allocations: 1.125 kB / 0.9518 GB, free: 7.359 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.754e-05/0.7373, allocations: 3.938 kB / 0.9518 GB, free: 7.355 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.958e-05/0.7374, allocations: 5.25 kB / 0.9518 GB, free: 7.352 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007167/0.7381, allocations: 146.3 kB / 0.9519 GB, free: 7.258 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.162e-05/0.7382, allocations: 20.52 kB / 0.9519 GB, free: 7.246 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.766e-05/0.7382, allocations: 5.781 kB / 0.9519 GB, free: 7.242 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.11e-05/0.7383, allocations: 13.17 kB / 0.9519 GB, free: 7.234 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.097e-05/0.7383, allocations: 3.094 kB / 0.952 GB, free: 7.234 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.181e-05/0.7383, allocations: 0 / 0.952 GB, free: 7.234 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000394/0.7387, allocations: 197.1 kB / 0.9521 GB, free: 7.133 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.234e-05/0.7388, allocations: 5.5 kB / 0.9521 GB, free: 7.129 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.798e-05/0.7388, allocations: 8.438 kB / 0.9522 GB, free: 7.125 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.000228/0.739, allocations: 99.02 kB / 0.9522 GB, free: 7.078 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.496e-06/0.739, allocations: 0 / 0.9522 GB, free: 7.078 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.102e-06/0.739, allocations: 0 / 0.9522 GB, free: 7.078 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.027e-06/0.7391, allocations: 0 / 0.9522 GB, free: 7.078 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.0003784/0.7394, allocations: 366.8 kB / 0.9526 GB, free: 6.691 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.85e-05/0.7395, allocations: 9.688 kB / 0.9526 GB, free: 6.691 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001862/0.7397, allocations: 16.8 kB / 0.9526 GB, free: 6.68 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.562e-05/0.7398, allocations: 165.5 kB / 0.9528 GB, free: 6.48 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.396e-05/0.7398, allocations: 1.469 kB / 0.9528 GB, free: 6.48 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.078e-05/0.7398, allocations: 5.406 kB / 0.9528 GB, free: 6.477 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001276/0.7399, allocations: 41 kB / 0.9528 GB, free: 6.438 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.876e-06/0.7399, allocations: 3.984 kB / 0.9528 GB, free: 6.434 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.295e-05/0.74, allocations: 1.562 kB / 0.9528 GB, free: 6.434 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-06/0.74, allocations: 3.938 kB / 0.9528 GB, free: 6.43 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.934e-05/0.74, allocations: 16.83 kB / 0.9528 GB, free: 6.422 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001289/0.7402, allocations: 158.2 kB / 0.953 GB, free: 6.223 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009613/0.7411, allocations: 134.4 kB / 0.9531 GB, free: 6.156 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.118e-05/0.7412, allocations: 25.12 kB / 0.9532 GB, free: 6.137 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 9.653e-05/0.7413, allocations: 86.2 kB / 0.9532 GB, free: 6.039 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.561e-05/0.7413, allocations: 31.88 kB / 0.9533 GB, free: 6 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 1.202e-06/0.7413, allocations: 0 / 0.9533 GB, free: 6 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4): time 0.0001712/0.7415, allocations: 65.33 kB / 0.9533 GB, free: 5.949 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.279e-05/0.7415, allocations: 52.53 kB / 0.9534 GB, free: 5.887 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.001e-05/0.7416, allocations: 94.98 kB / 0.9535 GB, free: 5.785 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 9.378e-06/0.7416, allocations: 25.7 kB / 0.9535 GB, free: 5.754 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.226e-05/0.7416, allocations: 85.17 kB / 0.9536 GB, free: 5.668 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.74e-05/0.7416, allocations: 18.08 kB / 0.9536 GB, free: 5.652 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.235e-05/0.7417, allocations: 17.11 kB / 0.9536 GB, free: 5.633 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.757e-05/0.7417, allocations: 315.8 kB / 0.9539 GB, free: 5.316 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.309e-05/0.7418, allocations: 4.375 kB / 0.9539 GB, free: 5.316 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.95e-05/0.7418, allocations: 8.375 kB / 0.9539 GB, free: 5.312 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.863e-05/0.7418, allocations: 28.09 kB / 0.9539 GB, free: 5.293 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.7418, allocations: 0 / 0.9539 GB, free: 5.293 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.081e-05/0.7419, allocations: 57.91 kB / 0.954 GB, free: 5.246 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.204e-05/0.742, allocations: 8.406 kB / 0.954 GB, free: 5.242 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.009e-06/0.742, allocations: 1.156 kB / 0.954 GB, free: 5.242 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.167e-05/0.742, allocations: 3.938 kB / 0.954 GB, free: 5.238 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.107e-05/0.742, allocations: 6.812 kB / 0.954 GB, free: 5.238 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.5e-06/0.7421, allocations: 3.938 kB / 0.954 GB, free: 5.234 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.077e-05/0.7421, allocations: 5.031 kB / 0.954 GB, free: 5.23 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.036e-06/0.7421, allocations: 5.234 kB / 0.954 GB, free: 5.227 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 4.961e-05/0.7422, allocations: 107.1 kB / 0.9541 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.417e-05/0.7422, allocations: 10.5 kB / 0.9541 GB, free: 5.105 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002543/0.7424, allocations: 77.39 kB / 0.9542 GB, free: 5.039 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.7424, allocations: 1.188 kB / 0.9542 GB, free: 5.039 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.7425, allocations: 0 / 0.9542 GB, free: 5.039 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.135e-06/0.7425, allocations: 1.609 kB / 0.9542 GB, free: 5.039 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.198e-05/0.7425, allocations: 163.5 kB / 0.9544 GB, free: 4.836 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.7425, allocations: 7.938 kB / 0.9544 GB, free: 4.828 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.671e-05/0.7426, allocations: 14.92 kB / 0.9544 GB, free: 4.82 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/0.7426, allocations: 5.25 kB / 0.9544 GB, free: 4.816 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.766e-06/0.7426, allocations: 3.984 kB / 0.9544 GB, free: 4.812 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.7426, allocations: 1.656 kB / 0.9544 GB, free: 4.812 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.7426, allocations: 0 / 0.9544 GB, free: 4.812 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000102/0.7428, allocations: 89.47 kB / 0.9545 GB, free: 4.727 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.297e-05/0.7428, allocations: 78.55 kB / 0.9546 GB, free: 4.633 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.431e-05/0.7428, allocations: 5.375 kB / 0.9546 GB, free: 4.629 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.249e-05/0.7429, allocations: 5.141 kB / 0.9546 GB, free: 4.625 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.626e-05/0.7429, allocations: 1.188 kB / 0.9546 GB, free: 4.625 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.574e-06/0.7429, allocations: 5.906 kB / 0.9546 GB, free: 4.621 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.681e-05/0.7429, allocations: 76.03 kB / 0.9547 GB, free: 4.547 MB / 0.7169 GB Notification: Performance of sort global known variables: time 7.32e-07/0.7429, allocations: 1.156 kB / 0.9547 GB, free: 4.547 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002549/0.7432, allocations: 51.98 kB / 0.9547 GB, free: 4.531 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.0003535/0.7435, allocations: 173.4 kB / 0.9549 GB, free: 4.418 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001081/0.7437, allocations: 24.16 kB / 0.9549 GB, free: 4.41 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/0.7437, allocations: 0 / 0.9549 GB, free: 4.41 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 2.945e-05/0.7437, allocations: 18.64 kB / 0.9549 GB, free: 4.402 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001756/0.7439, allocations: 9.484 kB / 0.9549 GB, free: 4.398 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003077/0.7442, allocations: 165.7 kB / 0.9551 GB, free: 4.23 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.328e-05/0.7443, allocations: 0.6774 MB / 0.9557 GB, free: 3.531 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.963e-05/0.7443, allocations: 15.19 kB / 0.9558 GB, free: 3.52 MB / 0.7169 GB Notification: Performance of SimCode: time 2.61e-07/0.7444, allocations: 0 / 0.9558 GB, free: 3.52 MB / 0.7169 GB Notification: Performance of Templates: time 0.002529/0.7469, allocations: 1.03 MB / 0.9568 GB, free: 3 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/jenkins1/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