Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi.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.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|wetBulPhi.TDryBul|wetBulPhi.phi|wetBulPhi.TWetBul|wetBulPhi1.TDryBul|wetBulPhi1.phi|wetBulPhi1.TWetBul",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi") translateModel(Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|wetBulPhi.TDryBul|wetBulPhi.phi|wetBulPhi.TWetBul|wetBulPhi1.TDryBul|wetBulPhi1.phi|wetBulPhi1.TWetBul",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0013/0.0013, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001603/0.001603, allocations: 193.2 kB / 16.14 MB, free: 6.648 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.546/1.546, allocations: 222.9 MB / 239.8 MB, free: 4.598 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.453/2.453, allocations: 390.2 MB / 0.6642 GB, free: 0.5469 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00124/0.00124, allocations: 67.89 kB / 0.8119 GB, free: 14.83 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8205/0.8218, allocations: 140.3 MB / 0.9489 GB, free: 9.16 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi): time 0.002097/0.8239, allocations: 0.8261 MB / 0.9497 GB, free: 8.523 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0009918/0.825, allocations: 0.8804 MB / 0.9506 GB, free: 7.801 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.108e-05/0.825, allocations: 1.375 kB / 0.9506 GB, free: 7.801 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 4.036e-05/0.8251, allocations: 0 / 0.9506 GB, free: 7.801 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 9.387e-05/0.8252, allocations: 14.62 kB / 0.9506 GB, free: 7.789 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001831/0.8254, allocations: 37.44 kB / 0.9506 GB, free: 7.758 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001186/0.8255, allocations: 95.52 kB / 0.9507 GB, free: 7.703 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000134/0.8256, allocations: 16.23 kB / 0.9507 GB, free: 7.695 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 9.449e-05/0.8257, allocations: 45.7 kB / 0.9508 GB, free: 7.668 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 9.311e-05/0.8258, allocations: 42.95 kB / 0.9508 GB, free: 7.641 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.451e-05/0.8259, allocations: 4.125 kB / 0.9508 GB, free: 7.641 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 2.089e-05/0.8259, allocations: 8.125 kB / 0.9508 GB, free: 7.637 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.429e-05/0.8259, allocations: 18.66 kB / 0.9509 GB, free: 7.621 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.325e-05/0.826, allocations: 33.42 kB / 0.9509 GB, free: 7.598 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001076/0.8261, allocations: 88.56 kB / 0.951 GB, free: 7.531 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.8261, allocations: 0 / 0.951 GB, free: 7.531 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.032e-06/0.8261, allocations: 0 / 0.951 GB, free: 7.531 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.348e-06/0.8261, allocations: 0 / 0.951 GB, free: 7.531 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0006968/0.8268, allocations: 418 kB / 0.9514 GB, free: 7.113 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.252e-05/0.8268, allocations: 13.78 kB / 0.9514 GB, free: 7.109 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.94e-05/0.8269, allocations: 8.125 kB / 0.9514 GB, free: 7.105 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.983e-05/0.827, allocations: 173.3 kB / 0.9516 GB, free: 6.902 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.359e-05/0.827, allocations: 2.938 kB / 0.9516 GB, free: 6.902 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.881e-05/0.827, allocations: 8.344 kB / 0.9516 GB, free: 6.898 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003254/0.8274, allocations: 121.5 kB / 0.9517 GB, free: 6.805 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.588e-06/0.8274, allocations: 192 / 0.9517 GB, free: 6.805 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.691e-05/0.8274, allocations: 13.59 kB / 0.9517 GB, free: 6.793 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.48e-06/0.8274, allocations: 1.719 kB / 0.9517 GB, free: 6.793 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003442/0.8278, allocations: 90.25 kB / 0.9518 GB, free: 6.754 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005053/0.8283, allocations: 453.3 kB / 0.9522 GB, free: 6.297 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003841/0.8287, allocations: 119.1 kB / 0.9523 GB, free: 6.207 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001757/0.8289, allocations: 56.23 kB / 0.9524 GB, free: 6.172 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.854e-05/0.8289, allocations: 5.438 kB / 0.9524 GB, free: 6.168 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.335e-05/0.8289, allocations: 32.28 kB / 0.9524 GB, free: 6.129 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=6): time 1.232e-06/0.8289, allocations: 0 / 0.9524 GB, free: 6.129 MB / 0.7169 GB Notification: Performance of matching and sorting (n=6): time 0.0006119/0.8295, allocations: 177.7 kB / 0.9526 GB, free: 6.023 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.527e-05/0.8296, allocations: 78.3 kB / 0.9527 GB, free: 5.93 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.033e-05/0.8297, allocations: 143.6 kB / 0.9528 GB, free: 5.805 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.148e-05/0.8297, allocations: 26.8 kB / 0.9528 GB, free: 5.773 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.205e-05/0.8297, allocations: 103.9 kB / 0.9529 GB, free: 5.672 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.525e-05/0.8298, allocations: 13.28 kB / 0.9529 GB, free: 5.66 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.411e-05/0.8298, allocations: 28.77 kB / 0.953 GB, free: 5.633 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.506e-05/0.8299, allocations: 324.8 kB / 0.9533 GB, free: 5.309 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001678/0.83, allocations: 47.83 kB / 0.9533 GB, free: 5.285 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001578/0.8302, allocations: 63.42 kB / 0.9534 GB, free: 5.242 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003092/0.8305, allocations: 108.8 kB / 0.9535 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.8305, allocations: 0 / 0.9535 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003855/0.8309, allocations: 142.7 kB / 0.9536 GB, free: 5.094 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.636e-05/0.8309, allocations: 5.656 kB / 0.9536 GB, free: 5.094 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.602e-06/0.8309, allocations: 4 kB / 0.9536 GB, free: 5.09 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.533e-05/0.831, allocations: 1.125 kB / 0.9536 GB, free: 5.09 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001676/0.8311, allocations: 33.09 kB / 0.9537 GB, free: 5.074 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.332e-06/0.8312, allocations: 1.188 kB / 0.9537 GB, free: 5.074 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001236/0.8313, allocations: 24.44 kB / 0.9537 GB, free: 5.059 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.186e-05/0.8313, allocations: 2.594 kB / 0.9537 GB, free: 5.059 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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.982e-05/0.8314, allocations: 116.3 kB / 0.9538 GB, free: 4.938 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.538e-05/0.8314, allocations: 7.812 kB / 0.9538 GB, free: 4.934 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004833/0.8319, allocations: 197.3 kB / 0.954 GB, free: 4.805 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.8319, allocations: 1.281 kB / 0.954 GB, free: 4.805 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.713e-06/0.8319, allocations: 1.062 kB / 0.954 GB, free: 4.805 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.369e-06/0.8319, allocations: 3.938 kB / 0.954 GB, free: 4.801 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000211/0.8321, allocations: 204.6 kB / 0.9542 GB, free: 4.574 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.8322, allocations: 0 / 0.9542 GB, free: 4.574 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001598/0.8323, allocations: 40.56 kB / 0.9542 GB, free: 4.555 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.536e-06/0.8323, allocations: 1.406 kB / 0.9542 GB, free: 4.555 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.151e-05/0.8323, allocations: 1.094 kB / 0.9542 GB, free: 4.555 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.043e-06/0.8324, allocations: 5.625 kB / 0.9542 GB, free: 4.551 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.8324, allocations: 0 / 0.9542 GB, free: 4.551 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003901/0.8328, allocations: 320.7 kB / 0.9546 GB, free: 4.289 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 4.691e-05/0.8328, allocations: 98.16 kB / 0.9546 GB, free: 4.18 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.448e-05/0.8328, allocations: 13.33 kB / 0.9547 GB, free: 4.168 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001758/0.833, allocations: 14.86 kB / 0.9547 GB, free: 4.16 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.629e-05/0.8331, allocations: 16.14 kB / 0.9547 GB, free: 4.148 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.265e-06/0.8331, allocations: 3.375 kB / 0.9547 GB, free: 4.148 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 5.877e-05/0.8332, allocations: 114 kB / 0.9548 GB, free: 4.059 MB / 0.7169 GB Notification: Performance of sort global known variables: time 6.71e-07/0.8332, allocations: 0 / 0.9548 GB, free: 4.059 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002677/0.8334, allocations: 23.41 kB / 0.9548 GB, free: 4.051 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (11): * Single equations (assignments): 11 * 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 8.544e-05/0.8335, allocations: 101.8 kB / 0.9549 GB, free: 3.961 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003749/0.8339, allocations: 110.2 kB / 0.955 GB, free: 3.914 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.8339, allocations: 3.938 kB / 0.955 GB, free: 3.91 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001761/0.8341, allocations: 65.7 kB / 0.9551 GB, free: 3.883 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004754/0.8346, allocations: 28.91 kB / 0.9551 GB, free: 3.867 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004776/0.8351, allocations: 256.9 kB / 0.9554 GB, free: 3.648 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001152/0.8352, allocations: 0.6947 MB / 0.956 GB, free: 2.945 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 8.932e-05/0.8353, allocations: 19.59 kB / 0.9561 GB, free: 2.934 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.357e-05/0.8354, allocations: 13.41 kB / 0.9561 GB, free: 2.926 MB / 0.7169 GB Notification: Performance of SimCode: time 2e-07/0.8354, allocations: 0 / 0.9561 GB, free: 2.926 MB / 0.7169 GB Notification: Performance of Templates: time 0.003801/0.8392, allocations: 1.601 MB / 0.9576 GB, free: 2.121 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Psychrometrics_Validation_WetBulb_TDryBulPhi.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches