Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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_TDryBulXi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|wetBul.TWetBul|wetBulApp.TWetBul",fileNamePrefix="Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi") translateModel(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|wetBul.TWetBul|wetBulApp.TWetBul",fileNamePrefix="Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007713/0.007713, allocations: 99.31 kB / 15.73 MB, free: 6.047 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.001865/0.001865, allocations: 187.4 kB / 16.67 MB, free: 5.977 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.431/1.431, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.725/2.725, allocations: 461.9 MB / 0.7348 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001434/0.001435, allocations: 67.89 kB / 1.054 GB, free: 7.184 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3491/0.3506, allocations: 157.4 MB / 1.208 GB, free: 9.68 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi): time 0.003109/0.3537, allocations: 1.676 MB / 1.209 GB, free: 7.988 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.8578/1.212, allocations: 149.7 MB / 1.356 GB, free: 12.58 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001355/1.212, allocations: 0.9688 kB / 1.356 GB, free: 12.58 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0001855/1.212, allocations: 26.28 kB / 1.356 GB, free: 12.56 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0002839/1.212, allocations: 55.41 kB / 1.356 GB, free: 12.52 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005911/1.213, allocations: 189.4 kB / 1.356 GB, free: 12.43 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0002744/1.213, allocations: 160.3 kB / 1.356 GB, free: 12.36 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000151/1.213, allocations: 24.48 kB / 1.356 GB, free: 12.35 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001301/1.215, allocations: 196.9 kB / 1.356 GB, free: 12.3 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001472/1.215, allocations: 59.58 kB / 1.356 GB, free: 12.28 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 3.26e-05/1.215, allocations: 9.188 kB / 1.356 GB, free: 12.28 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003807/1.215, allocations: 170.5 kB / 1.356 GB, free: 12.23 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 4.996e-05/1.215, allocations: 22.3 kB / 1.356 GB, free: 12.22 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 7.668e-05/1.215, allocations: 57.38 kB / 1.356 GB, free: 12.18 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0004222/1.216, allocations: 202.5 kB / 1.357 GB, free: 12.12 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.087e-06/1.216, allocations: 1.188 kB / 1.357 GB, free: 12.12 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.343e-06/1.216, allocations: 3.938 kB / 1.357 GB, free: 12.11 MB / 1.061 GB Notification: Performance of Transformations before backend: time 7.123e-06/1.216, allocations: 4 kB / 1.357 GB, free: 12.11 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0009459/1.217, allocations: 464 kB / 1.357 GB, free: 11.7 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.587e-05/1.217, allocations: 13.34 kB / 1.357 GB, free: 11.7 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006455/1.217, allocations: 56.42 kB / 1.357 GB, free: 11.69 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002433/1.218, allocations: 205.1 kB / 1.357 GB, free: 11.47 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.508e-06/1.218, allocations: 4.062 kB / 1.357 GB, free: 11.47 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.987e-05/1.218, allocations: 14.64 kB / 1.357 GB, free: 11.46 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004807/1.218, allocations: 188.4 kB / 1.358 GB, free: 11.35 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.468e-06/1.218, allocations: 0.7969 kB / 1.358 GB, free: 11.35 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.843e-05/1.218, allocations: 1.469 kB / 1.358 GB, free: 11.35 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.212e-06/1.218, allocations: 2.75 kB / 1.358 GB, free: 11.35 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000537/1.219, allocations: 148.3 kB / 1.358 GB, free: 11.31 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001231/1.22, allocations: 0.8217 MB / 1.359 GB, free: 10.56 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004089/1.221, allocations: 132.9 kB / 1.359 GB, free: 10.5 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002515/1.221, allocations: 77.52 kB / 1.359 GB, free: 10.48 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.504e-05/1.221, allocations: 5.578 kB / 1.359 GB, free: 10.48 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001136/1.221, allocations: 41.16 kB / 1.359 GB, free: 10.43 MB / 1.061 GB Notification: Performance of pre-optimization done (n=8): time 1.413e-06/1.221, allocations: 0 / 1.359 GB, free: 10.43 MB / 1.061 GB Notification: Performance of matching and sorting (n=8): time 0.001933/1.223, allocations: 451.6 kB / 1.359 GB, free: 10.23 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.759e-05/1.223, allocations: 53.25 kB / 1.359 GB, free: 10.17 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001491/1.223, allocations: 153.9 kB / 1.359 GB, free: 10.05 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.298e-05/1.223, allocations: 29.7 kB / 1.359 GB, free: 10.02 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 8.639e-05/1.223, allocations: 114.4 kB / 1.36 GB, free: 9.91 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 3.008e-05/1.223, allocations: 28.95 kB / 1.36 GB, free: 9.887 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.377e-05/1.223, allocations: 33.3 kB / 1.36 GB, free: 9.863 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001762/1.223, allocations: 319.8 kB / 1.36 GB, free: 9.547 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002641/1.224, allocations: 71.91 kB / 1.36 GB, free: 9.527 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002769/1.224, allocations: 107.8 kB / 1.36 GB, free: 9.465 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005323/1.225, allocations: 178.5 kB / 1.36 GB, free: 9.379 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.749e-06/1.225, allocations: 1.531 kB / 1.36 GB, free: 9.379 MB / 1.061 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.001094/1.226, allocations: 281.1 kB / 1.36 GB, free: 9.273 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.951e-05/1.226, allocations: 5.781 kB / 1.36 GB, free: 9.273 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.846e-06/1.226, allocations: 6.359 kB / 1.361 GB, free: 9.27 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006179/1.226, allocations: 87.67 kB / 1.361 GB, free: 9.25 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002191/1.227, allocations: 36 kB / 1.361 GB, free: 9.25 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002143/1.229, allocations: 1.658 MB / 1.362 GB, free: 7.727 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002358/1.229, allocations: 28.61 kB / 1.362 GB, free: 7.715 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.986e-05/1.229, allocations: 6.484 kB / 1.362 GB, free: 7.715 MB / 1.061 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.0001127/1.229, allocations: 125.8 kB / 1.362 GB, free: 7.59 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.319e-05/1.229, allocations: 9.188 kB / 1.362 GB, free: 7.586 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001161/1.23, allocations: 310.9 kB / 1.363 GB, free: 7.473 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.884e-06/1.23, allocations: 9.312 kB / 1.363 GB, free: 7.465 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.106e-06/1.23, allocations: 0.75 kB / 1.363 GB, free: 7.465 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.629e-06/1.23, allocations: 1.703 kB / 1.363 GB, free: 7.465 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003571/1.231, allocations: 245.5 kB / 1.363 GB, free: 7.234 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.937e-06/1.231, allocations: 0 / 1.363 GB, free: 7.234 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002319/1.231, allocations: 33.62 kB / 1.363 GB, free: 7.23 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004369/1.231, allocations: 76.98 kB / 1.363 GB, free: 7.211 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.955e-05/1.232, allocations: 4.094 kB / 1.363 GB, free: 7.211 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002155/1.234, allocations: 1.683 MB / 1.365 GB, free: 5.68 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/1.234, allocations: 1.469 kB / 1.365 GB, free: 5.68 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001043/1.235, allocations: 377.4 kB / 1.365 GB, free: 5.477 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001123/1.235, allocations: 106.4 kB / 1.365 GB, free: 5.367 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.302e-05/1.235, allocations: 1.125 kB / 1.365 GB, free: 5.367 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002275/1.235, allocations: 22.69 kB / 1.365 GB, free: 5.359 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.892e-05/1.235, allocations: 15.03 kB / 1.365 GB, free: 5.355 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.789e-05/1.235, allocations: 8.844 kB / 1.365 GB, free: 5.352 MB / 1.061 GB Notification: Performance of sorting global known variables: time 8.326e-05/1.235, allocations: 108.2 kB / 1.365 GB, free: 5.27 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.1e-07/1.235, allocations: 1.062 kB / 1.365 GB, free: 5.27 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003524/1.236, allocations: 48.28 kB / 1.365 GB, free: 5.258 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 (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.000197/1.236, allocations: 119.6 kB / 1.365 GB, free: 5.16 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0009623/1.237, allocations: 313.1 kB / 1.366 GB, free: 4.992 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/1.237, allocations: 0 / 1.366 GB, free: 4.992 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0006192/1.237, allocations: 228.8 kB / 1.366 GB, free: 4.852 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003759/1.238, allocations: 34.7 kB / 1.366 GB, free: 4.836 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001078/1.239, allocations: 320.3 kB / 1.366 GB, free: 4.645 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004177/1.239, allocations: 0.7066 MB / 1.367 GB, free: 3.949 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0001629/1.24, allocations: 20.3 kB / 1.367 GB, free: 3.941 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.312e-05/1.24, allocations: 23.66 kB / 1.367 GB, free: 3.93 MB / 1.061 GB Notification: Performance of SimCode: time 2e-07/1.24, allocations: 1.531 kB / 1.367 GB, free: 3.93 MB / 1.061 GB Notification: Performance of Templates: time 0.008852/1.249, allocations: 3.316 MB / 1.37 GB, free: 3.172 MB / 1.061 GB make -j1 -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.makefile (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.sim & ./Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches