Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Examples.Tutorial.SpaceCooling.System1.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.001369/0.001369, allocations: 99.64 kB / 18.94 MB, free: 2.551 MB / 14.72 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.001601/0.001601, allocations: 217.3 kB / 22.25 MB, free: 4.852 MB / 14.72 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 1.472/1.472, allocations: 230.6 MB / 256 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.808/2.808, allocations: 475.9 MB / 0.7699 GB, free: 4.758 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-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.Examples.Tutorial.SpaceCooling.System1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|vol.T_start|vol.T|TOut.T",fileNamePrefix="Buildings_11_Buildings.Examples.Tutorial.SpaceCooling.System1") translateModel(Buildings.Examples.Tutorial.SpaceCooling.System1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|vol.T_start|vol.T|TOut.T",fileNamePrefix="Buildings_11_Buildings.Examples.Tutorial.SpaceCooling.System1") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002204/0.002204, allocations: 71.98 kB / 1.117 GB, free: 41.11 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4016/0.4038, allocations: 170 MB / 1.283 GB, free: 11.95 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SpaceCooling.System1): time 0.206/0.6097, allocations: 143.1 MB / 1.423 GB, free: 12.3 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.005658/0.6154, allocations: 2.735 MB / 1.425 GB, free: 9.555 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007901/0.6162, allocations: 23.88 kB / 1.425 GB, free: 9.531 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.0009534/0.6171, allocations: 190.8 kB / 1.426 GB, free: 9.344 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.002741/0.6199, allocations: 0.8189 MB / 1.426 GB, free: 8.523 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.001154/0.621, allocations: 347.2 kB / 1.427 GB, free: 8.184 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.001788/0.6228, allocations: 0.9712 MB / 1.428 GB, free: 7.211 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005099/0.6233, allocations: 210.5 kB / 1.428 GB, free: 7 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008841/0.6242, allocations: 358.6 kB / 1.428 GB, free: 6.648 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001217/0.6254, allocations: 286.9 kB / 1.429 GB, free: 6.371 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.0001196/0.6256, allocations: 32 kB / 1.429 GB, free: 6.34 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001398/0.627, allocations: 0.5415 MB / 1.429 GB, free: 5.797 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0002372/0.6272, allocations: 135.5 kB / 1.429 GB, free: 5.664 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.0003422/0.6275, allocations: 175.2 kB / 1.429 GB, free: 5.492 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.001665/0.6292, allocations: 0.7358 MB / 1.43 GB, free: 4.754 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/0.6292, allocations: 0 / 1.43 GB, free: 4.754 MB / 1.123 GB Notification: Performance of FrontEnd: time 2.034e-06/0.6292, allocations: 0 / 1.43 GB, free: 4.754 MB / 1.123 GB Notification: Performance of Transformations before backend: time 2.338e-05/0.6292, allocations: 0 / 1.43 GB, free: 4.754 MB / 1.123 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.001625/0.6309, allocations: 0.6524 MB / 1.431 GB, free: 4.07 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 4.506e-05/0.6309, allocations: 12.03 kB / 1.431 GB, free: 4.059 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001181/0.6321, allocations: 139.5 kB / 1.431 GB, free: 3.922 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008333/0.6329, allocations: 356 kB / 1.431 GB, free: 3.547 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.274e-05/0.633, allocations: 20.5 kB / 1.431 GB, free: 3.527 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.674e-05/0.633, allocations: 24 kB / 1.431 GB, free: 3.504 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006184/0.6336, allocations: 381.5 kB / 1.432 GB, free: 3.094 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.802e-05/0.6337, allocations: 4 kB / 1.432 GB, free: 3.09 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.783e-05/0.6337, allocations: 8 kB / 1.432 GB, free: 3.082 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.177e-05/0.6337, allocations: 12.5 kB / 1.432 GB, free: 3.07 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003807/0.6341, allocations: 189.9 kB / 1.432 GB, free: 2.887 MB / 1.123 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001855/0.636, allocations: 0.7965 MB / 1.433 GB, free: 2.055 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004479/0.6364, allocations: 182.9 kB / 1.433 GB, free: 1.867 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001534/0.6366, allocations: 90.66 kB / 1.433 GB, free: 1.777 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 1.789e-05/0.6366, allocations: 0 / 1.433 GB, free: 1.777 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.878e-05/0.6366, allocations: 38.5 kB / 1.433 GB, free: 1.73 MB / 1.123 GB Notification: Performance of pre-optimization done (n=19): time 1.292e-06/0.6366, allocations: 0 / 1.433 GB, free: 1.73 MB / 1.123 GB Notification: Performance of matching and sorting (n=19): time 0.0009886/0.6376, allocations: 330.4 kB / 1.433 GB, free: 1.398 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.867e-05/0.6377, allocations: 59.41 kB / 1.433 GB, free: 1.328 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003588/0.638, allocations: 292.5 kB / 1.434 GB, free: 1.035 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 3.51e-05/0.638, allocations: 33.7 kB / 1.434 GB, free: 0.9961 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001707/0.6382, allocations: 196.6 kB / 1.434 GB, free: 0.8008 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 8.028e-05/0.6383, allocations: 67.39 kB / 1.434 GB, free: 0.7344 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.513e-05/0.6384, allocations: 53.64 kB / 1.434 GB, free: 0.6758 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001645/0.6385, allocations: 338.8 kB / 1.434 GB, free: 344 kB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001213/0.6387, allocations: 67.91 kB / 1.434 GB, free: 276 kB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001562/0.6388, allocations: 120.1 kB / 1.434 GB, free: 136 kB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003067/0.6391, allocations: 192.1 kB / 1.435 GB, free: 15.92 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.6391, allocations: 0 / 1.435 GB, free: 15.92 MB / 1.139 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004133/0.6395, allocations: 255.5 kB / 1.435 GB, free: 15.67 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 2.911e-05/0.6396, allocations: 4 kB / 1.435 GB, free: 15.66 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.202e-05/0.6396, allocations: 7.938 kB / 1.435 GB, free: 15.66 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.168e-05/0.6396, allocations: 4 kB / 1.435 GB, free: 15.65 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001984/0.6398, allocations: 43.91 kB / 1.435 GB, free: 15.61 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.088e-05/0.6398, allocations: 4 kB / 1.435 GB, free: 15.61 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002835/0.6401, allocations: 15.89 kB / 1.435 GB, free: 15.59 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.95e-05/0.6401, allocations: 12.19 kB / 1.435 GB, free: 15.58 MB / 1.139 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (26): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002003/0.6403, allocations: 161.8 kB / 1.435 GB, free: 15.41 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.339e-05/0.6404, allocations: 35.8 kB / 1.435 GB, free: 15.38 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.602e-05/0.6405, allocations: 38.23 kB / 1.435 GB, free: 15.33 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.6405, allocations: 0 / 1.435 GB, free: 15.33 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.282e-05/0.6405, allocations: 8 kB / 1.435 GB, free: 15.32 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.928e-06/0.6405, allocations: 0 / 1.435 GB, free: 15.32 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004938/0.641, allocations: 285 kB / 1.435 GB, free: 15.02 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/0.641, allocations: 0 / 1.435 GB, free: 15.02 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001776/0.6412, allocations: 31.98 kB / 1.435 GB, free: 14.99 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000236/0.6414, allocations: 40.83 kB / 1.435 GB, free: 14.95 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.644e-05/0.6414, allocations: 8 kB / 1.435 GB, free: 14.94 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001465/0.6429, allocations: 1.385 MB / 1.437 GB, free: 13.45 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.6429, allocations: 0 / 1.437 GB, free: 13.45 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006575/0.6436, allocations: 404.1 kB / 1.437 GB, free: 13.04 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001555/0.6437, allocations: 51.94 kB / 1.437 GB, free: 12.99 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.074e-05/0.6438, allocations: 8 kB / 1.437 GB, free: 12.98 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000253/0.644, allocations: 7.969 kB / 1.437 GB, free: 12.97 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.166e-05/0.6441, allocations: 19.92 kB / 1.437 GB, free: 12.95 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.11e-05/0.6441, allocations: 11.92 kB / 1.437 GB, free: 12.94 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.0002559/0.6443, allocations: 207.1 kB / 1.438 GB, free: 12.74 MB / 1.139 GB Notification: Performance of sort global known variables: time 1e-07/0.6443, allocations: 3.938 kB / 1.438 GB, free: 12.73 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.0004664/0.6448, allocations: 107.8 kB / 1.438 GB, free: 12.63 MB / 1.139 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (vol.dynBal.medium.Xi[1],vol.dynBal.U,vol.dynBal.m) * 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 (17): * Single equations (assignments): 16 * 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): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002358/0.645, allocations: 119.2 kB / 1.438 GB, free: 12.5 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.0003591/0.6454, allocations: 153.9 kB / 1.438 GB, free: 12.36 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 5.581e-06/0.6454, allocations: 4 kB / 1.438 GB, free: 12.35 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.0003489/0.6458, allocations: 199 kB / 1.438 GB, free: 12.14 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001024/0.6468, allocations: 187 kB / 1.438 GB, free: 11.97 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001429/0.6482, allocations: 0.743 MB / 1.439 GB, free: 11.2 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002352/0.6484, allocations: 194 kB / 1.439 GB, free: 10.99 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.0002687/0.6487, allocations: 58.94 kB / 1.439 GB, free: 10.94 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.913e-05/0.6488, allocations: 23.44 kB / 1.439 GB, free: 10.91 MB / 1.139 GB Notification: Performance of SimCode: time 5.11e-07/0.6488, allocations: 4 kB / 1.439 GB, free: 10.91 MB / 1.139 GB Notification: Performance of Templates: time 0.01405/0.6628, allocations: 6.921 MB / 1.446 GB, free: 4.164 MB / 1.139 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Examples.Tutorial.SpaceCooling.System1.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe ; mkfifo Buildings_11_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe ; head -c 1048576 < Buildings_11_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe >> ../files/Buildings_11_Buildings.Examples.Tutorial.SpaceCooling.System1.sim & ./Buildings_11_Buildings.Examples.Tutorial.SpaceCooling.System1 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Examples.Tutorial.SpaceCooling.System1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Examples_Tutorial_SpaceCooling_System1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Examples.Tutorial.SpaceCooling.System1.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: 9.549729583784938]