Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi,fileNamePrefix="Buildings_11_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.007452/0.007452, allocations: 96.16 kB / 15.73 MB, free: 6.043 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.001999/0.001999, allocations: 203.5 kB / 16.68 MB, free: 5.969 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.425/1.425, allocations: 222.9 MB / 240.4 MB, free: 4.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.825/2.825, allocations: 469.8 MB / 0.7425 GB, free: 7.305 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001886/0.001886, allocations: 67.84 kB / 1.065 GB, free: 13.53 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3102/0.3121, allocations: 159.1 MB / 1.22 GB, free: 14.28 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi): time 0.00279/0.3149, allocations: 1.678 MB / 1.222 GB, free: 12.58 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.8245/1.139, allocations: 149.7 MB / 1.368 GB, free: 14.23 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001204/1.14, allocations: 4.969 kB / 1.368 GB, free: 14.23 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0001632/1.14, allocations: 21.19 kB / 1.368 GB, free: 14.21 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.0002954/1.14, allocations: 58.09 kB / 1.368 GB, free: 14.18 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005702/1.141, allocations: 180.2 kB / 1.368 GB, free: 14.09 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0002378/1.141, allocations: 162.8 kB / 1.368 GB, free: 14.02 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001463/1.141, allocations: 34.03 kB / 1.368 GB, free: 14 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001353/1.142, allocations: 187.7 kB / 1.369 GB, free: 13.95 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001355/1.143, allocations: 66.84 kB / 1.369 GB, free: 13.92 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 2.846e-05/1.143, allocations: 8.25 kB / 1.369 GB, free: 13.92 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003459/1.143, allocations: 162.9 kB / 1.369 GB, free: 13.88 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 4.914e-05/1.143, allocations: 30.98 kB / 1.369 GB, free: 13.86 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 7.333e-05/1.143, allocations: 58.86 kB / 1.369 GB, free: 13.83 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0003436/1.143, allocations: 197 kB / 1.369 GB, free: 13.77 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/1.143, allocations: 0 / 1.369 GB, free: 13.77 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.984e-06/1.143, allocations: 1.312 kB / 1.369 GB, free: 13.77 MB / 1.076 GB Notification: Performance of Transformations before backend: time 5.611e-06/1.143, allocations: 0 / 1.369 GB, free: 13.77 MB / 1.076 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.0009301/1.144, allocations: 475.3 kB / 1.37 GB, free: 13.34 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.179e-05/1.144, allocations: 9.406 kB / 1.37 GB, free: 13.34 MB / 1.076 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.45e-05/1.145, allocations: 45.44 kB / 1.37 GB, free: 13.29 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006183/1.145, allocations: 56.44 kB / 1.37 GB, free: 13.29 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002639/1.145, allocations: 206.3 kB / 1.37 GB, free: 13.07 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.193e-05/1.145, allocations: 8.031 kB / 1.37 GB, free: 13.06 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.712e-05/1.145, allocations: 8.312 kB / 1.37 GB, free: 13.06 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004894/1.146, allocations: 182.2 kB / 1.37 GB, free: 12.95 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.077e-06/1.146, allocations: 0 / 1.37 GB, free: 12.95 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.042e-05/1.146, allocations: 5.188 kB / 1.37 GB, free: 12.95 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.891e-06/1.146, allocations: 2.312 kB / 1.37 GB, free: 12.95 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005266/1.147, allocations: 139.1 kB / 1.37 GB, free: 12.92 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00119/1.148, allocations: 0.8349 MB / 1.371 GB, free: 12.16 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004241/1.148, allocations: 128.2 kB / 1.371 GB, free: 12.11 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002662/1.148, allocations: 85.75 kB / 1.371 GB, free: 12.07 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 2.037e-05/1.148, allocations: 5 kB / 1.371 GB, free: 12.07 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.71e-05/1.149, allocations: 35.75 kB / 1.371 GB, free: 12.03 MB / 1.076 GB Notification: Performance of pre-optimization done (n=8): time 3.617e-06/1.149, allocations: 0 / 1.371 GB, free: 12.03 MB / 1.076 GB Notification: Performance of matching and sorting (n=8): time 0.002019/1.151, allocations: 462 kB / 1.372 GB, free: 11.82 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.299e-05/1.151, allocations: 56.78 kB / 1.372 GB, free: 11.75 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001578/1.151, allocations: 155.6 kB / 1.372 GB, free: 11.63 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 2.653e-05/1.151, allocations: 25.7 kB / 1.372 GB, free: 11.6 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 9.48e-05/1.151, allocations: 120.6 kB / 1.372 GB, free: 11.49 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 3.001e-05/1.151, allocations: 21.34 kB / 1.372 GB, free: 11.47 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.601e-05/1.151, allocations: 36.52 kB / 1.372 GB, free: 11.45 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.000162/1.151, allocations: 321 kB / 1.372 GB, free: 11.13 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002638/1.151, allocations: 71.56 kB / 1.372 GB, free: 11.11 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002902/1.152, allocations: 103.5 kB / 1.373 GB, free: 11.05 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007868/1.153, allocations: 177.8 kB / 1.373 GB, free: 10.96 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/1.153, allocations: 1.156 kB / 1.373 GB, free: 10.96 MB / 1.076 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.001657/1.154, allocations: 279.5 kB / 1.373 GB, free: 10.86 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.506e-05/1.154, allocations: 9.25 kB / 1.373 GB, free: 10.86 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.726e-06/1.154, allocations: 2.312 kB / 1.373 GB, free: 10.86 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007279/1.155, allocations: 86.02 kB / 1.373 GB, free: 10.84 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002253/1.155, allocations: 36.53 kB / 1.373 GB, free: 10.84 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002341/1.158, allocations: 1.653 MB / 1.375 GB, free: 9.324 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002533/1.158, allocations: 31.17 kB / 1.375 GB, free: 9.309 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.021e-05/1.158, allocations: 8.781 kB / 1.375 GB, free: 9.309 MB / 1.076 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.0001328/1.158, allocations: 128.4 kB / 1.375 GB, free: 9.18 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.477e-05/1.158, allocations: 8.484 kB / 1.375 GB, free: 9.176 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001118/1.159, allocations: 315.5 kB / 1.375 GB, free: 9.062 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.908e-06/1.159, allocations: 3.531 kB / 1.375 GB, free: 9.062 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.429e-06/1.159, allocations: 1.406 kB / 1.375 GB, free: 9.062 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/1.159, allocations: 3.938 kB / 1.375 GB, free: 9.059 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003073/1.16, allocations: 248.3 kB / 1.375 GB, free: 8.824 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/1.16, allocations: 1.125 kB / 1.375 GB, free: 8.824 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002051/1.16, allocations: 36.38 kB / 1.375 GB, free: 8.82 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004397/1.16, allocations: 70.36 kB / 1.376 GB, free: 8.805 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.158e-05/1.16, allocations: 7.906 kB / 1.376 GB, free: 8.801 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002122/1.162, allocations: 1.686 MB / 1.377 GB, free: 7.262 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/1.162, allocations: 0 / 1.377 GB, free: 7.262 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001102/1.164, allocations: 381 kB / 1.378 GB, free: 7.055 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001086/1.164, allocations: 111.7 kB / 1.378 GB, free: 6.941 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.505e-05/1.164, allocations: 1.562 kB / 1.378 GB, free: 6.941 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002183/1.164, allocations: 18.47 kB / 1.378 GB, free: 6.938 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.257e-05/1.164, allocations: 14.69 kB / 1.378 GB, free: 6.934 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.503e-05/1.164, allocations: 5.219 kB / 1.378 GB, free: 6.934 MB / 1.076 GB Notification: Performance of sorting global known variables: time 9.469e-05/1.164, allocations: 123.1 kB / 1.378 GB, free: 6.84 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.4e-07/1.164, allocations: 4.969 kB / 1.378 GB, free: 6.836 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0003499/1.164, allocations: 44.53 kB / 1.378 GB, free: 6.828 MB / 1.076 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.001513/1.166, allocations: 0.9249 MB / 1.379 GB, free: 6.086 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.000948/1.167, allocations: 307.5 kB / 1.379 GB, free: 5.926 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.185e-06/1.167, allocations: 0 / 1.379 GB, free: 5.926 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0005579/1.168, allocations: 223.8 kB / 1.379 GB, free: 5.789 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003264/1.168, allocations: 30.88 kB / 1.379 GB, free: 5.773 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00408/1.172, allocations: 2.066 MB / 1.381 GB, free: 4.152 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003449/1.172, allocations: 0.7081 MB / 1.382 GB, free: 3.441 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.000158/1.172, allocations: 31.16 kB / 1.382 GB, free: 3.422 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.306e-05/1.173, allocations: 34.23 kB / 1.382 GB, free: 3.395 MB / 1.076 GB Notification: Performance of SimCode: time 4.01e-07/1.173, allocations: 1.281 kB / 1.382 GB, free: 3.395 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04087/1.213, allocations: 4.744 MB / 1.387 GB, free: 0.9648 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.37/12.58, allocations: 7.406 kB / 1.387 GB, free: 0.9609 MB / 1.076 GB (rm -f Buildings_11_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe ; mkfifo Buildings_11_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe >> ../files/Buildings_11_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_11_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi.fmu > Buildings_11_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches