Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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_X,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|X|XInv|p_w|dX",fileNamePrefix="Buildings_9_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_9_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.001537/0.001537, allocations: 110.9 kB / 16.41 MB, free: 6.496 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.001573/0.001573, allocations: 183 kB / 17.34 MB, free: 5.762 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.349/1.349, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.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.352/2.352, allocations: 390.3 MB / 0.6655 GB, free: 0.6211 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001484/0.001484, allocations: 59.91 kB / 0.9515 GB, free: 7.664 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.946/0.9475, allocations: 140.4 MB / 1.089 GB, free: 5.516 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X): time 0.002296/0.9499, allocations: 1.258 MB / 1.09 GB, free: 4.641 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.000577/0.9505, allocations: 287.5 kB / 1.09 GB, free: 4.449 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.363e-05/0.9505, allocations: 1.094 kB / 1.09 GB, free: 4.449 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.011e-05/0.9506, allocations: 4.641 kB / 1.09 GB, free: 4.445 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 4.854e-05/0.9506, allocations: 5.844 kB / 1.09 GB, free: 4.441 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003159/0.9509, allocations: 55.72 kB / 1.09 GB, free: 4.41 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 8.146e-05/0.951, allocations: 17.88 kB / 1.09 GB, free: 4.402 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 5.103e-05/0.9511, allocations: 9.781 kB / 1.09 GB, free: 4.395 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 4.52e-05/0.9511, allocations: 9.578 kB / 1.09 GB, free: 4.391 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 5.885e-05/0.9512, allocations: 8.984 kB / 1.09 GB, free: 4.387 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.24e-05/0.9512, allocations: 5 kB / 1.09 GB, free: 4.383 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000145/0.9514, allocations: 53.84 kB / 1.09 GB, free: 4.371 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.186e-05/0.9514, allocations: 1.359 kB / 1.09 GB, free: 4.371 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.019e-05/0.9514, allocations: 8.562 kB / 1.09 GB, free: 4.367 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001606/0.9516, allocations: 53.03 kB / 1.09 GB, free: 4.352 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.9516, allocations: 4 kB / 1.09 GB, free: 4.348 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.743e-06/0.9516, allocations: 1.156 kB / 1.09 GB, free: 4.348 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.19e-06/0.9516, allocations: 0 / 1.09 GB, free: 4.348 MB / 0.8575 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.0003294/0.9519, allocations: 334.1 kB / 1.091 GB, free: 3.988 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.75e-05/0.952, allocations: 9.688 kB / 1.091 GB, free: 3.988 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002172/0.9522, allocations: 16.81 kB / 1.091 GB, free: 3.988 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.605e-05/0.9523, allocations: 162.8 kB / 1.091 GB, free: 3.793 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.033e-05/0.9523, allocations: 1.438 kB / 1.091 GB, free: 3.793 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.256e-05/0.9523, allocations: 13.39 kB / 1.091 GB, free: 3.781 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001143/0.9524, allocations: 46.06 kB / 1.091 GB, free: 3.742 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.803e-06/0.9525, allocations: 192 / 1.091 GB, free: 3.742 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.379e-05/0.9525, allocations: 4.938 kB / 1.091 GB, free: 3.738 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.321e-06/0.9525, allocations: 1.094 kB / 1.091 GB, free: 3.738 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.383e-05/0.9525, allocations: 19.86 kB / 1.091 GB, free: 3.73 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000132/0.9527, allocations: 153.2 kB / 1.091 GB, free: 3.539 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001861/0.9545, allocations: 265 kB / 1.091 GB, free: 3.5 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.379e-05/0.9546, allocations: 23.27 kB / 1.091 GB, free: 3.484 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.189e-05/0.9546, allocations: 5.719 kB / 1.091 GB, free: 3.48 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.664e-05/0.9546, allocations: 35.59 kB / 1.091 GB, free: 3.438 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=4): time 1.433e-06/0.9546, allocations: 0 / 1.091 GB, free: 3.438 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4): time 0.00016/0.9548, allocations: 69.66 kB / 1.091 GB, free: 3.387 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.168e-05/0.9548, allocations: 52.53 kB / 1.091 GB, free: 3.324 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.01e-05/0.9549, allocations: 92.27 kB / 1.092 GB, free: 3.227 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 9.007e-06/0.9549, allocations: 25.7 kB / 1.092 GB, free: 3.195 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 1.113e-05/0.9549, allocations: 81.27 kB / 1.092 GB, free: 3.113 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.89e-05/0.955, allocations: 14.08 kB / 1.092 GB, free: 3.102 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.328e-05/0.955, allocations: 17.64 kB / 1.092 GB, free: 3.082 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.033e-05/0.9551, allocations: 317.2 kB / 1.092 GB, free: 2.766 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.426e-05/0.9551, allocations: 5.609 kB / 1.092 GB, free: 2.766 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.866e-05/0.9551, allocations: 14.73 kB / 1.092 GB, free: 2.758 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.454e-05/0.9552, allocations: 24.03 kB / 1.092 GB, free: 2.742 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.9552, allocations: 1.156 kB / 1.092 GB, free: 2.742 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.945e-05/0.9553, allocations: 60.38 kB / 1.092 GB, free: 2.695 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.424e-05/0.9553, allocations: 5.391 kB / 1.092 GB, free: 2.695 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.9553, allocations: 7.922 kB / 1.092 GB, free: 2.688 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.457e-05/0.9553, allocations: 5.094 kB / 1.092 GB, free: 2.684 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.02e-05/0.9554, allocations: 6.719 kB / 1.092 GB, free: 2.684 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.721e-06/0.9554, allocations: 3.938 kB / 1.092 GB, free: 2.68 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.065e-05/0.9554, allocations: 1.891 kB / 1.092 GB, free: 2.68 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.491e-06/0.9554, allocations: 5.094 kB / 1.092 GB, free: 2.676 MB / 0.8575 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 5.024e-05/0.9555, allocations: 111.5 kB / 1.092 GB, free: 2.559 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.087e-05/0.9555, allocations: 2.578 kB / 1.092 GB, free: 2.559 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.275e-05/0.9555, allocations: 16.03 kB / 1.092 GB, free: 2.539 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.117e-06/0.9555, allocations: 5.719 kB / 1.092 GB, free: 2.535 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.9555, allocations: 4 kB / 1.092 GB, free: 2.531 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.9556, allocations: 0 / 1.092 GB, free: 2.531 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.606e-05/0.9556, allocations: 159 kB / 1.092 GB, free: 2.336 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.9556, allocations: 0 / 1.092 GB, free: 2.336 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.665e-05/0.9557, allocations: 6.75 kB / 1.092 GB, free: 2.336 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.9557, allocations: 0 / 1.092 GB, free: 2.336 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.306e-06/0.9557, allocations: 5.141 kB / 1.092 GB, free: 2.332 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.9557, allocations: 0.8438 kB / 1.092 GB, free: 2.332 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.9557, allocations: 0.6094 kB / 1.092 GB, free: 2.332 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.412e-05/0.9558, allocations: 86.59 kB / 1.093 GB, free: 2.25 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.49e-05/0.9559, allocations: 79.92 kB / 1.093 GB, free: 2.156 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.445e-05/0.9559, allocations: 5.234 kB / 1.093 GB, free: 2.152 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.359e-05/0.956, allocations: 1.797 kB / 1.093 GB, free: 2.152 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.115e-05/0.956, allocations: 2.672 kB / 1.093 GB, free: 2.152 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.661e-06/0.956, allocations: 1.094 kB / 1.093 GB, free: 2.152 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 1.902e-05/0.956, allocations: 76.92 kB / 1.093 GB, free: 2.078 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.3e-07/0.956, allocations: 0 / 1.093 GB, free: 2.078 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0001937/0.9562, allocations: 14.38 kB / 1.093 GB, free: 2.07 MB / 0.8575 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 9.387e-05/0.9563, allocations: 97.91 kB / 1.093 GB, free: 1.98 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 9.923e-05/0.9564, allocations: 26.03 kB / 1.093 GB, free: 1.973 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.9564, allocations: 0 / 1.093 GB, free: 1.973 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 2.65e-05/0.9565, allocations: 14.69 kB / 1.093 GB, free: 1.969 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002452/0.9567, allocations: 10.94 kB / 1.093 GB, free: 1.965 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003139/0.957, allocations: 157.3 kB / 1.093 GB, free: 1.816 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.787e-05/0.9572, allocations: 0.6751 MB / 1.094 GB, free: 1.121 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.196e-05/0.9572, allocations: 10.09 kB / 1.094 GB, free: 1.113 MB / 0.8575 GB Notification: Performance of SimCode: time 2.6e-07/0.9572, allocations: 0 / 1.094 GB, free: 1.113 MB / 0.8575 GB Notification: Performance of Templates: time 0.001991/0.9592, allocations: 0.5403 MB / 1.094 GB, free: 1.078 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.makefile (rm -f Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; mkfifo Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe >> ../files/Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.sim & ./Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Psychrometrics_Functions_Examples_pW_X.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches