Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.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: "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi,fileNamePrefix="Buildings_9_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi,fileNamePrefix="Buildings_9_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001056/0.001056, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.00111/0.00111, allocations: 190.7 kB / 16.14 MB, free: 6.711 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.248/1.248, allocations: 222.9 MB / 239.8 MB, free: 4.531 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.192/2.192, allocations: 390.2 MB / 0.6643 GB, free: 0.6328 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001338/0.001338, allocations: 63.89 kB / 0.812 GB, free: 14.78 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5645/0.5658, allocations: 140.4 MB / 0.949 GB, free: 9.086 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi): time 0.002571/0.5684, allocations: 1.728 MB / 0.9507 GB, free: 7.73 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1425/0.7109, allocations: 147.4 MB / 1.095 GB, free: 12.4 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.029e-05/0.7111, allocations: 7.938 kB / 1.095 GB, free: 12.39 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001475/0.7113, allocations: 15.86 kB / 1.095 GB, free: 12.38 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001951/0.7115, allocations: 43.77 kB / 1.095 GB, free: 12.34 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003134/0.7118, allocations: 163.5 kB / 1.095 GB, free: 12.18 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001547/0.712, allocations: 155.5 kB / 1.095 GB, free: 12.02 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001135/0.7121, allocations: 27.36 kB / 1.095 GB, free: 12 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001651/0.7137, allocations: 182.5 kB / 1.095 GB, free: 11.84 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 9.997e-05/0.7138, allocations: 67.69 kB / 1.095 GB, free: 11.77 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.207e-05/0.7139, allocations: 4 kB / 1.095 GB, free: 11.77 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002547/0.7141, allocations: 159.8 kB / 1.095 GB, free: 11.61 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 4.637e-05/0.7142, allocations: 27.89 kB / 1.095 GB, free: 11.59 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 5.825e-05/0.7143, allocations: 47.73 kB / 1.096 GB, free: 11.54 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002706/0.7145, allocations: 199.4 kB / 1.096 GB, free: 11.34 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.7145, allocations: 0 / 1.096 GB, free: 11.34 MB / 0.8575 GB Notification: Performance of FrontEnd: time 7.81e-07/0.7145, allocations: 3.938 kB / 1.096 GB, free: 11.34 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 3.527e-06/0.7146, allocations: 0 / 1.096 GB, free: 11.34 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0007768/0.7153, allocations: 472.8 kB / 1.096 GB, free: 10.83 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.409e-05/0.7154, allocations: 8.031 kB / 1.096 GB, free: 10.82 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.798e-05/0.7154, allocations: 38.75 kB / 1.096 GB, free: 10.78 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006181/0.716, allocations: 60.53 kB / 1.096 GB, free: 10.72 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001898/0.7162, allocations: 210.6 kB / 1.096 GB, free: 10.47 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.706e-06/0.7163, allocations: 4 kB / 1.096 GB, free: 10.47 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.418e-05/0.7163, allocations: 12 kB / 1.097 GB, free: 10.46 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004439/0.7167, allocations: 177.8 kB / 1.097 GB, free: 10.26 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.072e-05/0.7168, allocations: 3.938 kB / 1.097 GB, free: 10.26 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.9e-05/0.7168, allocations: 4 kB / 1.097 GB, free: 10.25 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.02e-06/0.7168, allocations: 0 / 1.097 GB, free: 10.25 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005206/0.7173, allocations: 155.7 kB / 1.097 GB, free: 10.1 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001041/0.7184, allocations: 0.809 MB / 1.098 GB, free: 9.215 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003767/0.7188, allocations: 130.5 kB / 1.098 GB, free: 9.078 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002342/0.719, allocations: 80.8 kB / 1.098 GB, free: 8.996 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.351e-05/0.719, allocations: 7.984 kB / 1.098 GB, free: 8.988 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.308e-05/0.7191, allocations: 38.56 kB / 1.098 GB, free: 8.941 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=8): time 1.223e-06/0.7191, allocations: 0 / 1.098 GB, free: 8.941 MB / 0.8575 GB Notification: Performance of matching and sorting (n=8): time 0.001888/0.721, allocations: 447.4 kB / 1.098 GB, free: 8.477 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.465e-05/0.721, allocations: 59.34 kB / 1.098 GB, free: 8.406 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001183/0.7211, allocations: 155.6 kB / 1.098 GB, free: 8.246 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.841e-05/0.7212, allocations: 33.7 kB / 1.099 GB, free: 8.207 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.545e-05/0.7212, allocations: 112.2 kB / 1.099 GB, free: 8.094 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.334e-05/0.7213, allocations: 31.78 kB / 1.099 GB, free: 8.062 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.377e-05/0.7214, allocations: 33.61 kB / 1.099 GB, free: 8.023 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 9.203e-05/0.7215, allocations: 318.8 kB / 1.099 GB, free: 7.703 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002448/0.7217, allocations: 63.94 kB / 1.099 GB, free: 7.641 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000253/0.722, allocations: 116.1 kB / 1.099 GB, free: 7.512 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005133/0.7225, allocations: 180.2 kB / 1.099 GB, free: 7.32 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.7225, allocations: 0 / 1.099 GB, free: 7.32 MB / 0.8575 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.00103/0.7235, allocations: 278.1 kB / 1.1 GB, free: 7.039 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.448e-05/0.7236, allocations: 7.938 kB / 1.1 GB, free: 7.031 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.037e-06/0.7236, allocations: 0 / 1.1 GB, free: 7.031 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006064/0.7242, allocations: 88.84 kB / 1.1 GB, free: 6.941 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000214/0.7244, allocations: 31.97 kB / 1.1 GB, free: 6.91 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001997/0.7264, allocations: 1.551 MB / 1.101 GB, free: 5.223 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002306/0.7267, allocations: 19.95 kB / 1.101 GB, free: 5.203 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.871e-05/0.7267, allocations: 7.984 kB / 1.101 GB, free: 5.195 MB / 0.8575 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (10): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 9.691e-05/0.7268, allocations: 121.8 kB / 1.101 GB, free: 5.066 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.24e-05/0.7268, allocations: 19.81 kB / 1.101 GB, free: 5.047 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001059/0.7279, allocations: 302.9 kB / 1.102 GB, free: 4.742 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.928e-06/0.7279, allocations: 4 kB / 1.102 GB, free: 4.738 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.445e-06/0.7279, allocations: 7.938 kB / 1.102 GB, free: 4.73 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.7279, allocations: 0 / 1.102 GB, free: 4.73 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002381/0.7282, allocations: 237.5 kB / 1.102 GB, free: 4.449 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.7282, allocations: 0 / 1.102 GB, free: 4.449 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002224/0.7284, allocations: 27.97 kB / 1.102 GB, free: 4.422 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005042/0.7289, allocations: 92.69 kB / 1.102 GB, free: 4.328 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.827e-05/0.729, allocations: 4 kB / 1.102 GB, free: 4.324 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001742/0.7307, allocations: 1.575 MB / 1.104 GB, free: 2.609 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.7307, allocations: 0 / 1.104 GB, free: 2.609 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001011/0.7317, allocations: 376.1 kB / 1.104 GB, free: 2.223 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 7.936e-05/0.7318, allocations: 108.8 kB / 1.104 GB, free: 2.098 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.532e-05/0.7318, allocations: 0 / 1.104 GB, free: 2.098 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000237/0.7321, allocations: 27.97 kB / 1.104 GB, free: 2.07 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.016e-05/0.7322, allocations: 7.984 kB / 1.104 GB, free: 2.062 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.593e-05/0.7322, allocations: 7.984 kB / 1.104 GB, free: 2.055 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 7.371e-05/0.7323, allocations: 116.8 kB / 1.104 GB, free: 1.941 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7323, allocations: 3.938 kB / 1.104 GB, free: 1.938 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003141/0.7326, allocations: 47.98 kB / 1.104 GB, free: 1.891 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 (10): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001271/0.7339, allocations: 0.918 MB / 1.105 GB, free: 0.9453 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0008259/0.7347, allocations: 310.6 kB / 1.105 GB, free: 0.6289 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/0.7347, allocations: 0 / 1.105 GB, free: 0.6289 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0004982/0.7352, allocations: 230.6 kB / 1.106 GB, free: 400 kB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003189/0.7355, allocations: 32.33 kB / 1.106 GB, free: 372 kB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003625/0.7392, allocations: 2.096 MB / 1.108 GB, free: 14.16 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002269/0.7394, allocations: 0.7126 MB / 1.108 GB, free: 13.42 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0001652/0.7396, allocations: 29 kB / 1.108 GB, free: 13.39 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.657e-05/0.7397, allocations: 31.42 kB / 1.109 GB, free: 13.36 MB / 0.8731 GB Notification: Performance of SimCode: time 2.31e-07/0.7397, allocations: 0 / 1.109 GB, free: 13.36 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0195/0.7592, allocations: 4.302 MB / 1.113 GB, free: 9.23 MB / 0.8731 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001646/0.7594, allocations: 250.8 kB / 1.113 GB, free: 8.969 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.745/2.504, allocations: 0 / 1.113 GB, free: 8.969 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe ; mkfifo Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe >> ../files/Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi.fmu > Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches