Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.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.phi_pTX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T|X_w|phi",fileNamePrefix="Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX") translateModel(Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T|X_w|phi",fileNamePrefix="Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001565/0.001565, allocations: 108 kB / 15.61 MB, free: 152 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.001592/0.001592, allocations: 193.2 kB / 16.53 MB, free: 6.664 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.407/1.407, allocations: 222.9 MB / 240.2 MB, free: 4.406 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.398/2.398, allocations: 390.2 MB / 0.6647 GB, free: 400 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001335/0.001336, allocations: 75.88 kB / 0.8125 GB, free: 14.44 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8993/0.9007, allocations: 140.3 MB / 0.9496 GB, free: 9.16 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX): time 0.00269/0.9034, allocations: 1.27 MB / 0.9508 GB, free: 8.148 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001355/0.9048, allocations: 0.8309 MB / 0.9516 GB, free: 7.492 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.291e-05/0.9048, allocations: 0 / 0.9516 GB, free: 7.492 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.991e-05/0.9049, allocations: 1.375 kB / 0.9516 GB, free: 7.492 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.138e-05/0.9049, allocations: 3.938 kB / 0.9516 GB, free: 7.488 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005165/0.9055, allocations: 128.9 kB / 0.9518 GB, free: 7.398 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.017e-05/0.9055, allocations: 27.84 kB / 0.9518 GB, free: 7.383 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.952e-05/0.9056, allocations: 10.3 kB / 0.9518 GB, free: 7.375 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.833e-05/0.9057, allocations: 14.09 kB / 0.9518 GB, free: 7.367 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.79e-05/0.9057, allocations: 11.8 kB / 0.9518 GB, free: 7.359 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.463e-05/0.9058, allocations: 1.188 kB / 0.9518 GB, free: 7.359 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003523/0.9061, allocations: 162.4 kB / 0.952 GB, free: 7.281 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.326e-05/0.9061, allocations: 9.891 kB / 0.952 GB, free: 7.273 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.66e-05/0.9062, allocations: 6.906 kB / 0.952 GB, free: 7.27 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002691/0.9064, allocations: 121.1 kB / 0.9521 GB, free: 7.207 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.9065, allocations: 1.375 kB / 0.9521 GB, free: 7.207 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.654e-06/0.9065, allocations: 0 / 0.9521 GB, free: 7.207 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.282e-06/0.9065, allocations: 4 kB / 0.9521 GB, free: 7.203 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.0004494/0.9069, allocations: 359.6 kB / 0.9525 GB, free: 6.82 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.915e-05/0.907, allocations: 12.88 kB / 0.9525 GB, free: 6.816 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.55e-05/0.907, allocations: 6.375 kB / 0.9525 GB, free: 6.812 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.999e-05/0.9071, allocations: 165.8 kB / 0.9526 GB, free: 6.613 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.386e-05/0.9072, allocations: 29.08 kB / 0.9527 GB, free: 6.582 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.382e-05/0.9072, allocations: 5.688 kB / 0.9527 GB, free: 6.578 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001676/0.9074, allocations: 45.03 kB / 0.9527 GB, free: 6.539 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.528e-06/0.9074, allocations: 7.938 kB / 0.9527 GB, free: 6.531 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.275e-05/0.9074, allocations: 4 kB / 0.9527 GB, free: 6.527 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.16e-06/0.9074, allocations: 0.6875 kB / 0.9527 GB, free: 6.527 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001014/0.9075, allocations: 14.73 kB / 0.9527 GB, free: 6.523 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001636/0.9077, allocations: 167.1 kB / 0.9529 GB, free: 6.316 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002515/0.908, allocations: 45.19 kB / 0.9529 GB, free: 6.281 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.871e-05/0.908, allocations: 20.3 kB / 0.953 GB, free: 6.266 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002525/0.9083, allocations: 177.1 kB / 0.9531 GB, free: 6.07 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.626e-05/0.9083, allocations: 39.73 kB / 0.9532 GB, free: 6.023 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 1.252e-06/0.9083, allocations: 0 / 0.9532 GB, free: 6.023 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4): time 0.0002571/0.9086, allocations: 60.88 kB / 0.9532 GB, free: 5.98 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.57e-05/0.9086, allocations: 68.52 kB / 0.9533 GB, free: 5.902 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.843e-05/0.9087, allocations: 93.55 kB / 0.9534 GB, free: 5.805 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 9.718e-06/0.9087, allocations: 25.7 kB / 0.9534 GB, free: 5.773 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.852e-05/0.9087, allocations: 85.27 kB / 0.9535 GB, free: 5.688 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.465e-05/0.9088, allocations: 12.94 kB / 0.9535 GB, free: 5.676 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.058e-05/0.9088, allocations: 18.08 kB / 0.9535 GB, free: 5.656 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.641e-05/0.9089, allocations: 316.3 kB / 0.9538 GB, free: 5.34 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.97e-05/0.9089, allocations: 5.5 kB / 0.9538 GB, free: 5.34 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.32e-05/0.909, allocations: 17.7 kB / 0.9538 GB, free: 5.328 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.33e-05/0.9091, allocations: 25.97 kB / 0.9539 GB, free: 5.312 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.9091, allocations: 0 / 0.9539 GB, free: 5.312 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001312/0.9092, allocations: 63.92 kB / 0.9539 GB, free: 5.262 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.698e-05/0.9092, allocations: 10.28 kB / 0.9539 GB, free: 5.258 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.9092, allocations: 0 / 0.9539 GB, free: 5.258 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.263e-05/0.9093, allocations: 1.344 kB / 0.9539 GB, free: 5.258 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.408e-05/0.9093, allocations: 9.609 kB / 0.9539 GB, free: 5.254 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.761e-06/0.9093, allocations: 5.219 kB / 0.9539 GB, free: 5.25 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.957e-05/0.9094, allocations: 1.25 kB / 0.9539 GB, free: 5.25 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.192e-06/0.9094, allocations: 1.25 kB / 0.9539 GB, free: 5.25 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 5.832e-05/0.9094, allocations: 107.1 kB / 0.9541 GB, free: 5.137 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.275e-05/0.9095, allocations: 14.5 kB / 0.9541 GB, free: 5.125 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001809/0.9096, allocations: 70.84 kB / 0.9541 GB, free: 5.062 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.462e-06/0.9096, allocations: 5 kB / 0.9541 GB, free: 5.059 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.9097, allocations: 0 / 0.9541 GB, free: 5.059 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.9097, allocations: 5.312 kB / 0.9541 GB, free: 5.055 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.162e-05/0.9098, allocations: 166.9 kB / 0.9543 GB, free: 4.848 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.9098, allocations: 0 / 0.9543 GB, free: 4.848 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.691e-05/0.9098, allocations: 5.969 kB / 0.9543 GB, free: 4.848 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.417e-06/0.9098, allocations: 5.344 kB / 0.9543 GB, free: 4.844 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.883e-06/0.9098, allocations: 0 / 0.9543 GB, free: 4.844 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.9098, allocations: 1.219 kB / 0.9543 GB, free: 4.844 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.9098, allocations: 0 / 0.9543 GB, free: 4.844 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001429/0.91, allocations: 84.3 kB / 0.9544 GB, free: 4.762 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 5.873e-05/0.9101, allocations: 87.59 kB / 0.9545 GB, free: 4.66 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.493e-05/0.9101, allocations: 3.938 kB / 0.9545 GB, free: 4.656 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.804e-05/0.9101, allocations: 6.531 kB / 0.9545 GB, free: 4.652 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.563e-05/0.9102, allocations: 1.375 kB / 0.9545 GB, free: 4.652 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.029e-06/0.9102, allocations: 1.625 kB / 0.9545 GB, free: 4.652 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.25e-05/0.9102, allocations: 85.67 kB / 0.9546 GB, free: 4.57 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.11e-07/0.9102, allocations: 0 / 0.9546 GB, free: 4.57 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002371/0.9105, allocations: 35.75 kB / 0.9546 GB, free: 4.559 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 (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.0002477/0.9107, allocations: 137.1 kB / 0.9547 GB, free: 4.453 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001751/0.9109, allocations: 24.58 kB / 0.9548 GB, free: 4.445 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.9109, allocations: 1.406 kB / 0.9548 GB, free: 4.445 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 5.835e-05/0.911, allocations: 21.36 kB / 0.9548 GB, free: 4.434 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002687/0.9113, allocations: 4.062 kB / 0.9548 GB, free: 4.434 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003248/0.9116, allocations: 123.2 kB / 0.9549 GB, free: 4.316 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001425/0.9117, allocations: 0.6807 MB / 0.9556 GB, free: 3.613 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 4.731e-05/0.9118, allocations: 3.969 kB / 0.9556 GB, free: 3.613 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.625e-05/0.9118, allocations: 22.28 kB / 0.9556 GB, free: 3.594 MB / 0.7169 GB Notification: Performance of SimCode: time 2.1e-07/0.9118, allocations: 0 / 0.9556 GB, free: 3.594 MB / 0.7169 GB Notification: Performance of Templates: time 0.004433/0.9163, allocations: 1.068 MB / 0.9566 GB, free: 3.031 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.makefile (rm -f Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; mkfifo Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe >> ../files/Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.sim & ./Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Psychrometrics_Functions_Examples_phi_pTX.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches