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: translateModel(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|wetBulPhi.TWetBul|wetBulPhiApp.TWetBul",fileNamePrefix="Buildings_10_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_10_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.001137/0.001137, allocations: 106.4 kB / 16.41 MB, free: 6.504 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.001234/0.001234, allocations: 189.7 kB / 17.34 MB, free: 5.742 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.354/1.354, allocations: 222.9 MB / 241 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.594/2.594, allocations: 437 MB / 0.7112 GB, free: 4.43 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001527/0.001527, allocations: 59.91 kB / 1.019 GB, free: 9.48 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8857/0.8872, allocations: 151.6 MB / 1.167 GB, free: 3.887 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi): time 0.004329/0.8916, allocations: 1.93 MB / 1.169 GB, free: 1.945 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.1784/1.07, allocations: 155.4 MB / 1.321 GB, free: 5.934 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002272/1.07, allocations: 7.938 kB / 1.321 GB, free: 5.926 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0002308/1.071, allocations: 27.72 kB / 1.321 GB, free: 5.898 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0004233/1.071, allocations: 79.42 kB / 1.321 GB, free: 5.82 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008636/1.072, allocations: 267.1 kB / 1.321 GB, free: 5.559 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0004172/1.072, allocations: 263.1 kB / 1.322 GB, free: 5.301 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001996/1.073, allocations: 76.16 kB / 1.322 GB, free: 5.23 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001494/1.074, allocations: 246.2 kB / 1.322 GB, free: 5.012 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002034/1.074, allocations: 95.59 kB / 1.322 GB, free: 4.918 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 3.788e-05/1.074, allocations: 16 kB / 1.322 GB, free: 4.902 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004083/1.075, allocations: 183.7 kB / 1.322 GB, free: 4.723 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 7.417e-05/1.075, allocations: 47.83 kB / 1.322 GB, free: 4.676 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0001005/1.075, allocations: 87.58 kB / 1.322 GB, free: 4.59 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0005385/1.075, allocations: 281 kB / 1.323 GB, free: 4.316 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 6.281e-06/1.075, allocations: 7.984 kB / 1.323 GB, free: 4.309 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.543e-06/1.075, allocations: 0 / 1.323 GB, free: 4.309 MB / 1.045 GB Notification: Performance of Transformations before backend: time 1.035e-05/1.075, allocations: 0 / 1.323 GB, free: 4.309 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: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.001057/1.077, allocations: 0.53 MB / 1.323 GB, free: 3.73 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 5.237e-05/1.077, allocations: 8.031 kB / 1.323 GB, free: 3.723 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009105/1.078, allocations: 79.72 kB / 1.323 GB, free: 3.645 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003378/1.078, allocations: 235.7 kB / 1.323 GB, free: 3.375 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.665e-05/1.078, allocations: 42.03 kB / 1.323 GB, free: 3.328 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.394e-05/1.078, allocations: 16 kB / 1.323 GB, free: 3.312 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005495/1.079, allocations: 258.6 kB / 1.324 GB, free: 3.031 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.398e-05/1.079, allocations: 7.984 kB / 1.324 GB, free: 3.023 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.205e-05/1.079, allocations: 8 kB / 1.324 GB, free: 3.016 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.007e-06/1.079, allocations: 4 kB / 1.324 GB, free: 3.012 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004699/1.079, allocations: 171.8 kB / 1.324 GB, free: 2.844 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001815/1.081, allocations: 1.184 MB / 1.325 GB, free: 1.582 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007724/1.082, allocations: 202.6 kB / 1.325 GB, free: 1.375 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001744/1.082, allocations: 68.81 kB / 1.325 GB, free: 1.305 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.668e-05/1.082, allocations: 8 kB / 1.325 GB, free: 1.297 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.632e-05/1.082, allocations: 38.5 kB / 1.325 GB, free: 1.25 MB / 1.045 GB Notification: Performance of pre-optimization done (n=12): time 1.453e-06/1.082, allocations: 0 / 1.325 GB, free: 1.25 MB / 1.045 GB Notification: Performance of matching and sorting (n=12): time 0.002838/1.085, allocations: 0.6258 MB / 1.326 GB, free: 0.5742 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.303e-05/1.085, allocations: 51.41 kB / 1.326 GB, free: 0.5117 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002649/1.085, allocations: 218.8 kB / 1.326 GB, free: 296 kB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 3e-05/1.085, allocations: 29.7 kB / 1.326 GB, free: 260 kB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 9.238e-05/1.085, allocations: 140 kB / 1.326 GB, free: 116 kB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 4.873e-05/1.085, allocations: 43.44 kB / 1.326 GB, free: 72 kB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.115e-05/1.085, allocations: 49.59 kB / 1.326 GB, free: 16 kB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001367/1.086, allocations: 326.8 kB / 1.327 GB, free: 15.69 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002241/1.086, allocations: 71.94 kB / 1.327 GB, free: 15.62 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002576/1.086, allocations: 137.3 kB / 1.327 GB, free: 15.46 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000422/1.087, allocations: 192.4 kB / 1.327 GB, free: 15.25 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/1.087, allocations: 0 / 1.327 GB, free: 15.25 MB / 1.061 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001508/1.088, allocations: 382.6 kB / 1.327 GB, free: 14.86 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.095e-05/1.088, allocations: 4.219 kB / 1.327 GB, free: 14.86 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.065e-06/1.088, allocations: 8 kB / 1.327 GB, free: 14.85 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001147/1.089, allocations: 157.5 kB / 1.328 GB, free: 14.69 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002292/1.09, allocations: 39.91 kB / 1.328 GB, free: 14.65 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004358/1.094, allocations: 3.251 MB / 1.331 GB, free: 11.11 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003826/1.094, allocations: 39.83 kB / 1.331 GB, free: 11.07 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.455e-05/1.094, allocations: 7.984 kB / 1.331 GB, free: 11.07 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.0001561/1.094, allocations: 136.8 kB / 1.331 GB, free: 10.93 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.266e-05/1.095, allocations: 23.72 kB / 1.331 GB, free: 10.9 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00134/1.096, allocations: 368.2 kB / 1.331 GB, free: 10.53 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.386e-06/1.096, allocations: 0 / 1.331 GB, free: 10.53 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.507e-06/1.096, allocations: 3.984 kB / 1.331 GB, free: 10.52 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/1.096, allocations: 0 / 1.331 GB, free: 10.52 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003568/1.096, allocations: 289.2 kB / 1.332 GB, free: 10.19 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/1.096, allocations: 3.938 kB / 1.332 GB, free: 10.19 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001405/1.096, allocations: 23.97 kB / 1.332 GB, free: 10.16 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008643/1.097, allocations: 137.6 kB / 1.332 GB, free: 10.02 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.128e-05/1.097, allocations: 4 kB / 1.332 GB, free: 10.02 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003939/1.101, allocations: 3.305 MB / 1.335 GB, free: 6.426 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/1.101, allocations: 32 / 1.335 GB, free: 6.426 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001303/1.103, allocations: 430.1 kB / 1.335 GB, free: 5.984 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000157/1.103, allocations: 116.8 kB / 1.336 GB, free: 5.852 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.468e-05/1.103, allocations: 0 / 1.336 GB, free: 5.852 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000294/1.103, allocations: 15.98 kB / 1.336 GB, free: 5.836 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.029e-05/1.103, allocations: 19.97 kB / 1.336 GB, free: 5.816 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.88e-05/1.103, allocations: 4 kB / 1.336 GB, free: 5.812 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0002062/1.104, allocations: 167.1 kB / 1.336 GB, free: 5.648 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.2e-07/1.104, allocations: 0 / 1.336 GB, free: 5.648 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0004558/1.104, allocations: 71.94 kB / 1.336 GB, free: 5.578 MB / 1.061 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.0002351/1.104, allocations: 119.2 kB / 1.336 GB, free: 5.449 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.001128/1.105, allocations: 441.5 kB / 1.336 GB, free: 4.992 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.846e-06/1.105, allocations: 0 / 1.336 GB, free: 4.992 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0007174/1.106, allocations: 357.2 kB / 1.337 GB, free: 4.617 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005043/1.107, allocations: 65.78 kB / 1.337 GB, free: 4.555 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001259/1.108, allocations: 455.2 kB / 1.337 GB, free: 4.074 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004784/1.108, allocations: 0.7323 MB / 1.338 GB, free: 3.316 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.145e-05/1.108, allocations: 23.42 kB / 1.338 GB, free: 3.293 MB / 1.061 GB Notification: Performance of SimCode: time 9.62e-07/1.108, allocations: 4 kB / 1.338 GB, free: 3.289 MB / 1.061 GB Notification: Performance of Templates: time 0.008334/1.117, allocations: 4.426 MB / 1.342 GB, free: 14.88 MB / 1.076 GB make -j1 -f Buildings_10_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.makefile (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 & ./Buildings_10_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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