Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Examples.Tutorial.SpaceCooling.System1.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.001496/0.001496, allocations: 116.1 kB / 17.08 MB, free: 5.977 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.001606/0.001606, allocations: 193.2 kB / 20.03 MB, free: 3.047 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.416/1.416, allocations: 222.9 MB / 245.7 MB, free: 4.219 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.009/3.009, allocations: 489.3 MB / 0.7687 GB, free: 3.777 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.Examples.Tutorial.SpaceCooling.System1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|vol.T_start|vol.T|TOut.T",fileNamePrefix="Buildings_latest_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_latest_Buildings.Examples.Tutorial.SpaceCooling.System1") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002058/0.002058, allocations: 63.89 kB / 1.103 GB, free: 0.875 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.047/1.049, allocations: 163.8 MB / 1.263 GB, free: 8.004 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SpaceCooling.System1): time 0.2081/1.257, allocations: 162.4 MB / 1.421 GB, free: 15.22 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.004756/1.262, allocations: 2.932 MB / 1.424 GB, free: 12.84 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004478/1.263, allocations: 19.41 kB / 1.424 GB, free: 12.83 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.0006727/1.263, allocations: 202 kB / 1.424 GB, free: 12.67 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.001894/1.265, allocations: 0.7742 MB / 1.425 GB, free: 12.06 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007946/1.266, allocations: 345 kB / 1.425 GB, free: 11.8 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.001203/1.267, allocations: 0.9354 MB / 1.426 GB, free: 11.25 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003667/1.268, allocations: 267 kB / 1.426 GB, free: 11.07 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005974/1.268, allocations: 359 kB / 1.427 GB, free: 10.86 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008295/1.269, allocations: 289.4 kB / 1.427 GB, free: 10.7 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 5.777e-05/1.269, allocations: 32.84 kB / 1.427 GB, free: 10.7 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001152/1.27, allocations: 0.6431 MB / 1.428 GB, free: 10.34 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.000161/1.27, allocations: 124.7 kB / 1.428 GB, free: 10.26 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.0002443/1.271, allocations: 223.2 kB / 1.428 GB, free: 10.11 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.001104/1.272, allocations: 0.7554 MB / 1.429 GB, free: 9.629 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/1.272, allocations: 4 kB / 1.429 GB, free: 9.625 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.092e-06/1.272, allocations: 1.594 kB / 1.429 GB, free: 9.625 MB / 1.123 GB Notification: Performance of Transformations before backend: time 7.093e-06/1.272, allocations: 0 / 1.429 GB, free: 9.625 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.001101/1.273, allocations: 0.7212 MB / 1.43 GB, free: 8.996 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 3.435e-05/1.273, allocations: 9.062 kB / 1.43 GB, free: 8.996 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009704/1.274, allocations: 138.7 kB / 1.43 GB, free: 8.934 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006102/1.275, allocations: 428.7 kB / 1.43 GB, free: 8.559 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.241e-05/1.275, allocations: 22.81 kB / 1.43 GB, free: 8.547 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.737e-05/1.275, allocations: 24.41 kB / 1.43 GB, free: 8.539 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004622/1.275, allocations: 281.9 kB / 1.43 GB, free: 8.352 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.307e-05/1.275, allocations: 0 / 1.43 GB, free: 8.352 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.056e-05/1.275, allocations: 15.59 kB / 1.43 GB, free: 8.34 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.082e-05/1.275, allocations: 8.281 kB / 1.43 GB, free: 8.34 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003464/1.276, allocations: 199.1 kB / 1.431 GB, free: 8.246 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.001736/1.277, allocations: 1.322 MB / 1.432 GB, free: 7.008 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003834/1.278, allocations: 191.7 kB / 1.432 GB, free: 6.902 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001518/1.278, allocations: 92.36 kB / 1.432 GB, free: 6.852 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 1.802e-05/1.278, allocations: 1.406 kB / 1.432 GB, free: 6.852 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.279e-05/1.278, allocations: 41 kB / 1.432 GB, free: 6.805 MB / 1.123 GB Notification: Performance of pre-optimization done (n=19): time 1.332e-06/1.278, allocations: 0 / 1.432 GB, free: 6.805 MB / 1.123 GB Notification: Performance of matching and sorting (n=19): time 0.0009364/1.279, allocations: 404.5 kB / 1.433 GB, free: 6.531 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.086e-05/1.279, allocations: 52.84 kB / 1.433 GB, free: 6.469 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003324/1.279, allocations: 302.8 kB / 1.433 GB, free: 6.27 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 2.797e-05/1.279, allocations: 32.02 kB / 1.433 GB, free: 6.234 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001464/1.279, allocations: 197.4 kB / 1.433 GB, free: 6.055 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 6.612e-05/1.279, allocations: 67.92 kB / 1.433 GB, free: 5.996 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.736e-05/1.28, allocations: 54.25 kB / 1.433 GB, free: 5.953 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001516/1.28, allocations: 337.4 kB / 1.434 GB, free: 5.621 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001127/1.28, allocations: 63.44 kB / 1.434 GB, free: 5.59 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001468/1.28, allocations: 117.4 kB / 1.434 GB, free: 5.492 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002742/1.28, allocations: 196.5 kB / 1.434 GB, free: 5.352 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/1.28, allocations: 0 / 1.434 GB, free: 5.352 MB / 1.123 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003706/1.281, allocations: 250.9 kB / 1.434 GB, free: 5.211 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 1.784e-05/1.281, allocations: 10.31 kB / 1.434 GB, free: 5.207 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.602e-06/1.281, allocations: 1.969 kB / 1.434 GB, free: 5.207 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.509e-05/1.281, allocations: 2.125 kB / 1.434 GB, free: 5.207 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001866/1.281, allocations: 47.64 kB / 1.434 GB, free: 5.195 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.975e-06/1.281, allocations: 6.625 kB / 1.434 GB, free: 5.191 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002554/1.281, allocations: 17.33 kB / 1.434 GB, free: 5.18 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.469e-05/1.281, allocations: 5.469 kB / 1.434 GB, free: 5.18 MB / 1.123 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.000157/1.281, allocations: 158.4 kB / 1.434 GB, free: 5.035 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.521e-05/1.281, allocations: 43.3 kB / 1.434 GB, free: 5.008 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.451e-05/1.282, allocations: 40.33 kB / 1.435 GB, free: 4.973 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.996e-06/1.282, allocations: 1.156 kB / 1.435 GB, free: 4.973 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/1.282, allocations: 1.094 kB / 1.435 GB, free: 4.973 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/1.282, allocations: 1.125 kB / 1.435 GB, free: 4.973 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005108/1.282, allocations: 409.1 kB / 1.435 GB, free: 4.609 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.552e-06/1.282, allocations: 0 / 1.435 GB, free: 4.609 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001696/1.282, allocations: 34.17 kB / 1.435 GB, free: 4.602 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002124/1.282, allocations: 50.47 kB / 1.435 GB, free: 4.566 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.783e-05/1.283, allocations: 5.969 kB / 1.435 GB, free: 4.562 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001329/1.284, allocations: 1.51 MB / 1.436 GB, free: 3.039 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/1.284, allocations: 0 / 1.436 GB, free: 3.039 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005714/1.284, allocations: 404.7 kB / 1.437 GB, free: 2.758 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001404/1.285, allocations: 131.2 kB / 1.437 GB, free: 2.625 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.215e-05/1.285, allocations: 9.141 kB / 1.437 GB, free: 2.617 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000238/1.285, allocations: 15.41 kB / 1.437 GB, free: 2.605 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.248e-05/1.285, allocations: 9.766 kB / 1.437 GB, free: 2.602 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.735e-05/1.285, allocations: 8.5 kB / 1.437 GB, free: 2.598 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.000225/1.285, allocations: 216.2 kB / 1.437 GB, free: 2.453 MB / 1.123 GB Notification: Performance of sort global known variables: time 1.3e-07/1.285, allocations: 0 / 1.437 GB, free: 2.453 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.000406/1.286, allocations: 101.5 kB / 1.437 GB, free: 2.441 MB / 1.123 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.0001889/1.286, allocations: 119.9 kB / 1.437 GB, free: 2.34 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.0002953/1.286, allocations: 165.1 kB / 1.438 GB, free: 2.266 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/1.286, allocations: 1.344 kB / 1.438 GB, free: 2.266 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.0003073/1.286, allocations: 204.2 kB / 1.438 GB, free: 2.105 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009394/1.287, allocations: 194.6 kB / 1.438 GB, free: 2.008 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001238/1.289, allocations: 0.7753 MB / 1.439 GB, free: 1.438 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000404/1.289, allocations: 0.7926 MB / 1.44 GB, free: 0.6914 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.517e-05/1.289, allocations: 36 kB / 1.44 GB, free: 0.6758 MB / 1.123 GB Notification: Performance of SimCode: time 2.91e-07/1.289, allocations: 0 / 1.44 GB, free: 0.6758 MB / 1.123 GB Notification: Performance of Templates: time 0.008799/1.298, allocations: 5.758 MB / 1.445 GB, free: 12.52 MB / 1.139 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Examples.Tutorial.SpaceCooling.System1.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe ; mkfifo Buildings_latest_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe ; head -c 1048576 < Buildings_latest_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe >> ../files/Buildings_latest_Buildings.Examples.Tutorial.SpaceCooling.System1.sim & ./Buildings_latest_Buildings.Examples.Tutorial.SpaceCooling.System1 -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Examples.Tutorial.SpaceCooling.System1_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Examples_Tutorial_SpaceCooling_System1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_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: 12.721314241876826]