Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi,fileNamePrefix="Buildings_10_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.001137/0.001137, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001203/0.001203, allocations: 190.9 kB / 16.25 MB, free: 6.625 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.389/1.389, allocations: 222.9 MB / 239.9 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.547/2.547, allocations: 437 MB / 0.7101 GB, free: 5.297 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00175/0.00175, allocations: 64.09 kB / 0.8688 GB, free: 5.012 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6596/0.6614, allocations: 151.6 MB / 1.017 GB, free: 2.84 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi): time 0.002901/0.6643, allocations: 1.73 MB / 1.019 GB, free: 1.102 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.134/0.7983, allocations: 147.5 MB / 1.163 GB, free: 13.02 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00012/0.7985, allocations: 0 / 1.163 GB, free: 13.02 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0001694/0.7987, allocations: 23.86 kB / 1.163 GB, free: 13 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0002804/0.799, allocations: 43.7 kB / 1.163 GB, free: 12.95 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004517/0.7995, allocations: 163.5 kB / 1.163 GB, free: 12.79 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0002031/0.7997, allocations: 163.4 kB / 1.163 GB, free: 12.63 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001327/0.7998, allocations: 35.34 kB / 1.163 GB, free: 12.6 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001932/0.8018, allocations: 190.9 kB / 1.163 GB, free: 12.43 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001181/0.8019, allocations: 63.73 kB / 1.163 GB, free: 12.37 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.788e-05/0.8019, allocations: 8 kB / 1.163 GB, free: 12.36 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002821/0.8022, allocations: 167.7 kB / 1.163 GB, free: 12.2 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 4.763e-05/0.8023, allocations: 27.89 kB / 1.164 GB, free: 12.17 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 6.286e-05/0.8023, allocations: 55.72 kB / 1.164 GB, free: 12.12 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0003072/0.8027, allocations: 195.5 kB / 1.164 GB, free: 11.93 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.8027, allocations: 4 kB / 1.164 GB, free: 11.92 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.232e-06/0.8027, allocations: 0 / 1.164 GB, free: 11.92 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.064e-05/0.8027, allocations: 0 / 1.164 GB, free: 11.92 MB / 0.92 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.0008096/0.8035, allocations: 463 kB / 1.164 GB, free: 11.42 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.711e-05/0.8036, allocations: 12.03 kB / 1.164 GB, free: 11.41 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.833e-05/0.8036, allocations: 50.61 kB / 1.164 GB, free: 11.35 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006141/0.8042, allocations: 56.53 kB / 1.164 GB, free: 11.3 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001927/0.8044, allocations: 202.8 kB / 1.165 GB, free: 11.06 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.946e-06/0.8044, allocations: 4 kB / 1.165 GB, free: 11.05 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.565e-05/0.8045, allocations: 12 kB / 1.165 GB, free: 11.04 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004154/0.8049, allocations: 187.7 kB / 1.165 GB, free: 10.84 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.007e-06/0.8049, allocations: 0 / 1.165 GB, free: 10.84 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.833e-05/0.8049, allocations: 0 / 1.165 GB, free: 10.84 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.101e-06/0.805, allocations: 8 kB / 1.165 GB, free: 10.83 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004579/0.8054, allocations: 143.8 kB / 1.165 GB, free: 10.69 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001033/0.8065, allocations: 0.8282 MB / 1.166 GB, free: 9.785 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003656/0.8068, allocations: 130.5 kB / 1.166 GB, free: 9.648 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002293/0.8071, allocations: 80.8 kB / 1.166 GB, free: 9.566 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.271e-05/0.8071, allocations: 7.938 kB / 1.166 GB, free: 9.559 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.616e-05/0.8071, allocations: 30.56 kB / 1.166 GB, free: 9.52 MB / 0.92 GB Notification: Performance of pre-optimization done (n=8): time 1.082e-06/0.8071, allocations: 0 / 1.166 GB, free: 9.52 MB / 0.92 GB Notification: Performance of matching and sorting (n=8): time 0.001813/0.809, allocations: 459.1 kB / 1.166 GB, free: 9.043 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.338e-05/0.809, allocations: 59.28 kB / 1.166 GB, free: 8.973 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001235/0.8091, allocations: 160.2 kB / 1.167 GB, free: 8.805 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.28e-05/0.8092, allocations: 29.7 kB / 1.167 GB, free: 8.77 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 5.872e-05/0.8092, allocations: 112.4 kB / 1.167 GB, free: 8.656 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.7e-05/0.8093, allocations: 23.66 kB / 1.167 GB, free: 8.633 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.536e-05/0.8093, allocations: 33.61 kB / 1.167 GB, free: 8.594 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 8.341e-05/0.8094, allocations: 322.8 kB / 1.167 GB, free: 8.27 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002334/0.8097, allocations: 71.92 kB / 1.167 GB, free: 8.199 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002316/0.8099, allocations: 108.2 kB / 1.167 GB, free: 8.078 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004529/0.8104, allocations: 180.1 kB / 1.167 GB, free: 7.887 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.8104, allocations: 0 / 1.167 GB, free: 7.887 MB / 0.92 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0009693/0.8113, allocations: 274.1 kB / 1.168 GB, free: 7.609 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.729e-05/0.8114, allocations: 9.656 kB / 1.168 GB, free: 7.602 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.292e-06/0.8114, allocations: 4 kB / 1.168 GB, free: 7.598 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005503/0.8119, allocations: 84.89 kB / 1.168 GB, free: 7.512 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002076/0.8122, allocations: 35.89 kB / 1.168 GB, free: 7.477 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001915/0.8141, allocations: 1.654 MB / 1.169 GB, free: 5.68 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002175/0.8143, allocations: 27.83 kB / 1.169 GB, free: 5.652 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.996e-05/0.8143, allocations: 11.92 kB / 1.169 GB, free: 5.641 MB / 0.92 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 0.0001005/0.8144, allocations: 127.1 kB / 1.17 GB, free: 5.508 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.062e-05/0.8145, allocations: 7.906 kB / 1.17 GB, free: 5.5 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00104/0.8155, allocations: 314.9 kB / 1.17 GB, free: 5.176 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.981e-06/0.8156, allocations: 4 kB / 1.17 GB, free: 5.172 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.8156, allocations: 0 / 1.17 GB, free: 5.172 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.975e-06/0.8156, allocations: 3.938 kB / 1.17 GB, free: 5.168 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002388/0.8158, allocations: 241.4 kB / 1.17 GB, free: 4.883 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.8158, allocations: 4 kB / 1.17 GB, free: 4.879 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002035/0.816, allocations: 31.95 kB / 1.17 GB, free: 4.848 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004313/0.8165, allocations: 84.72 kB / 1.17 GB, free: 4.762 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.832e-05/0.8165, allocations: 3.938 kB / 1.17 GB, free: 4.758 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001705/0.8182, allocations: 1.682 MB / 1.172 GB, free: 2.934 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.8182, allocations: 0 / 1.172 GB, free: 2.934 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00097/0.8192, allocations: 383.7 kB / 1.172 GB, free: 2.543 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 7.5e-05/0.8193, allocations: 104.8 kB / 1.172 GB, free: 2.422 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.612e-05/0.8193, allocations: 0 / 1.172 GB, free: 2.422 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002192/0.8195, allocations: 31.91 kB / 1.172 GB, free: 2.391 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.809e-05/0.8196, allocations: 11.92 kB / 1.172 GB, free: 2.379 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.674e-05/0.8196, allocations: 11.98 kB / 1.172 GB, free: 2.367 MB / 0.92 GB Notification: Performance of sorting global known variables: time 6.981e-05/0.8197, allocations: 109.5 kB / 1.172 GB, free: 2.262 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8197, allocations: 3.938 kB / 1.172 GB, free: 2.258 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0003041/0.82, allocations: 44 kB / 1.173 GB, free: 2.215 MB / 0.92 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.00127/0.8213, allocations: 0.9238 MB / 1.173 GB, free: 1.258 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0008095/0.8221, allocations: 310.7 kB / 1.174 GB, free: 0.9414 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.8221, allocations: 0 / 1.174 GB, free: 0.9414 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0004894/0.8226, allocations: 234.5 kB / 1.174 GB, free: 0.6992 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002953/0.8229, allocations: 22.73 kB / 1.174 GB, free: 0.6797 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003595/0.8265, allocations: 2.088 MB / 1.176 GB, free: 14.48 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002184/0.8268, allocations: 0.7046 MB / 1.177 GB, free: 13.75 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0001684/0.8269, allocations: 32.89 kB / 1.177 GB, free: 13.72 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.473e-05/0.827, allocations: 43.34 kB / 1.177 GB, free: 13.68 MB / 0.9356 GB Notification: Performance of SimCode: time 2.21e-07/0.827, allocations: 0 / 1.177 GB, free: 13.68 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.98/2.807, allocations: 4.482 MB / 1.181 GB, free: 9.398 MB / 0.9356 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002164/2.807, allocations: 248.2 kB / 1.181 GB, free: 9.141 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.423/5.229, allocations: 6.75 kB / 1.181 GB, free: 9.137 MB / 0.9356 GB (rm -f Buildings_10_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe ; mkfifo Buildings_10_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe >> ../files/Buildings_10_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi_res.mat --tempDir=temp_Buildings_10_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi.fmu > Buildings_10_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches