Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001636/0.001636, allocations: 80.3 kB / 19.18 MB, free: 2.516 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.001798/0.001798, allocations: 159 kB / 22.45 MB, free: 5.375 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.456/1.456, allocations: 177.1 MB / 202.8 MB, free: 9.172 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.83/2.83, allocations: 377.8 MB / 0.6221 GB, free: 12.61 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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_12_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_12_Buildings.Examples.Tutorial.SpaceCooling.System1") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.415e-06/2.415e-06, allocations: 0 / 0.9814 GB, free: 12.03 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 4.814e-05/5.056e-05, allocations: 4.531 kB / 0.9814 GB, free: 12.02 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SpaceCooling.System1): time 0.1921/0.1921, allocations: 143.1 MB / 1.121 GB, free: 12.38 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.005374/0.1975, allocations: 2.742 MB / 1.124 GB, free: 9.629 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005301/0.198, allocations: 23.81 kB / 1.124 GB, free: 9.605 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0007517/0.1988, allocations: 194.8 kB / 1.124 GB, free: 9.414 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.002291/0.2011, allocations: 0.8432 MB / 1.125 GB, free: 8.566 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.000969/0.202, allocations: 362.3 kB / 1.125 GB, free: 8.215 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.001676/0.2037, allocations: 0.97 MB / 1.126 GB, free: 7.242 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004237/0.2041, allocations: 214.5 kB / 1.126 GB, free: 7.023 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009565/0.2051, allocations: 498.5 kB / 1.127 GB, free: 6.535 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00104/0.2061, allocations: 269.1 kB / 1.127 GB, free: 6.277 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 6.976e-05/0.2062, allocations: 32 kB / 1.127 GB, free: 6.246 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001269/0.2075, allocations: 0.5412 MB / 1.128 GB, free: 5.703 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0002127/0.2077, allocations: 147.5 kB / 1.128 GB, free: 5.559 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0002318/0.2079, allocations: 155.7 kB / 1.128 GB, free: 5.406 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.001483/0.2094, allocations: 0.7479 MB / 1.129 GB, free: 4.656 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.2094, allocations: 0 / 1.129 GB, free: 4.656 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.623e-06/0.2094, allocations: 0 / 1.129 GB, free: 4.656 MB / 1.076 GB Notification: Performance of Transformations before backend: time 8.215e-06/0.2094, allocations: 4 kB / 1.129 GB, free: 4.652 MB / 1.076 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.001269/0.2107, allocations: 0.6484 MB / 1.129 GB, free: 3.973 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.122e-05/0.2107, allocations: 8.031 kB / 1.129 GB, free: 3.965 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001085/0.2118, allocations: 143.6 kB / 1.129 GB, free: 3.824 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007604/0.2126, allocations: 364 kB / 1.13 GB, free: 3.441 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.776e-05/0.2126, allocations: 24.5 kB / 1.13 GB, free: 3.418 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.594e-05/0.2127, allocations: 24 kB / 1.13 GB, free: 3.395 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005912/0.2132, allocations: 373.6 kB / 1.13 GB, free: 2.996 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.744e-05/0.2133, allocations: 3.953 kB / 1.13 GB, free: 2.992 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.646e-05/0.2133, allocations: 11.98 kB / 1.13 GB, free: 2.98 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.701e-05/0.2133, allocations: 12.5 kB / 1.13 GB, free: 2.969 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003882/0.2137, allocations: 201.8 kB / 1.13 GB, free: 2.77 MB / 1.076 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.001676/0.2154, allocations: 0.7925 MB / 1.131 GB, free: 1.945 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004408/0.2158, allocations: 186.9 kB / 1.131 GB, free: 1.754 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001693/0.216, allocations: 84.83 kB / 1.131 GB, free: 1.668 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 1.693e-05/0.216, allocations: 0 / 1.131 GB, free: 1.668 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.624e-05/0.2161, allocations: 34.56 kB / 1.131 GB, free: 1.625 MB / 1.076 GB Notification: Performance of pre-optimization done (n=19): time 1.332e-06/0.2161, allocations: 0 / 1.131 GB, free: 1.625 MB / 1.076 GB Notification: Performance of matching and sorting (n=19): time 0.001032/0.2171, allocations: 321 kB / 1.132 GB, free: 1.305 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.091e-05/0.2172, allocations: 67.33 kB / 1.132 GB, free: 1.227 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003487/0.2175, allocations: 284.6 kB / 1.132 GB, free: 0.9414 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 3.686e-05/0.2175, allocations: 33.7 kB / 1.132 GB, free: 0.9023 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002042/0.2177, allocations: 200.6 kB / 1.132 GB, free: 0.7031 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 7.633e-05/0.2178, allocations: 71.31 kB / 1.132 GB, free: 0.6328 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.626e-05/0.2179, allocations: 49.66 kB / 1.132 GB, free: 0.5781 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0002058/0.2181, allocations: 338.8 kB / 1.133 GB, free: 244 kB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000119/0.2182, allocations: 63.97 kB / 1.133 GB, free: 180 kB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001673/0.2184, allocations: 121.9 kB / 1.133 GB, free: 36 kB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.5702/0.7886, allocations: 190.4 kB / 1.133 GB, free: 196.9 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.809e-06/0.7886, allocations: 0 / 1.133 GB, free: 196.9 MB / 1.076 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004274/0.7891, allocations: 245.7 kB / 1.133 GB, free: 196.8 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.976e-05/0.7891, allocations: 6.375 kB / 1.133 GB, free: 196.8 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.504e-06/0.7891, allocations: 0 / 1.133 GB, free: 196.8 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.2e-05/0.7891, allocations: 2.75 kB / 1.133 GB, free: 196.8 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002084/0.7893, allocations: 46.59 kB / 1.133 GB, free: 196.8 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.237e-06/0.7893, allocations: 9.594 kB / 1.133 GB, free: 196.8 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002919/0.7896, allocations: 14.98 kB / 1.133 GB, free: 196.8 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.457e-05/0.7896, allocations: 9.438 kB / 1.133 GB, free: 196.8 MB / 1.076 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.0001743/0.7898, allocations: 160.9 kB / 1.134 GB, free: 196.7 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.546e-05/0.7899, allocations: 36.75 kB / 1.134 GB, free: 196.7 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.496e-05/0.7899, allocations: 32.05 kB / 1.134 GB, free: 196.7 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.566e-06/0.7899, allocations: 2.562 kB / 1.134 GB, free: 196.7 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.007e-05/0.79, allocations: 4.281 kB / 1.134 GB, free: 196.7 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/0.79, allocations: 4.188 kB / 1.134 GB, free: 196.7 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003826/0.7903, allocations: 279.1 kB / 1.134 GB, free: 196.6 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.7903, allocations: 0 / 1.134 GB, free: 196.6 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001638/0.7905, allocations: 35.56 kB / 1.134 GB, free: 196.6 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002251/0.7907, allocations: 40.98 kB / 1.134 GB, free: 196.6 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.609e-05/0.7908, allocations: 4.75 kB / 1.134 GB, free: 196.6 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008908/0.7916, allocations: 1.39 MB / 1.135 GB, free: 195.3 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.7916, allocations: 3.328 kB / 1.135 GB, free: 195.3 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004741/0.7921, allocations: 407.7 kB / 1.136 GB, free: 195.1 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001055/0.7922, allocations: 52.48 kB / 1.136 GB, free: 195 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.813e-05/0.7923, allocations: 4.938 kB / 1.136 GB, free: 195 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002524/0.7925, allocations: 2.906 kB / 1.136 GB, free: 195 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.414e-05/0.7925, allocations: 19.5 kB / 1.136 GB, free: 195 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.375e-05/0.7926, allocations: 2.938 kB / 1.136 GB, free: 195 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0001846/0.7927, allocations: 212 kB / 1.136 GB, free: 194.9 MB / 1.076 GB Notification: Performance of sort global known variables: time 7.1e-08/0.7927, allocations: 1.031 kB / 1.136 GB, free: 194.9 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0004542/0.7932, allocations: 104.4 kB / 1.136 GB, free: 194.9 MB / 1.076 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.0002514/0.7935, allocations: 117.7 kB / 1.136 GB, free: 194.8 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0003319/0.7938, allocations: 150.8 kB / 1.136 GB, free: 194.8 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.7938, allocations: 0 / 1.136 GB, free: 194.8 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0003234/0.7941, allocations: 202.4 kB / 1.137 GB, free: 194.6 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001062/0.7952, allocations: 202.6 kB / 1.137 GB, free: 194.6 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001312/0.7965, allocations: 0.6557 MB / 1.137 GB, free: 194.2 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002049/0.7967, allocations: 192.1 kB / 1.138 GB, free: 194.2 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.000256/0.7969, allocations: 54.06 kB / 1.138 GB, free: 194.2 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.552e-05/0.797, allocations: 30.28 kB / 1.138 GB, free: 194.1 MB / 1.076 GB Notification: Performance of SimCode: time 1.492e-06/0.797, allocations: 0 / 1.138 GB, free: 194.1 MB / 1.076 GB Notification: Performance of Templates: time 0.01065/0.8077, allocations: 6.397 MB / 1.144 GB, free: 193.5 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Examples.Tutorial.SpaceCooling.System1.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe ; mkfifo Buildings_12_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe ; head -c 1048576 < Buildings_12_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe >> ../files/Buildings_12_Buildings.Examples.Tutorial.SpaceCooling.System1.sim & ./Buildings_12_Buildings.Examples.Tutorial.SpaceCooling.System1 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Examples.Tutorial.SpaceCooling.System1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Examples_Tutorial_SpaceCooling_System1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 8.960396569222212]