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.001096/0.001096, allocations: 86.72 kB / 15.06 MB, free: 1.09 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.001229/0.001229, allocations: 168.7 kB / 15.95 MB, free: 204 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.405/1.405, allocations: 223.3 MB / 240 MB, free: 5.426 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.44/2.44, allocations: 390.9 MB / 0.666 GB, free: 2.57 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00036/0.0003603, allocations: 11.98 kB / 0.8154 GB, free: 13.7 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8217/0.822, allocations: 142.4 MB / 0.9544 GB, free: 7.828 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi): time 0.001993/0.8241, allocations: 0.9946 MB / 0.9554 GB, free: 7.027 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001693/0.8259, allocations: 0.8138 MB / 0.9562 GB, free: 6.395 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.27e-05/0.8259, allocations: 0 / 0.9562 GB, free: 6.395 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.425e-05/0.8259, allocations: 1.156 kB / 0.9562 GB, free: 6.395 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.071e-05/0.826, allocations: 7.922 kB / 0.9562 GB, free: 6.387 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006781/0.8267, allocations: 154 kB / 0.9564 GB, free: 6.289 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.679e-05/0.8268, allocations: 15.77 kB / 0.9564 GB, free: 6.281 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 6.253e-05/0.8268, allocations: 5.344 kB / 0.9564 GB, free: 6.277 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 5.297e-05/0.8269, allocations: 12.22 kB / 0.9564 GB, free: 6.27 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 7.513e-05/0.827, allocations: 7.891 kB / 0.9564 GB, free: 6.266 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.447e-05/0.827, allocations: 1 kB / 0.9564 GB, free: 6.266 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000393/0.8274, allocations: 168.9 kB / 0.9566 GB, free: 6.191 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.271e-05/0.8274, allocations: 7.922 kB / 0.9566 GB, free: 6.184 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.297e-05/0.8275, allocations: 28.17 kB / 0.9566 GB, free: 6.152 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002468/0.8277, allocations: 107.1 kB / 0.9567 GB, free: 6.098 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 7.193e-06/0.8277, allocations: 0 / 0.9567 GB, free: 6.098 MB / 0.7169 GB Notification: Performance of FrontEnd: time 3.938e-06/0.8278, allocations: 1.031 kB / 0.9567 GB, free: 6.098 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.174e-05/0.8278, allocations: 4 kB / 0.9567 GB, free: 6.094 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.0005059/0.8283, allocations: 355.7 kB / 0.957 GB, free: 5.715 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 6.297e-05/0.8284, allocations: 9.875 kB / 0.957 GB, free: 5.715 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000249/0.8286, allocations: 8.797 kB / 0.9571 GB, free: 5.711 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001103/0.8287, allocations: 164.2 kB / 0.9572 GB, free: 5.512 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.606e-05/0.8287, allocations: 0 / 0.9572 GB, free: 5.512 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.601e-05/0.8288, allocations: 2.406 kB / 0.9572 GB, free: 5.512 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001452/0.8289, allocations: 45.08 kB / 0.9573 GB, free: 5.469 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.839e-06/0.8289, allocations: 7.938 kB / 0.9573 GB, free: 5.461 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.38e-05/0.829, allocations: 0 / 0.9573 GB, free: 5.461 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.945e-06/0.829, allocations: 6.297 kB / 0.9573 GB, free: 5.457 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.011e-05/0.8291, allocations: 11.38 kB / 0.9573 GB, free: 5.453 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001792/0.8292, allocations: 157.5 kB / 0.9574 GB, free: 5.254 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00091/0.8302, allocations: 121.6 kB / 0.9575 GB, free: 5.195 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.656e-05/0.8302, allocations: 29.66 kB / 0.9576 GB, free: 5.172 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001595/0.8304, allocations: 81.98 kB / 0.9577 GB, free: 5.078 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.711e-05/0.8305, allocations: 39.59 kB / 0.9577 GB, free: 5.031 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 1.463e-06/0.8305, allocations: 0 / 0.9577 GB, free: 5.031 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4): time 0.0002641/0.8307, allocations: 61.33 kB / 0.9577 GB, free: 4.984 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.853e-05/0.8308, allocations: 60.42 kB / 0.9578 GB, free: 4.914 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.132e-05/0.8309, allocations: 90.98 kB / 0.9579 GB, free: 4.816 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.397e-05/0.8309, allocations: 26.92 kB / 0.9579 GB, free: 4.785 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.279e-05/0.8309, allocations: 80.14 kB / 0.958 GB, free: 4.703 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.863e-05/0.831, allocations: 13.11 kB / 0.958 GB, free: 4.691 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.641e-06/0.831, allocations: 9.125 kB / 0.958 GB, free: 4.684 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 7.808e-05/0.8311, allocations: 310.8 kB / 0.9583 GB, free: 4.371 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.33e-05/0.8311, allocations: 8.734 kB / 0.9583 GB, free: 4.367 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.776e-05/0.8311, allocations: 9.031 kB / 0.9583 GB, free: 4.363 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.67e-05/0.8312, allocations: 13.03 kB / 0.9583 GB, free: 4.355 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.8312, allocations: 0 / 0.9583 GB, free: 4.355 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.599e-05/0.8313, allocations: 57.45 kB / 0.9584 GB, free: 4.309 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.772e-05/0.8313, allocations: 4.844 kB / 0.9584 GB, free: 4.309 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.726e-06/0.8313, allocations: 1.094 kB / 0.9584 GB, free: 4.309 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.687e-05/0.8313, allocations: 4 kB / 0.9584 GB, free: 4.305 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.35e-05/0.8314, allocations: 11.11 kB / 0.9584 GB, free: 4.301 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.853e-06/0.8314, allocations: 0 / 0.9584 GB, free: 4.301 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.896e-05/0.8314, allocations: 7.891 kB / 0.9584 GB, free: 4.293 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.116e-05/0.8315, allocations: 6.953 kB / 0.9584 GB, free: 4.289 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.52e-05/0.8315, allocations: 109.8 kB / 0.9585 GB, free: 4.172 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.267e-05/0.8316, allocations: 9.781 kB / 0.9585 GB, free: 4.164 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002953/0.8319, allocations: 78.17 kB / 0.9586 GB, free: 4.098 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.955e-06/0.8319, allocations: 1.969 kB / 0.9586 GB, free: 4.098 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.364e-06/0.8319, allocations: 3.984 kB / 0.9586 GB, free: 4.094 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.342e-06/0.8319, allocations: 0 / 0.9586 GB, free: 4.094 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001071/0.832, allocations: 167.6 kB / 0.9588 GB, free: 3.887 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.41e-07/0.832, allocations: 0 / 0.9588 GB, free: 3.887 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.427e-05/0.8321, allocations: 8.406 kB / 0.9588 GB, free: 3.887 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.8321, allocations: 4 kB / 0.9588 GB, free: 3.883 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.467e-06/0.8321, allocations: 0 / 0.9588 GB, free: 3.883 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.845e-06/0.8321, allocations: 1.156 kB / 0.9588 GB, free: 3.883 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.8321, allocations: 0 / 0.9588 GB, free: 3.883 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000125/0.8322, allocations: 93.8 kB / 0.9589 GB, free: 3.793 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 5.172e-05/0.8323, allocations: 82.62 kB / 0.959 GB, free: 3.695 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.563e-05/0.8323, allocations: 0 / 0.959 GB, free: 3.695 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.551e-05/0.8324, allocations: 1.406 kB / 0.959 GB, free: 3.695 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.514e-05/0.8324, allocations: 11.12 kB / 0.959 GB, free: 3.688 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.713e-06/0.8324, allocations: 1.281 kB / 0.959 GB, free: 3.688 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.655e-05/0.8324, allocations: 75.28 kB / 0.9591 GB, free: 3.613 MB / 0.7169 GB Notification: Performance of sort global known variables: time 9e-08/0.8325, allocations: 1.562 kB / 0.9591 GB, free: 3.613 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002859/0.8327, allocations: 43.33 kB / 0.9591 GB, free: 3.605 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 (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.0005154/0.8333, allocations: 173.8 kB / 0.9593 GB, free: 3.488 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001335/0.8334, allocations: 28.39 kB / 0.9593 GB, free: 3.477 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.8334, allocations: 3.938 kB / 0.9593 GB, free: 3.473 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 3.012e-05/0.8335, allocations: 14.94 kB / 0.9593 GB, free: 3.469 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001767/0.8336, allocations: 7.312 kB / 0.9593 GB, free: 3.465 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003488/0.834, allocations: 135.9 kB / 0.9594 GB, free: 3.328 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001435/0.8342, allocations: 0.6827 MB / 0.9601 GB, free: 2.625 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 5.967e-05/0.8342, allocations: 4.094 kB / 0.9601 GB, free: 2.625 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.566e-05/0.8343, allocations: 15.44 kB / 0.9601 GB, free: 2.613 MB / 0.7169 GB Notification: Performance of SimCode: time 2.21e-07/0.8343, allocations: 0 / 0.9601 GB, free: 2.613 MB / 0.7169 GB Notification: Performance of Templates: time 0.003616/0.8379, allocations: 1.021 MB / 0.9611 GB, free: 2.078 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