Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_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.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Psychrometrics_Validation_WetBulb_TDryBulPhi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Psychrometrics_Validation_WetBulb_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.009221/0.00922, allocations: 100.4 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.002175/0.002175, allocations: 192.5 kB / 16.67 MB, free: 5.91 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.421/1.421, allocations: 222.9 MB / 240.4 MB, free: 4.16 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.625/2.625, allocations: 437 MB / 0.7105 GB, free: 4.918 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00119/0.00119, allocations: 63.91 kB / 1.018 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2809/0.2821, allocations: 151.6 MB / 1.166 GB, free: 7.281 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi): time 0.001811/0.2839, allocations: 0.7662 MB / 1.167 GB, free: 6.512 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001007/0.2849, allocations: 0.8702 MB / 1.168 GB, free: 5.629 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.225e-05/0.285, allocations: 0 / 1.168 GB, free: 5.629 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.12e-05/0.285, allocations: 19.8 kB / 1.168 GB, free: 5.609 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 8.408e-05/0.2851, allocations: 15.86 kB / 1.168 GB, free: 5.594 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001675/0.2853, allocations: 47.88 kB / 1.168 GB, free: 5.547 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001339/0.2854, allocations: 99.69 kB / 1.168 GB, free: 5.449 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001022/0.2856, allocations: 12 kB / 1.168 GB, free: 5.438 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 8.667e-05/0.2857, allocations: 43.84 kB / 1.168 GB, free: 5.395 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001015/0.2858, allocations: 51.81 kB / 1.168 GB, free: 5.344 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.408e-05/0.2858, allocations: 8 kB / 1.168 GB, free: 5.336 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 2.023e-05/0.2858, allocations: 8 kB / 1.168 GB, free: 5.328 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.746e-05/0.2858, allocations: 15.92 kB / 1.168 GB, free: 5.312 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 5.769e-05/0.2859, allocations: 47.77 kB / 1.168 GB, free: 5.266 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001368/0.286, allocations: 90.48 kB / 1.168 GB, free: 5.18 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.2861, allocations: 0 / 1.168 GB, free: 5.18 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.984e-06/0.2861, allocations: 0 / 1.168 GB, free: 5.18 MB / 0.92 GB Notification: Performance of Transformations before backend: time 8.837e-06/0.2861, allocations: 0 / 1.168 GB, free: 5.18 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0007967/0.2869, allocations: 412 kB / 1.169 GB, free: 4.727 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.069e-05/0.2869, allocations: 8.031 kB / 1.169 GB, free: 4.719 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.938e-05/0.287, allocations: 38.75 kB / 1.169 GB, free: 4.672 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.284e-05/0.287, allocations: 8.844 kB / 1.169 GB, free: 4.664 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001315/0.2871, allocations: 176.2 kB / 1.169 GB, free: 4.453 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.398e-05/0.2872, allocations: 4.375 kB / 1.169 GB, free: 4.449 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.873e-05/0.2872, allocations: 8.375 kB / 1.169 GB, free: 4.441 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003694/0.2876, allocations: 127.1 kB / 1.169 GB, free: 4.309 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.214e-05/0.2876, allocations: 3.938 kB / 1.169 GB, free: 4.305 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.394e-05/0.2876, allocations: 3.938 kB / 1.169 GB, free: 4.301 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.2e-06/0.2876, allocations: 0 / 1.169 GB, free: 4.301 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003393/0.288, allocations: 103.9 kB / 1.169 GB, free: 4.199 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006231/0.2886, allocations: 444.6 kB / 1.169 GB, free: 3.711 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004055/0.289, allocations: 117.2 kB / 1.17 GB, free: 3.578 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000175/0.2892, allocations: 53.67 kB / 1.17 GB, free: 3.52 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.807e-05/0.2892, allocations: 0 / 1.17 GB, free: 3.52 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.686e-05/0.2893, allocations: 42.55 kB / 1.17 GB, free: 3.469 MB / 0.92 GB Notification: Performance of pre-optimization done (n=6): time 1.143e-06/0.2893, allocations: 4 kB / 1.17 GB, free: 3.465 MB / 0.92 GB Notification: Performance of matching and sorting (n=6): time 0.0006292/0.2899, allocations: 177.5 kB / 1.17 GB, free: 3.285 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.273e-05/0.29, allocations: 77.11 kB / 1.17 GB, free: 3.191 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001451/0.2901, allocations: 139.5 kB / 1.17 GB, free: 3.047 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.96e-05/0.2901, allocations: 33.7 kB / 1.17 GB, free: 3.008 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 6.795e-05/0.2902, allocations: 95.98 kB / 1.17 GB, free: 2.91 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.35e-05/0.2902, allocations: 23.7 kB / 1.17 GB, free: 2.887 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.155e-05/0.2903, allocations: 25.7 kB / 1.17 GB, free: 2.855 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001202/0.2904, allocations: 314.8 kB / 1.171 GB, free: 2.539 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000167/0.2906, allocations: 47.89 kB / 1.171 GB, free: 2.492 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002496/0.2909, allocations: 69.59 kB / 1.171 GB, free: 2.418 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003132/0.2912, allocations: 105.6 kB / 1.171 GB, free: 2.309 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.2912, allocations: 0 / 1.171 GB, free: 2.309 MB / 0.92 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003885/0.2916, allocations: 153.4 kB / 1.171 GB, free: 2.152 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.603e-05/0.2916, allocations: 4 kB / 1.171 GB, free: 2.148 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.2916, allocations: 0 / 1.171 GB, free: 2.148 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.401e-05/0.2916, allocations: 0 / 1.171 GB, free: 2.148 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001665/0.2918, allocations: 27.97 kB / 1.171 GB, free: 2.121 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.202e-06/0.2918, allocations: 0 / 1.171 GB, free: 2.121 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001226/0.292, allocations: 23.77 kB / 1.171 GB, free: 2.098 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.503e-05/0.292, allocations: 12 kB / 1.171 GB, free: 2.086 MB / 0.92 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.455e-05/0.2921, allocations: 117.8 kB / 1.171 GB, free: 1.961 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.401e-05/0.2921, allocations: 7.906 kB / 1.171 GB, free: 1.953 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004745/0.2926, allocations: 178 kB / 1.171 GB, free: 1.766 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.332e-06/0.2926, allocations: 7.938 kB / 1.171 GB, free: 1.758 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.2926, allocations: 3.938 kB / 1.171 GB, free: 1.754 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.929e-06/0.2926, allocations: 3.938 kB / 1.171 GB, free: 1.75 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003144/0.293, allocations: 209.5 kB / 1.171 GB, free: 1.496 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.876e-06/0.293, allocations: 4 kB / 1.171 GB, free: 1.492 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001574/0.2931, allocations: 27.97 kB / 1.171 GB, free: 1.465 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.2931, allocations: 0 / 1.171 GB, free: 1.465 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.067e-05/0.2932, allocations: 4 kB / 1.171 GB, free: 1.461 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.015e-06/0.2932, allocations: 4 kB / 1.171 GB, free: 1.457 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.2932, allocations: 0 / 1.171 GB, free: 1.457 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004505/0.2936, allocations: 330.5 kB / 1.172 GB, free: 1.117 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 7.389e-05/0.2937, allocations: 101.4 kB / 1.172 GB, free: 1 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.899e-05/0.2937, allocations: 0 / 1.172 GB, free: 1 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000174/0.2939, allocations: 15.98 kB / 1.172 GB, free: 0.9844 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.364e-05/0.294, allocations: 11.92 kB / 1.172 GB, free: 0.9727 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.032e-05/0.294, allocations: 4 kB / 1.172 GB, free: 0.9688 MB / 0.92 GB Notification: Performance of sorting global known variables: time 7.9e-05/0.2941, allocations: 115.2 kB / 1.172 GB, free: 0.8555 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2941, allocations: 0 / 1.172 GB, free: 0.8555 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002716/0.2944, allocations: 16 kB / 1.172 GB, free: 0.8398 MB / 0.92 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (11): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008098/0.2952, allocations: 0.8677 MB / 1.173 GB, free: 15.95 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0004125/0.2956, allocations: 107.9 kB / 1.173 GB, free: 15.84 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.245e-06/0.2956, allocations: 4 kB / 1.173 GB, free: 15.84 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001825/0.2958, allocations: 67.88 kB / 1.173 GB, free: 15.77 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004945/0.2963, allocations: 44.17 kB / 1.173 GB, free: 15.73 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002203/0.2985, allocations: 1.726 MB / 1.175 GB, free: 13.91 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000334/0.2989, allocations: 0.7002 MB / 1.175 GB, free: 13.19 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 7.232e-05/0.2989, allocations: 8.562 kB / 1.175 GB, free: 13.18 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.708e-05/0.299, allocations: 31.42 kB / 1.176 GB, free: 13.15 MB / 0.9356 GB Notification: Performance of SimCode: time 4.01e-07/0.299, allocations: 4 kB / 1.176 GB, free: 13.14 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02127/0.3203, allocations: 3.129 MB / 1.179 GB, free: 10.18 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.654/7.975, allocations: 10.55 kB / 1.179 GB, free: 10.17 MB / 0.9356 GB (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_CDL_Psychrometrics_Validation_WetBulb_TDryBulPhi_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_CDL_Psychrometrics_Validation_WetBulb_TDryBulPhi.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Psychrometrics_Validation_WetBulb_TDryBulPhi.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches