Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_TDryBulPhi,fileNamePrefix="Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi,fileNamePrefix="Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi",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.001717/0.001717, allocations: 108 kB / 15.6 MB, free: 132 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.002056/0.002056, allocations: 198.6 kB / 16.53 MB, free: 6.391 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.315/1.315, 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 11.0.1-master/package.mo): time 2.486/2.486, allocations: 461.9 MB / 0.7346 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001182/0.001182, allocations: 64.19 kB / 0.8992 GB, free: 37.03 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2288/0.23, allocations: 157.4 MB / 1.053 GB, free: 8.238 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi): time 0.002657/0.2327, allocations: 1.915 MB / 1.055 GB, free: 6.309 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.1319/0.3647, allocations: 155.4 MB / 1.207 GB, free: 10.29 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001311/0.3648, allocations: 7.938 kB / 1.207 GB, free: 10.28 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001478/0.365, allocations: 27.72 kB / 1.207 GB, free: 10.25 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0002516/0.3653, allocations: 71.42 kB / 1.207 GB, free: 10.18 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005806/0.3659, allocations: 270.2 kB / 1.207 GB, free: 9.922 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0002193/0.3661, allocations: 267.1 kB / 1.207 GB, free: 9.66 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001488/0.3662, allocations: 76.88 kB / 1.207 GB, free: 9.59 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001066/0.3673, allocations: 237.7 kB / 1.207 GB, free: 9.379 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001322/0.3675, allocations: 95.59 kB / 1.208 GB, free: 9.285 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 3.639e-05/0.3675, allocations: 16 kB / 1.208 GB, free: 9.27 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002866/0.3678, allocations: 187.7 kB / 1.208 GB, free: 9.086 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 5.837e-05/0.3679, allocations: 43.83 kB / 1.208 GB, free: 9.043 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 8.812e-05/0.368, allocations: 95.52 kB / 1.208 GB, free: 8.949 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.000334/0.3683, allocations: 271.2 kB / 1.208 GB, free: 8.684 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 2.936e-06/0.3683, allocations: 0 / 1.208 GB, free: 8.684 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.082e-06/0.3683, allocations: 0 / 1.208 GB, free: 8.684 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.402e-06/0.3683, allocations: 0 / 1.208 GB, free: 8.684 MB / 0.9669 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0008293/0.3692, allocations: 0.53 MB / 1.209 GB, free: 8.105 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.796e-05/0.3692, allocations: 8.625 kB / 1.209 GB, free: 8.098 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.277e-05/0.3693, allocations: 50.48 kB / 1.209 GB, free: 8.039 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007803/0.37, allocations: 91.72 kB / 1.209 GB, free: 7.949 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000221/0.3703, allocations: 226.6 kB / 1.209 GB, free: 7.688 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.329e-05/0.3703, allocations: 38.03 kB / 1.209 GB, free: 7.645 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.196e-05/0.3704, allocations: 16 kB / 1.209 GB, free: 7.629 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004676/0.3709, allocations: 262.5 kB / 1.209 GB, free: 7.344 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.226e-06/0.3709, allocations: 4 kB / 1.209 GB, free: 7.34 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.529e-05/0.3709, allocations: 4 kB / 1.209 GB, free: 7.336 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.572e-06/0.3709, allocations: 11.98 kB / 1.209 GB, free: 7.324 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004215/0.3713, allocations: 171.8 kB / 1.209 GB, free: 7.156 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001432/0.3728, allocations: 1.173 MB / 1.211 GB, free: 5.906 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006888/0.3735, allocations: 210.7 kB / 1.211 GB, free: 5.691 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001616/0.3737, allocations: 72.81 kB / 1.211 GB, free: 5.617 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.377e-05/0.3737, allocations: 3.938 kB / 1.211 GB, free: 5.613 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.826e-05/0.3737, allocations: 34.5 kB / 1.211 GB, free: 5.57 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=12): time 1.202e-06/0.3737, allocations: 0 / 1.211 GB, free: 5.57 MB / 0.9669 GB Notification: Performance of matching and sorting (n=12): time 0.002432/0.3762, allocations: 0.6259 MB / 1.212 GB, free: 4.895 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.733e-05/0.3762, allocations: 55.34 kB / 1.212 GB, free: 4.828 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002082/0.3764, allocations: 215.1 kB / 1.212 GB, free: 4.609 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.31e-05/0.3764, allocations: 29.7 kB / 1.212 GB, free: 4.574 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 6.817e-05/0.3765, allocations: 136 kB / 1.212 GB, free: 4.438 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.289e-05/0.3766, allocations: 43.39 kB / 1.212 GB, free: 4.395 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.107e-05/0.3766, allocations: 53.59 kB / 1.212 GB, free: 4.336 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 8.528e-05/0.3767, allocations: 326.8 kB / 1.212 GB, free: 4.008 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000201/0.3769, allocations: 71.94 kB / 1.212 GB, free: 3.938 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002292/0.3772, allocations: 134 kB / 1.213 GB, free: 3.781 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003906/0.3776, allocations: 210.7 kB / 1.213 GB, free: 3.551 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.3776, allocations: 0 / 1.213 GB, free: 3.551 MB / 0.9669 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001317/0.3789, allocations: 370.2 kB / 1.213 GB, free: 3.18 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.331e-05/0.3789, allocations: 4 kB / 1.213 GB, free: 3.176 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.83e-06/0.3789, allocations: 4 kB / 1.213 GB, free: 3.172 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009854/0.3799, allocations: 165.7 kB / 1.213 GB, free: 3.004 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001948/0.3801, allocations: 39.95 kB / 1.213 GB, free: 2.965 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1955/0.5756, allocations: 3.25 MB / 1.216 GB, free: 15.43 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003822/0.576, allocations: 39.84 kB / 1.217 GB, free: 15.39 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.315e-05/0.5761, allocations: 8 kB / 1.217 GB, free: 15.38 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (17): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,2), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0001412/0.5762, allocations: 129.7 kB / 1.217 GB, free: 15.25 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.116e-05/0.5763, allocations: 15.81 kB / 1.217 GB, free: 15.23 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001259/0.5776, allocations: 385.8 kB / 1.217 GB, free: 14.84 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.986e-06/0.5776, allocations: 0 / 1.217 GB, free: 14.84 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.663e-06/0.5776, allocations: 0 / 1.217 GB, free: 14.84 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.5776, allocations: 4 kB / 1.217 GB, free: 14.84 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002862/0.5779, allocations: 277.4 kB / 1.217 GB, free: 14.52 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.5779, allocations: 0 / 1.217 GB, free: 14.52 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000125/0.578, allocations: 19.98 kB / 1.217 GB, free: 14.5 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007823/0.5788, allocations: 145.5 kB / 1.217 GB, free: 14.35 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.949e-05/0.5788, allocations: 4 kB / 1.217 GB, free: 14.34 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003253/0.5821, allocations: 3.3 MB / 1.221 GB, free: 10.75 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.5821, allocations: 0 / 1.221 GB, free: 10.75 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001175/0.5833, allocations: 435.2 kB / 1.221 GB, free: 10.3 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001035/0.5834, allocations: 120.7 kB / 1.221 GB, free: 10.17 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.801e-05/0.5835, allocations: 8 kB / 1.221 GB, free: 10.16 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002674/0.5837, allocations: 23.91 kB / 1.221 GB, free: 10.14 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.897e-05/0.5838, allocations: 11.98 kB / 1.221 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.714e-05/0.5838, allocations: 8 kB / 1.221 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001696/0.584, allocations: 155.2 kB / 1.221 GB, free: 9.965 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.9e-07/0.584, allocations: 4 kB / 1.221 GB, free: 9.961 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003801/0.5844, allocations: 72 kB / 1.222 GB, free: 9.891 MB / 0.9825 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 (12): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,3), (1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00147/0.5859, allocations: 0.9791 MB / 1.222 GB, free: 8.875 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0009962/0.5869, allocations: 449.5 kB / 1.223 GB, free: 8.41 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.5869, allocations: 0 / 1.223 GB, free: 8.41 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0006406/0.5875, allocations: 359.6 kB / 1.223 GB, free: 8.035 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000486/0.588, allocations: 68.14 kB / 1.223 GB, free: 7.969 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00461/0.5927, allocations: 2.531 MB / 1.226 GB, free: 5.309 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002411/0.5929, allocations: 0.7323 MB / 1.226 GB, free: 4.551 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001979/0.5931, allocations: 41.92 kB / 1.227 GB, free: 4.512 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.655e-05/0.5932, allocations: 55.34 kB / 1.227 GB, free: 4.457 MB / 0.9825 GB Notification: Performance of SimCode: time 2.4e-07/0.5932, allocations: 0 / 1.227 GB, free: 4.457 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.068/1.662, allocations: 7.179 MB / 1.234 GB, free: 13.49 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.59/16.26, allocations: 13.11 kB / 1.234 GB, free: 13.48 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi.fmu > Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches