Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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: translateModel(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|wetBulPhi.TWetBul|wetBulPhiApp.TWetBul",fileNamePrefix="Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi") translateModel(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|wetBulPhi.TWetBul|wetBulPhiApp.TWetBul",fileNamePrefix="Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008224/0.008224, allocations: 100.6 kB / 15.73 MB, free: 6 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.001271/0.001271, allocations: 200.5 kB / 16.67 MB, free: 5.926 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.457/1.457, allocations: 222.9 MB / 240.4 MB, free: 4.297 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.884/2.884, allocations: 461.9 MB / 0.7348 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001452/0.001452, allocations: 63.91 kB / 1.054 GB, free: 7.137 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3797/0.3812, allocations: 157.4 MB / 1.208 GB, free: 9.621 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi): time 0.003748/0.385, allocations: 1.915 MB / 1.21 GB, free: 7.691 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 1.011/1.396, allocations: 155.4 MB / 1.361 GB, free: 8.219 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002854/1.397, allocations: 1.219 kB / 1.361 GB, free: 8.219 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0002491/1.397, allocations: 25.38 kB / 1.361 GB, free: 8.199 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0004265/1.397, allocations: 76.89 kB / 1.361 GB, free: 8.148 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.001027/1.398, allocations: 265.7 kB / 1.362 GB, free: 8.016 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0003717/1.399, allocations: 267.9 kB / 1.362 GB, free: 7.891 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002156/1.399, allocations: 73.95 kB / 1.362 GB, free: 7.855 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001459/1.401, allocations: 255.7 kB / 1.362 GB, free: 7.773 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001757/1.401, allocations: 90.28 kB / 1.362 GB, free: 7.734 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 4.268e-05/1.401, allocations: 19.83 kB / 1.362 GB, free: 7.73 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004066/1.401, allocations: 173.4 kB / 1.363 GB, free: 7.691 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 7.106e-05/1.401, allocations: 46.2 kB / 1.363 GB, free: 7.664 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001083/1.401, allocations: 95.8 kB / 1.363 GB, free: 7.609 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0005015/1.402, allocations: 283.4 kB / 1.363 GB, free: 7.512 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 6.882e-06/1.402, allocations: 1.156 kB / 1.363 GB, free: 7.512 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.904e-06/1.402, allocations: 0 / 1.363 GB, free: 7.512 MB / 1.061 GB Notification: Performance of Transformations before backend: time 8.827e-06/1.402, allocations: 0 / 1.363 GB, free: 7.512 MB / 1.061 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/1.403, allocations: 0.5244 MB / 1.363 GB, free: 7.059 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 5.133e-05/1.403, allocations: 14.31 kB / 1.363 GB, free: 7.055 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008816/1.404, allocations: 85.98 kB / 1.364 GB, free: 7.039 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003061/1.404, allocations: 225.9 kB / 1.364 GB, free: 6.816 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.158e-05/1.404, allocations: 45.66 kB / 1.364 GB, free: 6.773 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.011e-05/1.404, allocations: 24.22 kB / 1.364 GB, free: 6.762 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000555/1.405, allocations: 274.3 kB / 1.364 GB, free: 6.598 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.205e-05/1.405, allocations: 3.938 kB / 1.364 GB, free: 6.594 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.995e-05/1.405, allocations: 6.906 kB / 1.364 GB, free: 6.59 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.016e-05/1.405, allocations: 4.031 kB / 1.364 GB, free: 6.59 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004664/1.406, allocations: 161.2 kB / 1.364 GB, free: 6.547 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001744/1.407, allocations: 1.178 MB / 1.365 GB, free: 5.551 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007608/1.408, allocations: 210.3 kB / 1.366 GB, free: 5.473 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001798/1.408, allocations: 72.77 kB / 1.366 GB, free: 5.445 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 3.198e-05/1.408, allocations: 5.062 kB / 1.366 GB, free: 5.441 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.876e-05/1.408, allocations: 33.06 kB / 1.366 GB, free: 5.402 MB / 1.061 GB Notification: Performance of pre-optimization done (n=12): time 1.793e-06/1.408, allocations: 4 kB / 1.366 GB, free: 5.398 MB / 1.061 GB Notification: Performance of matching and sorting (n=12): time 0.002619/1.411, allocations: 0.6239 MB / 1.366 GB, free: 5.07 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.296e-05/1.411, allocations: 55.39 kB / 1.366 GB, free: 5.008 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002749/1.411, allocations: 208.6 kB / 1.367 GB, free: 4.879 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 3.007e-05/1.411, allocations: 31.08 kB / 1.367 GB, free: 4.844 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001011/1.411, allocations: 138.5 kB / 1.367 GB, free: 4.719 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 3.86e-05/1.411, allocations: 42.69 kB / 1.367 GB, free: 4.684 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001063/1.412, allocations: 50.84 kB / 1.367 GB, free: 4.652 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001359/1.412, allocations: 331.3 kB / 1.367 GB, free: 4.328 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002153/1.412, allocations: 75.12 kB / 1.367 GB, free: 4.305 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002539/1.412, allocations: 128 kB / 1.367 GB, free: 4.211 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004291/1.413, allocations: 199.7 kB / 1.368 GB, free: 4.086 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.71e-06/1.413, allocations: 1.344 kB / 1.368 GB, free: 4.086 MB / 1.061 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001391/1.414, allocations: 374.7 kB / 1.368 GB, free: 3.945 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.107e-05/1.414, allocations: 5.688 kB / 1.368 GB, free: 3.945 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.774e-06/1.414, allocations: 2.156 kB / 1.368 GB, free: 3.945 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001062/1.415, allocations: 162.9 kB / 1.368 GB, free: 3.91 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002246/1.415, allocations: 38.95 kB / 1.368 GB, free: 3.906 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00403/1.419, allocations: 3.259 MB / 1.371 GB, free: 0.875 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00037/1.42, allocations: 31 kB / 1.371 GB, free: 0.8633 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.785e-05/1.42, allocations: 15.62 kB / 1.371 GB, free: 0.8594 MB / 1.061 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.0001771/1.42, allocations: 134 kB / 1.371 GB, free: 0.7305 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.231e-05/1.42, allocations: 19.16 kB / 1.371 GB, free: 0.7188 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001297/1.421, allocations: 375.8 kB / 1.372 GB, free: 0.5664 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.859e-06/1.421, allocations: 1.469 kB / 1.372 GB, free: 0.5664 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.405e-06/1.421, allocations: 1.219 kB / 1.372 GB, free: 0.5664 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.09e-06/1.421, allocations: 1.734 kB / 1.372 GB, free: 0.5664 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003845/1.422, allocations: 284.9 kB / 1.372 GB, free: 328 kB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/1.422, allocations: 0 / 1.372 GB, free: 328 kB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001309/1.422, allocations: 20.72 kB / 1.372 GB, free: 328 kB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007813/1.423, allocations: 140.6 kB / 1.372 GB, free: 292 kB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.456e-05/1.423, allocations: 5.312 kB / 1.372 GB, free: 288 kB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003985/1.427, allocations: 3.301 MB / 1.375 GB, free: 13.22 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/1.427, allocations: 1.375 kB / 1.375 GB, free: 13.22 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001313/1.428, allocations: 428.5 kB / 1.376 GB, free: 12.99 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000141/1.428, allocations: 107.5 kB / 1.376 GB, free: 12.89 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.283e-05/1.428, allocations: 13.09 kB / 1.376 GB, free: 12.88 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00027/1.429, allocations: 16.86 kB / 1.376 GB, free: 12.87 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001222/1.429, allocations: 22.66 kB / 1.376 GB, free: 12.86 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.198e-05/1.429, allocations: 7.906 kB / 1.376 GB, free: 12.86 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0002273/1.429, allocations: 157.1 kB / 1.376 GB, free: 12.76 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.51e-07/1.429, allocations: 0 / 1.376 GB, free: 12.76 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0005298/1.43, allocations: 73.66 kB / 1.376 GB, free: 12.75 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 (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.000235/1.43, allocations: 116.9 kB / 1.376 GB, free: 12.65 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.001081/1.431, allocations: 450.8 kB / 1.377 GB, free: 12.36 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/1.431, allocations: 0 / 1.377 GB, free: 12.36 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0006986/1.432, allocations: 350 kB / 1.377 GB, free: 12.1 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004854/1.432, allocations: 60.14 kB / 1.377 GB, free: 12.08 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001165/1.433, allocations: 427.7 kB / 1.378 GB, free: 11.83 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003958/1.434, allocations: 0.738 MB / 1.378 GB, free: 11.13 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0001962/1.434, allocations: 40.7 kB / 1.378 GB, free: 11.11 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.868e-05/1.434, allocations: 29.55 kB / 1.378 GB, free: 11.1 MB / 1.076 GB Notification: Performance of SimCode: time 7.41e-07/1.434, allocations: 0 / 1.378 GB, free: 11.1 MB / 1.076 GB Notification: Performance of Templates: time 0.01179/1.446, allocations: 5.342 MB / 1.384 GB, free: 8.395 MB / 1.076 GB make -j1 -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.makefile (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.sim & ./Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches