Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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_TDryBulPhi,fileNamePrefix="Buildings_10_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi,fileNamePrefix="Buildings_10_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.006397/0.006397, allocations: 99.02 kB / 15.73 MB, free: 6.047 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.001533/0.001534, allocations: 194.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.434/1.434, allocations: 222.9 MB / 240.4 MB, free: 4.32 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.585/2.585, allocations: 437.1 MB / 0.7106 GB, free: 5.012 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001856/0.001856, allocations: 63.89 kB / 1.018 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3171/0.319, allocations: 151.6 MB / 1.166 GB, free: 7.301 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi): time 0.003081/0.3221, allocations: 1.919 MB / 1.168 GB, free: 5.359 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.6814/1.004, allocations: 155.4 MB / 1.32 GB, free: 10.12 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001145/1.004, allocations: 2.281 kB / 1.32 GB, free: 10.12 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0001478/1.004, allocations: 29.09 kB / 1.32 GB, free: 10.1 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0002538/1.004, allocations: 75.39 kB / 1.32 GB, free: 10.05 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005941/1.005, allocations: 268.7 kB / 1.32 GB, free: 9.98 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0002497/1.005, allocations: 270.8 kB / 1.32 GB, free: 9.93 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001364/1.005, allocations: 65.09 kB / 1.321 GB, free: 9.918 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001225/1.006, allocations: 247.8 kB / 1.321 GB, free: 9.875 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001481/1.007, allocations: 94.88 kB / 1.321 GB, free: 9.852 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 3.369e-05/1.007, allocations: 15.22 kB / 1.321 GB, free: 9.852 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003122/1.007, allocations: 184.8 kB / 1.321 GB, free: 9.836 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 5.664e-05/1.007, allocations: 39.22 kB / 1.321 GB, free: 9.832 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 9.532e-05/1.007, allocations: 94.33 kB / 1.321 GB, free: 9.801 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.000381/1.007, allocations: 285.5 kB / 1.321 GB, free: 9.746 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 2.955e-06/1.007, allocations: 6.422 kB / 1.321 GB, free: 9.742 MB / 1.014 GB Notification: Performance of FrontEnd: time 9.82e-07/1.007, allocations: 0 / 1.321 GB, free: 9.742 MB / 1.014 GB Notification: Performance of Transformations before backend: time 4.949e-06/1.007, allocations: 0 / 1.321 GB, free: 9.742 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: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0008485/1.008, allocations: 0.5273 MB / 1.322 GB, free: 9.312 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 2.94e-05/1.008, allocations: 10.64 kB / 1.322 GB, free: 9.312 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.34e-05/1.008, allocations: 52.59 kB / 1.322 GB, free: 9.273 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007552/1.009, allocations: 87.86 kB / 1.322 GB, free: 9.258 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002491/1.009, allocations: 233.8 kB / 1.322 GB, free: 9.035 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.641e-05/1.01, allocations: 40.41 kB / 1.322 GB, free: 9.004 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.716e-05/1.01, allocations: 15.06 kB / 1.322 GB, free: 9.004 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004805/1.01, allocations: 258.7 kB / 1.323 GB, free: 8.902 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.638e-06/1.01, allocations: 1.406 kB / 1.323 GB, free: 8.902 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.792e-05/1.01, allocations: 8.312 kB / 1.323 GB, free: 8.902 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.031e-06/1.01, allocations: 5.281 kB / 1.323 GB, free: 8.902 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004178/1.011, allocations: 171 kB / 1.323 GB, free: 8.891 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001505/1.012, allocations: 1.184 MB / 1.324 GB, free: 7.984 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006759/1.013, allocations: 203.4 kB / 1.324 GB, free: 7.957 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001599/1.013, allocations: 71.56 kB / 1.324 GB, free: 7.949 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 2.009e-05/1.013, allocations: 5.406 kB / 1.324 GB, free: 7.945 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.694e-05/1.013, allocations: 37.16 kB / 1.324 GB, free: 7.902 MB / 1.014 GB Notification: Performance of pre-optimization done (n=12): time 1.223e-06/1.013, allocations: 0 / 1.324 GB, free: 7.902 MB / 1.014 GB Notification: Performance of matching and sorting (n=12): time 0.002507/1.015, allocations: 0.6222 MB / 1.325 GB, free: 7.578 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.167e-05/1.016, allocations: 57.41 kB / 1.325 GB, free: 7.512 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002351/1.016, allocations: 220.4 kB / 1.325 GB, free: 7.371 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 2.554e-05/1.016, allocations: 25.7 kB / 1.325 GB, free: 7.34 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 8.802e-05/1.016, allocations: 147.4 kB / 1.325 GB, free: 7.207 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 3.558e-05/1.016, allocations: 40.58 kB / 1.325 GB, free: 7.176 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.937e-05/1.016, allocations: 50.39 kB / 1.325 GB, free: 7.145 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001248/1.016, allocations: 331.3 kB / 1.326 GB, free: 6.82 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002077/1.016, allocations: 69.94 kB / 1.326 GB, free: 6.801 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002515/1.017, allocations: 138.3 kB / 1.326 GB, free: 6.699 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004056/1.017, allocations: 196.5 kB / 1.326 GB, free: 6.582 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/1.017, allocations: 4 kB / 1.326 GB, free: 6.578 MB / 1.014 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.00137/1.018, allocations: 375.1 kB / 1.326 GB, free: 6.438 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.296e-05/1.018, allocations: 10.66 kB / 1.326 GB, free: 6.434 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5e-06/1.018, allocations: 1.094 kB / 1.326 GB, free: 6.434 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009947/1.019, allocations: 161.9 kB / 1.327 GB, free: 6.398 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000198/1.02, allocations: 43.23 kB / 1.327 GB, free: 6.391 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06449/1.084, allocations: 3.244 MB / 1.33 GB, free: 3.367 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003478/1.085, allocations: 38.94 kB / 1.33 GB, free: 3.348 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.502e-05/1.085, allocations: 12.64 kB / 1.33 GB, free: 3.344 MB / 1.014 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.0001389/1.085, allocations: 139.8 kB / 1.33 GB, free: 3.207 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.006e-05/1.085, allocations: 17.28 kB / 1.33 GB, free: 3.199 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00125/1.086, allocations: 370.6 kB / 1.33 GB, free: 3.047 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.656e-06/1.086, allocations: 3.438 kB / 1.33 GB, free: 3.047 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.322e-06/1.086, allocations: 0 / 1.33 GB, free: 3.047 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.967e-06/1.086, allocations: 6.172 kB / 1.33 GB, free: 3.043 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003184/1.086, allocations: 275.8 kB / 1.331 GB, free: 2.805 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/1.086, allocations: 5.375 kB / 1.331 GB, free: 2.801 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001253/1.087, allocations: 27.55 kB / 1.331 GB, free: 2.793 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007791/1.087, allocations: 136.7 kB / 1.331 GB, free: 2.762 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.007e-05/1.087, allocations: 6.078 kB / 1.331 GB, free: 2.758 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003536/1.091, allocations: 3.305 MB / 1.334 GB, free: 15.7 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/1.091, allocations: 3.938 kB / 1.334 GB, free: 15.69 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001162/1.092, allocations: 434.4 kB / 1.334 GB, free: 15.46 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001066/1.092, allocations: 118.9 kB / 1.335 GB, free: 15.34 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.495e-05/1.092, allocations: 1.5 kB / 1.335 GB, free: 15.34 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002696/1.092, allocations: 16.17 kB / 1.335 GB, free: 15.34 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.337e-05/1.093, allocations: 18.5 kB / 1.335 GB, free: 15.34 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.631e-05/1.093, allocations: 5.281 kB / 1.335 GB, free: 15.34 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001686/1.093, allocations: 164 kB / 1.335 GB, free: 15.23 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.5e-07/1.093, allocations: 4 kB / 1.335 GB, free: 15.23 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003646/1.093, allocations: 72.36 kB / 1.335 GB, free: 15.21 MB / 1.029 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.001518/1.095, allocations: 0.9792 MB / 1.336 GB, free: 14.44 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0009506/1.096, allocations: 447.3 kB / 1.336 GB, free: 14.16 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/1.096, allocations: 0 / 1.336 GB, free: 14.16 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0006283/1.096, allocations: 354.1 kB / 1.337 GB, free: 13.89 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000389/1.097, allocations: 68.39 kB / 1.337 GB, free: 13.86 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004581/1.101, allocations: 2.522 MB / 1.339 GB, free: 12.14 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003038/1.102, allocations: 0.7389 MB / 1.34 GB, free: 11.44 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001487/1.102, allocations: 31.77 kB / 1.34 GB, free: 11.43 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.814e-05/1.102, allocations: 54.03 kB / 1.34 GB, free: 11.39 MB / 1.029 GB Notification: Performance of SimCode: time 2.1e-07/1.102, allocations: 1.438 kB / 1.34 GB, free: 11.39 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2583/1.36, allocations: 7.302 MB / 1.347 GB, free: 10.65 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.92/17.28, allocations: 2.188 kB / 1.347 GB, free: 10.65 MB / 1.029 GB (rm -f Buildings_10_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; mkfifo Buildings_10_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe >> ../files/Buildings_10_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi_res.mat --tempDir=temp_Buildings_10_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi.fmu > Buildings_10_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches