Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008165/0.0008165, allocations: 72.5 kB / 19.93 MB, free: 4.633 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008013/0.0008013, allocations: 177.9 kB / 23.21 MB, free: 1.348 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8861/0.8861, allocations: 177.1 MB / 203.5 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.681/1.681, allocations: 359 MB / 0.6044 GB, free: 11.11 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|wetBul.TWetBul|wetBulApp.TWetBul",fileNamePrefix="Buildings_11_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi") translateModel(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|wetBul.TWetBul|wetBulApp.TWetBul",fileNamePrefix="Buildings_11_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.522e-06/1.522e-06, allocations: 0 / 0.9517 GB, free: 3.031 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.25e-05/2.402e-05, allocations: 6.219 kB / 0.9517 GB, free: 3.023 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi): time 0.001902/0.001926, allocations: 1.677 MB / 0.9533 GB, free: 1.332 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.6137/0.6157, allocations: 131.5 MB / 1.082 GB, free: 40.48 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001092/0.6158, allocations: 3.312 kB / 1.082 GB, free: 40.48 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.0002024/0.616, allocations: 20.81 kB / 1.082 GB, free: 40.46 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.0002857/0.6163, allocations: 63.16 kB / 1.082 GB, free: 40.45 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002878/0.6165, allocations: 194.8 kB / 1.082 GB, free: 40.43 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.0001741/0.6167, allocations: 166.6 kB / 1.082 GB, free: 40.43 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000125/0.6168, allocations: 26.62 kB / 1.082 GB, free: 40.43 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008685/0.6177, allocations: 219.7 kB / 1.082 GB, free: 40.42 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 7.839e-05/0.6178, allocations: 55.7 kB / 1.083 GB, free: 40.42 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 2.247e-05/0.6178, allocations: 8.688 kB / 1.083 GB, free: 40.42 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001824/0.618, allocations: 162.9 kB / 1.083 GB, free: 40.41 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 4.008e-05/0.618, allocations: 26.53 kB / 1.083 GB, free: 40.41 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 4.302e-05/0.6181, allocations: 38.5 kB / 1.083 GB, free: 40.41 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.0002949/0.6184, allocations: 224.8 kB / 1.083 GB, free: 40.39 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.6184, allocations: 0 / 1.083 GB, free: 40.39 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.563e-06/0.6184, allocations: 0 / 1.083 GB, free: 40.39 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 5.24e-06/0.6184, allocations: 0 / 1.083 GB, free: 40.39 MB / 0.9948 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.0005478/0.6189, allocations: 400.6 kB / 1.083 GB, free: 40.09 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 3.8e-05/0.619, allocations: 8.656 kB / 1.083 GB, free: 40.09 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004386/0.6194, allocations: 80.59 kB / 1.083 GB, free: 40.08 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001449/0.6196, allocations: 149.5 kB / 1.084 GB, free: 39.93 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.187e-05/0.6196, allocations: 8.281 kB / 1.084 GB, free: 39.93 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.674e-05/0.6196, allocations: 9.375 kB / 1.084 GB, free: 39.93 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002596/0.6198, allocations: 190.5 kB / 1.084 GB, free: 39.85 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.726e-06/0.6199, allocations: 0 / 1.084 GB, free: 39.85 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.523e-05/0.6199, allocations: 7.375 kB / 1.084 GB, free: 39.85 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.181e-06/0.6199, allocations: 2.938 kB / 1.084 GB, free: 39.85 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002482/0.6201, allocations: 144.7 kB / 1.084 GB, free: 39.84 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005497/0.6207, allocations: 0.6834 MB / 1.085 GB, free: 39.3 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002191/0.6209, allocations: 125 kB / 1.085 GB, free: 39.27 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001189/0.621, allocations: 76.12 kB / 1.085 GB, free: 39.27 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.854e-05/0.621, allocations: 0 / 1.085 GB, free: 39.27 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.415e-05/0.621, allocations: 37.34 kB / 1.085 GB, free: 39.22 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=8): time 1.844e-06/0.621, allocations: 7.984 kB / 1.085 GB, free: 39.21 MB / 0.9948 GB Notification: Performance of matching and sorting (n=8): time 0.0009015/0.6219, allocations: 383.6 kB / 1.085 GB, free: 39.16 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.253e-05/0.622, allocations: 54.41 kB / 1.085 GB, free: 39.1 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.215e-05/0.622, allocations: 142.9 kB / 1.085 GB, free: 39 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 1.122e-05/0.6221, allocations: 25.7 kB / 1.085 GB, free: 38.96 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 3.847e-05/0.6221, allocations: 107.8 kB / 1.085 GB, free: 38.87 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 1.621e-05/0.6221, allocations: 32.33 kB / 1.086 GB, free: 38.85 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.214e-05/0.6221, allocations: 35.33 kB / 1.086 GB, free: 38.83 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 2.936e-05/0.6222, allocations: 324.3 kB / 1.086 GB, free: 38.52 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001172/0.6223, allocations: 72.41 kB / 1.086 GB, free: 38.51 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001238/0.6224, allocations: 105.5 kB / 1.086 GB, free: 38.47 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002361/0.6227, allocations: 179.6 kB / 1.086 GB, free: 38.42 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.6227, allocations: 0 / 1.086 GB, free: 38.42 MB / 0.9948 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004706/0.6231, allocations: 274 kB / 1.086 GB, free: 38.37 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.122e-05/0.6231, allocations: 9.031 kB / 1.086 GB, free: 38.37 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.6231, allocations: 6.812 kB / 1.086 GB, free: 38.36 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002767/0.6234, allocations: 83.41 kB / 1.087 GB, free: 38.36 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001015/0.6235, allocations: 41.27 kB / 1.087 GB, free: 38.35 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001035/0.6246, allocations: 1.529 MB / 1.088 GB, free: 37.11 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.174e-05/0.6246, allocations: 24.83 kB / 1.088 GB, free: 37.11 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.171e-05/0.6247, allocations: 8.625 kB / 1.088 GB, free: 37.11 MB / 0.9948 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 5.968e-05/0.6247, allocations: 121.7 kB / 1.088 GB, free: 36.99 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.129e-05/0.6247, allocations: 21.22 kB / 1.088 GB, free: 36.98 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000488/0.6252, allocations: 304 kB / 1.089 GB, free: 36.93 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.6252, allocations: 10.17 kB / 1.089 GB, free: 36.92 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.583e-06/0.6252, allocations: 0 / 1.089 GB, free: 36.92 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.427e-06/0.6252, allocations: 2.062 kB / 1.089 GB, free: 36.92 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001232/0.6254, allocations: 177 kB / 1.089 GB, free: 36.79 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.462e-06/0.6254, allocations: 1.094 kB / 1.089 GB, free: 36.79 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.314e-05/0.6254, allocations: 33.2 kB / 1.089 GB, free: 36.79 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000188/0.6256, allocations: 81.08 kB / 1.089 GB, free: 36.77 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.154e-05/0.6256, allocations: 0 / 1.089 GB, free: 36.77 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000782/0.6264, allocations: 1.548 MB / 1.09 GB, free: 35.54 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.6264, allocations: 4.484 kB / 1.09 GB, free: 35.54 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000458/0.6269, allocations: 381.5 kB / 1.091 GB, free: 35.38 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 4.14e-05/0.6269, allocations: 29.16 kB / 1.091 GB, free: 35.38 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.136e-05/0.6269, allocations: 0 / 1.091 GB, free: 35.38 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.218e-05/0.627, allocations: 22.75 kB / 1.091 GB, free: 35.37 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.448e-05/0.6271, allocations: 15.73 kB / 1.091 GB, free: 35.37 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.687e-06/0.6271, allocations: 2.656 kB / 1.091 GB, free: 35.37 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 3.091e-05/0.6271, allocations: 107.6 kB / 1.091 GB, free: 35.3 MB / 0.9948 GB Notification: Performance of sort global known variables: time 5e-08/0.6271, allocations: 0 / 1.091 GB, free: 35.3 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0001994/0.6273, allocations: 48.56 kB / 1.091 GB, free: 35.29 MB / 0.9948 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.0001382/0.6275, allocations: 104.4 kB / 1.091 GB, free: 35.21 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.0004507/0.6279, allocations: 309.5 kB / 1.091 GB, free: 35.08 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 1.403e-06/0.6279, allocations: 256 / 1.091 GB, free: 35.08 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.0002145/0.6281, allocations: 235.3 kB / 1.092 GB, free: 34.96 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001992/0.6283, allocations: 18.64 kB / 1.092 GB, free: 34.96 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000476/0.6288, allocations: 338.6 kB / 1.092 GB, free: 34.77 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.027e-05/0.6288, allocations: 100.3 kB / 1.092 GB, free: 34.69 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.178e-05/0.6289, allocations: 23.5 kB / 1.092 GB, free: 34.69 MB / 0.9948 GB Notification: Performance of SimCode: time 5.11e-07/0.6289, allocations: 0 / 1.092 GB, free: 34.69 MB / 0.9948 GB Notification: Performance of Templates: time 0.00299/0.6319, allocations: 2.725 MB / 1.095 GB, free: 34.51 MB / 0.9948 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe ; mkfifo Buildings_11_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe >> ../files/Buildings_11_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.sim & ./Buildings_11_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 7.44116960093379]