Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi,fileNamePrefix="Buildings_9_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.005487/0.005487, allocations: 102.3 kB / 15.73 MB, free: 5.578 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.001187/0.001187, allocations: 194.7 kB / 16.67 MB, free: 5.52 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.337/1.337, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.157/2.157, allocations: 390.3 MB / 0.6648 GB, free: 0.6406 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001295/0.001295, allocations: 59.91 kB / 0.9504 GB, free: 8.16 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7426/0.7439, allocations: 140.4 MB / 1.087 GB, free: 5.262 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi): time 0.002692/0.7467, allocations: 1.907 MB / 1.089 GB, free: 3.93 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.1833/0.93, allocations: 155.4 MB / 1.241 GB, free: 14.78 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002515/0.9303, allocations: 2.75 kB / 1.241 GB, free: 14.78 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0002396/0.9306, allocations: 29.09 kB / 1.241 GB, free: 14.75 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0004645/0.9311, allocations: 77.17 kB / 1.241 GB, free: 14.69 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008386/0.9319, allocations: 254.3 kB / 1.241 GB, free: 14.5 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0003917/0.9323, allocations: 268.6 kB / 1.242 GB, free: 14.34 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000188/0.9325, allocations: 67.94 kB / 1.242 GB, free: 14.3 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001412/0.9339, allocations: 255.5 kB / 1.242 GB, free: 14.18 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001919/0.9341, allocations: 94.73 kB / 1.242 GB, free: 14.11 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 4.496e-05/0.9342, allocations: 15.22 kB / 1.242 GB, free: 14.11 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004121/0.9346, allocations: 182.5 kB / 1.242 GB, free: 14.03 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 8.668e-05/0.9347, allocations: 52.03 kB / 1.242 GB, free: 13.98 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001293/0.9348, allocations: 90.09 kB / 1.242 GB, free: 13.93 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0005376/0.9354, allocations: 285.4 kB / 1.243 GB, free: 13.75 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.9354, allocations: 1.375 kB / 1.243 GB, free: 13.75 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.864e-06/0.9354, allocations: 0 / 1.243 GB, free: 13.75 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 8.707e-06/0.9354, allocations: 0 / 1.243 GB, free: 13.75 MB / 0.9825 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.001077/0.9365, allocations: 0.5313 MB / 1.243 GB, free: 13.25 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.715e-05/0.9366, allocations: 9.625 kB / 1.243 GB, free: 13.25 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.813e-05/0.9366, allocations: 52.36 kB / 1.243 GB, free: 13.2 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008995/0.9375, allocations: 83.77 kB / 1.243 GB, free: 13.16 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003199/0.9379, allocations: 232.9 kB / 1.244 GB, free: 12.92 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.444e-05/0.938, allocations: 42.72 kB / 1.244 GB, free: 12.88 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.201e-05/0.938, allocations: 17.91 kB / 1.244 GB, free: 12.87 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005401/0.9386, allocations: 263.4 kB / 1.244 GB, free: 12.66 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.272e-05/0.9386, allocations: 5.062 kB / 1.244 GB, free: 12.66 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.622e-05/0.9386, allocations: 6.656 kB / 1.244 GB, free: 12.66 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.595e-06/0.9386, allocations: 3.938 kB / 1.244 GB, free: 12.66 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004629/0.9391, allocations: 169.8 kB / 1.244 GB, free: 12.57 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001818/0.9409, allocations: 1.181 MB / 1.245 GB, free: 11.46 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008042/0.9417, allocations: 210.1 kB / 1.245 GB, free: 11.36 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002014/0.942, allocations: 75.84 kB / 1.245 GB, free: 11.32 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.034e-05/0.942, allocations: 1.125 kB / 1.245 GB, free: 11.32 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.459e-05/0.942, allocations: 32.09 kB / 1.246 GB, free: 11.28 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=12): time 1.513e-06/0.942, allocations: 4 kB / 1.246 GB, free: 11.27 MB / 0.9825 GB Notification: Performance of matching and sorting (n=12): time 0.002743/0.9448, allocations: 0.628 MB / 1.246 GB, free: 10.83 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.02e-05/0.9448, allocations: 52.81 kB / 1.246 GB, free: 10.77 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002682/0.9451, allocations: 208.3 kB / 1.246 GB, free: 10.61 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.927e-05/0.9452, allocations: 30.98 kB / 1.246 GB, free: 10.58 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001/0.9453, allocations: 144.7 kB / 1.247 GB, free: 10.44 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.113e-05/0.9453, allocations: 40.92 kB / 1.247 GB, free: 10.41 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001095/0.9454, allocations: 52.62 kB / 1.247 GB, free: 10.36 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001202/0.9456, allocations: 335.2 kB / 1.247 GB, free: 10.03 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002201/0.9458, allocations: 72.06 kB / 1.247 GB, free: 9.996 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002556/0.946, allocations: 129.5 kB / 1.247 GB, free: 9.887 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004124/0.9465, allocations: 201.5 kB / 1.247 GB, free: 9.691 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.9465, allocations: 0 / 1.247 GB, free: 9.691 MB / 0.9825 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001381/0.9479, allocations: 375.6 kB / 1.248 GB, free: 9.312 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.06e-05/0.9479, allocations: 8 kB / 1.248 GB, free: 9.305 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.717e-06/0.9479, allocations: 3.938 kB / 1.248 GB, free: 9.301 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001054/0.949, allocations: 161.8 kB / 1.248 GB, free: 9.137 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002206/0.9492, allocations: 39.91 kB / 1.248 GB, free: 9.098 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003814/0.953, allocations: 3.253 MB / 1.251 GB, free: 5.562 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003461/0.9534, allocations: 27.77 kB / 1.251 GB, free: 5.535 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.678e-05/0.9534, allocations: 12 kB / 1.251 GB, free: 5.523 MB / 0.9825 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.0001237/0.9536, allocations: 133.8 kB / 1.251 GB, free: 5.383 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.685e-05/0.9536, allocations: 19.72 kB / 1.251 GB, free: 5.363 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001249/0.9549, allocations: 372.2 kB / 1.252 GB, free: 4.984 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.03e-06/0.9549, allocations: 4 kB / 1.252 GB, free: 4.98 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.364e-06/0.9549, allocations: 0 / 1.252 GB, free: 4.98 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.751e-06/0.9549, allocations: 3.984 kB / 1.252 GB, free: 4.977 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003174/0.9552, allocations: 273.4 kB / 1.252 GB, free: 4.66 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.445e-06/0.9552, allocations: 0 / 1.252 GB, free: 4.66 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001349/0.9554, allocations: 23.98 kB / 1.252 GB, free: 4.637 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007913/0.9562, allocations: 141.5 kB / 1.252 GB, free: 4.492 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.99e-05/0.9562, allocations: 4 kB / 1.252 GB, free: 4.488 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003472/0.9597, allocations: 3.296 MB / 1.255 GB, free: 0.9062 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.886e-06/0.9597, allocations: 0 / 1.255 GB, free: 0.9062 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001219/0.9609, allocations: 446.9 kB / 1.256 GB, free: 460 kB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001108/0.9611, allocations: 112.8 kB / 1.256 GB, free: 328 kB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.556e-05/0.9611, allocations: 4 kB / 1.256 GB, free: 324 kB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002731/0.9614, allocations: 15.98 kB / 1.256 GB, free: 308 kB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.229e-05/0.9615, allocations: 19.92 kB / 1.256 GB, free: 288 kB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.218e-05/0.9615, allocations: 11.98 kB / 1.256 GB, free: 276 kB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001664/0.9617, allocations: 163.1 kB / 1.256 GB, free: 112 kB / 0.9825 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9617, allocations: 0 / 1.256 GB, free: 112 kB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0004057/0.9621, allocations: 67.94 kB / 1.256 GB, free: 44 kB / 0.9825 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.001526/0.9636, allocations: 0.9757 MB / 1.257 GB, free: 15.03 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0009824/0.9646, allocations: 447 kB / 1.257 GB, free: 14.57 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.9646, allocations: 0 / 1.257 GB, free: 14.57 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0006459/0.9653, allocations: 353.2 kB / 1.258 GB, free: 14.2 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004089/0.9657, allocations: 71.88 kB / 1.258 GB, free: 14.13 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004691/0.9704, allocations: 2.521 MB / 1.26 GB, free: 11.48 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002537/0.9707, allocations: 0.7363 MB / 1.261 GB, free: 10.71 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001606/0.9708, allocations: 33.94 kB / 1.261 GB, free: 10.68 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.503e-05/0.9709, allocations: 55.42 kB / 1.261 GB, free: 10.63 MB / 0.9981 GB Notification: Performance of SimCode: time 3.31e-07/0.9709, allocations: 0 / 1.261 GB, free: 10.63 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02717/0.9981, allocations: 7.28 MB / 1.268 GB, free: 3.555 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.07/12.07, allocations: 7.938 kB / 1.268 GB, free: 3.547 MB / 0.9981 GB (rm -f Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; mkfifo Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe >> ../files/Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi.fmu > Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches