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.005714/0.005714, allocations: 103.2 kB / 15.73 MB, free: 6.004 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.00138/0.001381, allocations: 190.6 kB / 16.67 MB, free: 5.93 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.361/1.361, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.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.483/2.483, allocations: 437 MB / 0.7105 GB, free: 4.395 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001423/0.001423, allocations: 71.83 kB / 1.018 GB, free: 9.898 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7889/0.7903, allocations: 151.6 MB / 1.166 GB, free: 3.742 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi): time 0.002993/0.7934, allocations: 1.689 MB / 1.168 GB, free: 2.043 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.1691/0.9625, allocations: 149.7 MB / 1.314 GB, free: 11.75 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001502/0.9627, allocations: 0 / 1.314 GB, free: 11.75 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0002035/0.9629, allocations: 23.73 kB / 1.314 GB, free: 11.73 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.000344/0.9633, allocations: 47.66 kB / 1.314 GB, free: 11.68 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006873/0.964, allocations: 187.3 kB / 1.314 GB, free: 11.5 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0002682/0.9643, allocations: 167.5 kB / 1.314 GB, free: 11.33 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001438/0.9644, allocations: 23.38 kB / 1.314 GB, free: 11.31 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001341/0.9658, allocations: 187.1 kB / 1.315 GB, free: 11.15 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001378/0.9659, allocations: 67.75 kB / 1.315 GB, free: 11.08 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 3.555e-05/0.966, allocations: 8 kB / 1.315 GB, free: 11.07 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003516/0.9663, allocations: 163.7 kB / 1.315 GB, free: 10.91 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 5.109e-05/0.9664, allocations: 31.84 kB / 1.315 GB, free: 10.88 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 7.551e-05/0.9665, allocations: 55.72 kB / 1.315 GB, free: 10.83 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0004212/0.9669, allocations: 199.5 kB / 1.315 GB, free: 10.63 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.9669, allocations: 0 / 1.315 GB, free: 10.63 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.403e-06/0.9669, allocations: 0 / 1.315 GB, free: 10.63 MB / 1.045 GB Notification: Performance of Transformations before backend: time 5.952e-06/0.9669, allocations: 0 / 1.315 GB, free: 10.63 MB / 1.045 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.0009111/0.9678, allocations: 470.8 kB / 1.316 GB, free: 10.12 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.598e-05/0.9679, allocations: 16.91 kB / 1.316 GB, free: 10.11 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.206e-05/0.968, allocations: 38.75 kB / 1.316 GB, free: 10.06 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006488/0.9686, allocations: 60.53 kB / 1.316 GB, free: 10 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00024/0.9689, allocations: 209 kB / 1.316 GB, free: 9.762 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.307e-05/0.9689, allocations: 8 kB / 1.316 GB, free: 9.754 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.756e-05/0.9689, allocations: 8 kB / 1.316 GB, free: 9.746 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004438/0.9694, allocations: 184 kB / 1.316 GB, free: 9.547 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.326e-06/0.9694, allocations: 0 / 1.316 GB, free: 9.547 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.07e-05/0.9694, allocations: 7.984 kB / 1.316 GB, free: 9.539 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.462e-06/0.9694, allocations: 4 kB / 1.316 GB, free: 9.535 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004806/0.9699, allocations: 147.7 kB / 1.316 GB, free: 9.391 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001111/0.971, allocations: 0.8206 MB / 1.317 GB, free: 8.492 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004064/0.9715, allocations: 134.5 kB / 1.317 GB, free: 8.352 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002482/0.9717, allocations: 76.8 kB / 1.317 GB, free: 8.273 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.56e-05/0.9717, allocations: 0 / 1.317 GB, free: 8.273 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.659e-05/0.9718, allocations: 34.56 kB / 1.317 GB, free: 8.23 MB / 1.045 GB Notification: Performance of pre-optimization done (n=8): time 5.2e-06/0.9718, allocations: 0 / 1.317 GB, free: 8.23 MB / 1.045 GB Notification: Performance of matching and sorting (n=8): time 0.001914/0.9737, allocations: 459.4 kB / 1.318 GB, free: 7.754 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.975e-05/0.9738, allocations: 55.34 kB / 1.318 GB, free: 7.688 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001369/0.9739, allocations: 152.9 kB / 1.318 GB, free: 7.531 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.455e-05/0.974, allocations: 25.7 kB / 1.318 GB, free: 7.5 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 6.522e-05/0.974, allocations: 112.4 kB / 1.318 GB, free: 7.387 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 3.256e-05/0.9741, allocations: 31.55 kB / 1.318 GB, free: 7.355 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.907e-05/0.9742, allocations: 37.62 kB / 1.318 GB, free: 7.312 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001206/0.9743, allocations: 326.8 kB / 1.318 GB, free: 6.984 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00025/0.9745, allocations: 71.94 kB / 1.318 GB, free: 6.914 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002525/0.9748, allocations: 104.2 kB / 1.319 GB, free: 6.797 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004995/0.9753, allocations: 180.2 kB / 1.319 GB, free: 6.605 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/0.9753, allocations: 0 / 1.319 GB, free: 6.605 MB / 1.045 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.001068/0.9764, allocations: 274.2 kB / 1.319 GB, free: 6.328 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.963e-05/0.9764, allocations: 15.94 kB / 1.319 GB, free: 6.312 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.9764, allocations: 0 / 1.319 GB, free: 6.312 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006116/0.9771, allocations: 84.77 kB / 1.319 GB, free: 6.227 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002275/0.9773, allocations: 31.95 kB / 1.319 GB, free: 6.195 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002169/0.9795, allocations: 1.663 MB / 1.321 GB, free: 4.387 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002388/0.9797, allocations: 31.81 kB / 1.321 GB, free: 4.355 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.192e-05/0.9798, allocations: 7.938 kB / 1.321 GB, free: 4.348 MB / 1.045 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.0001109/0.9799, allocations: 117.9 kB / 1.321 GB, free: 4.223 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.461e-05/0.9799, allocations: 7.906 kB / 1.321 GB, free: 4.215 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001097/0.981, allocations: 318.8 kB / 1.321 GB, free: 3.898 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.996e-06/0.981, allocations: 4 kB / 1.321 GB, free: 3.895 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.763e-06/0.981, allocations: 0 / 1.321 GB, free: 3.895 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.9811, allocations: 0 / 1.321 GB, free: 3.895 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002654/0.9813, allocations: 241.5 kB / 1.321 GB, free: 3.609 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.058e-06/0.9813, allocations: 4 kB / 1.321 GB, free: 3.605 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00022/0.9816, allocations: 35.89 kB / 1.321 GB, free: 3.57 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000451/0.982, allocations: 76.78 kB / 1.322 GB, free: 3.492 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.361e-05/0.9821, allocations: 7.922 kB / 1.322 GB, free: 3.484 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001875/0.9839, allocations: 1.681 MB / 1.323 GB, free: 1.656 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/0.984, allocations: 0 / 1.323 GB, free: 1.656 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001054/0.985, allocations: 380.9 kB / 1.324 GB, free: 1.266 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001018/0.9851, allocations: 108.9 kB / 1.324 GB, free: 1.141 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.459e-05/0.9852, allocations: 0 / 1.324 GB, free: 1.141 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002261/0.9854, allocations: 19.92 kB / 1.324 GB, free: 1.121 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.275e-05/0.9855, allocations: 11.98 kB / 1.324 GB, free: 1.109 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.63e-05/0.9855, allocations: 7.984 kB / 1.324 GB, free: 1.102 MB / 1.045 GB Notification: Performance of sorting global known variables: time 8.018e-05/0.9856, allocations: 117.9 kB / 1.324 GB, free: 0.9883 MB / 1.045 GB Notification: Performance of sort global known variables: time 1e-07/0.9856, allocations: 0 / 1.324 GB, free: 0.9883 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.00035/0.9859, allocations: 43.91 kB / 1.324 GB, free: 0.9453 MB / 1.045 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.001355/0.9873, allocations: 0.9218 MB / 1.325 GB, free: 16 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0009017/0.9882, allocations: 306.7 kB / 1.325 GB, free: 15.68 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.9882, allocations: 0 / 1.325 GB, free: 15.68 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0005339/0.9888, allocations: 238.5 kB / 1.325 GB, free: 15.44 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003281/0.9891, allocations: 32.2 kB / 1.325 GB, free: 15.41 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004001/0.9931, allocations: 2.061 MB / 1.327 GB, free: 13.24 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002572/0.9934, allocations: 0.7124 MB / 1.328 GB, free: 12.5 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0001468/0.9936, allocations: 28.81 kB / 1.328 GB, free: 12.47 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.622e-05/0.9937, allocations: 43.34 kB / 1.328 GB, free: 12.43 MB / 1.061 GB Notification: Performance of SimCode: time 5.51e-07/0.9937, allocations: 0 / 1.328 GB, free: 12.43 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02699/1.021, allocations: 4.744 MB / 1.333 GB, free: 7.844 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.24/12.26, allocations: 4.297 kB / 1.333 GB, free: 7.84 MB / 1.061 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