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.008111/0.008111, allocations: 97.64 kB / 15.73 MB, free: 5.988 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.002307/0.002307, allocations: 192 kB / 16.67 MB, free: 5.918 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.556/1.556, allocations: 222.9 MB / 240.4 MB, free: 4.312 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.75/2.75, allocations: 437 MB / 0.7105 GB, free: 4.961 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.003137/0.003138, allocations: 67.88 kB / 1.018 GB, free: 15.06 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.313/0.3162, allocations: 151.6 MB / 1.166 GB, free: 7.32 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi): time 0.003061/0.3193, allocations: 1.675 MB / 1.168 GB, free: 5.629 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.7438/1.063, allocations: 149.7 MB / 1.314 GB, free: 12.21 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.971e-05/1.063, allocations: 0 / 1.314 GB, free: 12.21 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0001593/1.063, allocations: 25.44 kB / 1.314 GB, free: 12.2 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0002464/1.064, allocations: 58.62 kB / 1.314 GB, free: 12.17 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004679/1.064, allocations: 181.8 kB / 1.314 GB, free: 12.14 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001813/1.064, allocations: 166.2 kB / 1.314 GB, free: 12.11 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001205/1.065, allocations: 31.23 kB / 1.314 GB, free: 12.1 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001263/1.066, allocations: 183 kB / 1.315 GB, free: 12.09 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001169/1.066, allocations: 61.17 kB / 1.315 GB, free: 12.07 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 2.597e-05/1.066, allocations: 11.25 kB / 1.315 GB, free: 12.07 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003067/1.066, allocations: 164 kB / 1.315 GB, free: 12.06 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 4.928e-05/1.066, allocations: 25.56 kB / 1.315 GB, free: 12.06 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 7.195e-05/1.066, allocations: 58.02 kB / 1.315 GB, free: 12.04 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0003445/1.067, allocations: 207.6 kB / 1.315 GB, free: 12.01 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.046e-06/1.067, allocations: 1 kB / 1.315 GB, free: 12.01 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.463e-06/1.067, allocations: 0 / 1.315 GB, free: 12.01 MB / 1.014 GB Notification: Performance of Transformations before backend: time 4.719e-06/1.067, allocations: 0 / 1.315 GB, free: 12.01 MB / 1.014 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.000904/1.068, allocations: 479.8 kB / 1.316 GB, free: 11.6 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.501e-05/1.068, allocations: 9.875 kB / 1.316 GB, free: 11.6 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.514e-05/1.068, allocations: 38.48 kB / 1.316 GB, free: 11.56 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005749/1.068, allocations: 52.59 kB / 1.316 GB, free: 11.56 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000247/1.069, allocations: 211.6 kB / 1.316 GB, free: 11.34 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.516e-06/1.069, allocations: 6 kB / 1.316 GB, free: 11.34 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.024e-05/1.069, allocations: 13.97 kB / 1.316 GB, free: 11.34 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004571/1.069, allocations: 176.4 kB / 1.316 GB, free: 11.27 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.638e-06/1.069, allocations: 1.094 kB / 1.316 GB, free: 11.27 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.812e-05/1.069, allocations: 5.297 kB / 1.316 GB, free: 11.27 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.581e-06/1.069, allocations: 2.125 kB / 1.316 GB, free: 11.27 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004945/1.07, allocations: 145.8 kB / 1.316 GB, free: 11.26 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001148/1.071, allocations: 0.8277 MB / 1.317 GB, free: 10.57 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004053/1.071, allocations: 136.2 kB / 1.317 GB, free: 10.54 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000271/1.072, allocations: 81.88 kB / 1.317 GB, free: 10.53 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 2.277e-05/1.072, allocations: 1.406 kB / 1.317 GB, free: 10.53 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.694e-05/1.072, allocations: 35.7 kB / 1.317 GB, free: 10.49 MB / 1.014 GB Notification: Performance of pre-optimization done (n=8): time 1.383e-06/1.072, allocations: 0.8125 kB / 1.317 GB, free: 10.49 MB / 1.014 GB Notification: Performance of matching and sorting (n=8): time 0.001925/1.074, allocations: 457.7 kB / 1.318 GB, free: 10.34 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.799e-05/1.074, allocations: 57.16 kB / 1.318 GB, free: 10.27 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001411/1.074, allocations: 155.6 kB / 1.318 GB, free: 10.17 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 2.962e-05/1.074, allocations: 25.7 kB / 1.318 GB, free: 10.14 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 8.076e-05/1.074, allocations: 111 kB / 1.318 GB, free: 10.04 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 3.364e-05/1.074, allocations: 31.81 kB / 1.318 GB, free: 10.02 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.623e-05/1.074, allocations: 35.92 kB / 1.318 GB, free: 10 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001466/1.074, allocations: 326.9 kB / 1.318 GB, free: 9.684 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002471/1.074, allocations: 74.06 kB / 1.318 GB, free: 9.68 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002647/1.075, allocations: 100.4 kB / 1.319 GB, free: 9.641 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004978/1.075, allocations: 174.8 kB / 1.319 GB, free: 9.594 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/1.075, allocations: 6.156 kB / 1.319 GB, free: 9.59 MB / 1.014 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.001041/1.076, allocations: 274.4 kB / 1.319 GB, free: 9.535 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.111e-05/1.076, allocations: 9.25 kB / 1.319 GB, free: 9.531 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.691e-06/1.076, allocations: 5.578 kB / 1.319 GB, free: 9.527 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005813/1.077, allocations: 85.69 kB / 1.319 GB, free: 9.516 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002137/1.077, allocations: 31.91 kB / 1.319 GB, free: 9.516 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002318/1.079, allocations: 1.674 MB / 1.321 GB, free: 8.105 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002201/1.08, allocations: 28.66 kB / 1.321 GB, free: 8.094 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.143e-05/1.08, allocations: 5.828 kB / 1.321 GB, free: 8.094 MB / 1.014 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.000113/1.08, allocations: 126.7 kB / 1.321 GB, free: 7.973 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.326e-05/1.08, allocations: 10.38 kB / 1.321 GB, free: 7.969 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001083/1.081, allocations: 315.7 kB / 1.321 GB, free: 7.906 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.858e-06/1.081, allocations: 2.891 kB / 1.321 GB, free: 7.906 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.383e-06/1.081, allocations: 0 / 1.321 GB, free: 7.906 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/1.081, allocations: 0.5156 kB / 1.321 GB, free: 7.906 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000298/1.081, allocations: 245.3 kB / 1.321 GB, free: 7.707 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/1.081, allocations: 0 / 1.321 GB, free: 7.707 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002067/1.082, allocations: 33.81 kB / 1.321 GB, free: 7.703 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004164/1.082, allocations: 73.98 kB / 1.322 GB, free: 7.695 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.158e-05/1.082, allocations: 6.766 kB / 1.322 GB, free: 7.691 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001997/1.084, allocations: 1.675 MB / 1.323 GB, free: 6.297 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.007e-06/1.084, allocations: 0 / 1.323 GB, free: 6.297 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001057/1.085, allocations: 391.1 kB / 1.324 GB, free: 6.129 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001023/1.085, allocations: 110.2 kB / 1.324 GB, free: 6.023 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.038e-05/1.085, allocations: 5.406 kB / 1.324 GB, free: 6.02 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002117/1.085, allocations: 20.89 kB / 1.324 GB, free: 6.016 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.02e-05/1.085, allocations: 15.66 kB / 1.324 GB, free: 6.016 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.804e-05/1.086, allocations: 8.031 kB / 1.324 GB, free: 6.012 MB / 1.014 GB Notification: Performance of sorting global known variables: time 9.146e-05/1.086, allocations: 113.4 kB / 1.324 GB, free: 5.938 MB / 1.014 GB Notification: Performance of sort global known variables: time 2.31e-07/1.086, allocations: 4 kB / 1.324 GB, free: 5.934 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0003411/1.086, allocations: 44.38 kB / 1.324 GB, free: 5.93 MB / 1.014 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.001422/1.087, allocations: 0.9207 MB / 1.325 GB, free: 5.246 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0008809/1.088, allocations: 318.8 kB / 1.325 GB, free: 5.117 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/1.088, allocations: 4.25 kB / 1.325 GB, free: 5.113 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0005416/1.089, allocations: 226.5 kB / 1.325 GB, free: 5 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003092/1.089, allocations: 26.33 kB / 1.325 GB, free: 4.996 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003912/1.093, allocations: 2.056 MB / 1.327 GB, free: 3.684 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003659/1.093, allocations: 0.7069 MB / 1.328 GB, free: 2.988 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.000139/1.094, allocations: 26.47 kB / 1.328 GB, free: 2.977 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.015e-05/1.094, allocations: 42 kB / 1.328 GB, free: 2.965 MB / 1.014 GB Notification: Performance of SimCode: time 3.51e-07/1.094, allocations: 3.938 kB / 1.328 GB, free: 2.961 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03002/1.124, allocations: 4.739 MB / 1.333 GB, free: 2.395 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.76/12.88, allocations: 0.9062 kB / 1.333 GB, free: 2.395 MB / 1.014 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 & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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.csv","/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