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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001615/0.001615, allocations: 110.7 kB / 17.08 MB, free: 5.785 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001648/0.001648, allocations: 193.2 kB / 20.03 MB, free: 2.906 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.439/1.439, allocations: 222.9 MB / 245.7 MB, free: 4.191 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.622/2.622, allocations: 437.1 MB / 0.7177 GB, free: 4.805 MB / 0.5606 GB " [Timeout remaining time 177] 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=2500,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=2500,variableFilter="time|wetBulPhi.TWetBul|wetBulPhiApp.TWetBul",fileNamePrefix="Buildings_10_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002105/0.002105, allocations: 63.89 kB / 1.028 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3066/0.3087, allocations: 151.6 MB / 1.176 GB, free: 5.891 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi): time 0.003198/0.3119, allocations: 1.91 MB / 1.178 GB, free: 3.957 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.8279/1.14, allocations: 155.4 MB / 1.329 GB, free: 9.934 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002178/1.14, allocations: 2.125 kB / 1.329 GB, free: 9.934 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0002159/1.14, allocations: 26.19 kB / 1.329 GB, free: 9.918 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0003947/1.141, allocations: 73.88 kB / 1.33 GB, free: 9.875 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.001001/1.142, allocations: 269.3 kB / 1.33 GB, free: 9.805 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0004606/1.142, allocations: 262.2 kB / 1.33 GB, free: 9.758 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001986/1.142, allocations: 72.84 kB / 1.33 GB, free: 9.738 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001597/1.144, allocations: 254.4 kB / 1.33 GB, free: 9.695 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002479/1.144, allocations: 96.55 kB / 1.33 GB, free: 9.668 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 5.271e-05/1.144, allocations: 18.88 kB / 1.33 GB, free: 9.664 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004969/1.145, allocations: 180.3 kB / 1.331 GB, free: 9.652 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 9.208e-05/1.145, allocations: 40.56 kB / 1.331 GB, free: 9.648 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0001949/1.145, allocations: 96.88 kB / 1.331 GB, free: 9.617 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0006737/1.146, allocations: 283.5 kB / 1.331 GB, free: 9.559 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/1.146, allocations: 2.062 kB / 1.331 GB, free: 9.559 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.013e-06/1.146, allocations: 0 / 1.331 GB, free: 9.559 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.112e-05/1.146, allocations: 0 / 1.331 GB, free: 9.559 MB / 1.014 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.001245/1.147, allocations: 0.5281 MB / 1.332 GB, free: 9.129 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.309e-05/1.147, allocations: 9.688 kB / 1.332 GB, free: 9.129 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009473/1.148, allocations: 89.8 kB / 1.332 GB, free: 9.113 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003586/1.149, allocations: 231.3 kB / 1.332 GB, free: 8.895 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.915e-05/1.149, allocations: 41.11 kB / 1.332 GB, free: 8.859 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.957e-05/1.149, allocations: 16.94 kB / 1.332 GB, free: 8.859 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006467/1.149, allocations: 261.8 kB / 1.332 GB, free: 8.723 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.478e-05/1.149, allocations: 3.938 kB / 1.332 GB, free: 8.719 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.982e-05/1.149, allocations: 6.344 kB / 1.332 GB, free: 8.715 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.396e-06/1.149, allocations: 10.14 kB / 1.332 GB, free: 8.711 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005011/1.15, allocations: 162.4 kB / 1.332 GB, free: 8.668 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001978/1.152, allocations: 1.189 MB / 1.334 GB, free: 7.66 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008208/1.153, allocations: 208.6 kB / 1.334 GB, free: 7.586 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002077/1.153, allocations: 69.22 kB / 1.334 GB, free: 7.559 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 3.048e-05/1.153, allocations: 5.344 kB / 1.334 GB, free: 7.555 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.156e-05/1.153, allocations: 33.56 kB / 1.334 GB, free: 7.516 MB / 1.014 GB Notification: Performance of pre-optimization done (n=12): time 1.639e-05/1.153, allocations: 0 / 1.334 GB, free: 7.516 MB / 1.014 GB Notification: Performance of matching and sorting (n=12): time 0.002894/1.156, allocations: 0.6294 MB / 1.334 GB, free: 7.184 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.308e-05/1.156, allocations: 53.42 kB / 1.335 GB, free: 7.121 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003071/1.156, allocations: 214.5 kB / 1.335 GB, free: 6.984 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 3.589e-05/1.156, allocations: 30.8 kB / 1.335 GB, free: 6.949 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.000112/1.157, allocations: 139.1 kB / 1.335 GB, free: 6.824 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 4.426e-05/1.157, allocations: 37.17 kB / 1.335 GB, free: 6.797 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001159/1.157, allocations: 50.25 kB / 1.335 GB, free: 6.766 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001577/1.157, allocations: 335.2 kB / 1.335 GB, free: 6.438 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002584/1.157, allocations: 70.77 kB / 1.335 GB, free: 6.418 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002974/1.157, allocations: 136.4 kB / 1.335 GB, free: 6.316 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004801/1.158, allocations: 202.4 kB / 1.336 GB, free: 6.191 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.347e-06/1.158, allocations: 1.094 kB / 1.336 GB, free: 6.191 MB / 1.014 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001604/1.16, allocations: 377.9 kB / 1.336 GB, free: 6.047 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.125e-05/1.16, allocations: 10 kB / 1.336 GB, free: 6.047 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.316e-06/1.16, allocations: 1.156 kB / 1.336 GB, free: 6.047 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00124/1.161, allocations: 160.1 kB / 1.336 GB, free: 6.012 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003042/1.161, allocations: 41.14 kB / 1.336 GB, free: 6.008 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005421/1.167, allocations: 3.253 MB / 1.339 GB, free: 2.977 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004439/1.167, allocations: 35.19 kB / 1.339 GB, free: 2.961 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.339e-05/1.167, allocations: 12.58 kB / 1.339 GB, free: 2.957 MB / 1.014 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.0001963/1.167, allocations: 135.2 kB / 1.34 GB, free: 2.824 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.427e-05/1.167, allocations: 17.7 kB / 1.34 GB, free: 2.816 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001409/1.169, allocations: 374.4 kB / 1.34 GB, free: 2.66 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.1e-06/1.169, allocations: 2.047 kB / 1.34 GB, free: 2.66 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.274e-06/1.169, allocations: 0 / 1.34 GB, free: 2.66 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/1.169, allocations: 2.094 kB / 1.34 GB, free: 2.66 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004201/1.169, allocations: 282 kB / 1.34 GB, free: 2.418 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.055e-06/1.169, allocations: 0 / 1.34 GB, free: 2.418 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001369/1.169, allocations: 21.06 kB / 1.34 GB, free: 2.418 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000872/1.17, allocations: 141.4 kB / 1.34 GB, free: 2.383 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.626e-05/1.17, allocations: 4 kB / 1.34 GB, free: 2.379 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004266/1.175, allocations: 3.302 MB / 1.344 GB, free: 15.32 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/1.175, allocations: 0 / 1.344 GB, free: 15.32 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001435/1.176, allocations: 435 kB / 1.344 GB, free: 15.09 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001769/1.176, allocations: 119.5 kB / 1.344 GB, free: 14.97 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.169e-05/1.176, allocations: 9.344 kB / 1.344 GB, free: 14.96 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003076/1.177, allocations: 12.52 kB / 1.344 GB, free: 14.96 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.059e-05/1.177, allocations: 18.64 kB / 1.344 GB, free: 14.96 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.574e-05/1.177, allocations: 13.53 kB / 1.344 GB, free: 14.95 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0002439/1.177, allocations: 167.2 kB / 1.344 GB, free: 14.84 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.6e-07/1.177, allocations: 1.562 kB / 1.344 GB, free: 14.84 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0005019/1.178, allocations: 69.41 kB / 1.344 GB, free: 14.83 MB / 1.029 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.0002268/1.178, allocations: 116.5 kB / 1.345 GB, free: 14.73 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001238/1.179, allocations: 448.8 kB / 1.345 GB, free: 14.45 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/1.179, allocations: 0 / 1.345 GB, free: 14.45 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0008151/1.18, allocations: 364.3 kB / 1.345 GB, free: 14.18 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004784/1.18, allocations: 60.58 kB / 1.345 GB, free: 14.15 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001152/1.182, allocations: 458.1 kB / 1.346 GB, free: 13.88 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004148/1.182, allocations: 0.7406 MB / 1.347 GB, free: 13.17 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.04e-05/1.182, allocations: 25.31 kB / 1.347 GB, free: 13.16 MB / 1.029 GB Notification: Performance of SimCode: time 4.51e-07/1.182, allocations: 0 / 1.347 GB, free: 13.16 MB / 1.029 GB Notification: Performance of Templates: time 0.008886/1.191, allocations: 4.422 MB / 1.351 GB, free: 12.84 MB / 1.029 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.makefile [Timeout 300] (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=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe 2>&1) [Timeout 400] 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_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.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: 12.098048815969378]