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.001972/0.001972, allocations: 80.41 kB / 20.23 MB, free: 4.199 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.002607/0.002607, allocations: 161.7 kB / 23.54 MB, free: 0.8906 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 1.477/1.477, allocations: 177.1 MB / 203.9 MB, free: 5.59 MB / 186.7 MB " [Timeout remaining time 178] 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 2.725/2.725, allocations: 359 MB / 0.6048 GB, free: 10.98 MB / 0.573 GB " [Timeout remaining time 177] 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.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: Performance of FrontEnd - loaded program: time 1.353e-06/1.353e-06, allocations: 0 / 0.7863 GB, free: 12.89 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.548e-05/2.683e-05, allocations: 3.438 kB / 0.7863 GB, free: 12.88 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SpaceCooling.System1): time 0.2078/0.2078, allocations: 143.1 MB / 0.9261 GB, free: 13.32 MB / 0.8855 GB Notification: Performance of NFInst.instExpressions: time 0.005148/0.213, allocations: 2.743 MB / 0.9287 GB, free: 10.58 MB / 0.8855 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003262/0.2133, allocations: 19.81 kB / 0.9288 GB, free: 10.56 MB / 0.8855 GB Notification: Performance of NFTyping.typeComponents: time 0.0006877/0.214, allocations: 202.7 kB / 0.929 GB, free: 10.36 MB / 0.8855 GB Notification: Performance of NFTyping.typeBindings: time 0.001968/0.216, allocations: 0.8277 MB / 0.9298 GB, free: 9.527 MB / 0.8855 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008145/0.2168, allocations: 359 kB / 0.9301 GB, free: 9.176 MB / 0.8855 GB Notification: Performance of NFFlatten.flatten: time 0.00137/0.2181, allocations: 0.9777 MB / 0.9311 GB, free: 8.195 MB / 0.8855 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003532/0.2185, allocations: 223.3 kB / 0.9313 GB, free: 7.969 MB / 0.8855 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007538/0.2192, allocations: 470.6 kB / 0.9317 GB, free: 7.508 MB / 0.8855 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008715/0.2201, allocations: 270.1 kB / 0.932 GB, free: 7.25 MB / 0.8855 GB Notification: Performance of NFPackage.collectConstants: time 6.381e-05/0.2202, allocations: 32 kB / 0.932 GB, free: 7.219 MB / 0.8855 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001037/0.2212, allocations: 0.5373 MB / 0.9325 GB, free: 6.68 MB / 0.8855 GB Notification: Performance of NFScalarize.scalarize: time 0.0001903/0.2214, allocations: 147.5 kB / 0.9327 GB, free: 6.535 MB / 0.8855 GB Notification: Performance of NFVerifyModel.verify: time 0.0002157/0.2216, allocations: 143.7 kB / 0.9328 GB, free: 6.395 MB / 0.8855 GB Notification: Performance of NFConvertDAE.convert: time 0.001191/0.2228, allocations: 0.7556 MB / 0.9336 GB, free: 5.637 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.2228, allocations: 4 kB / 0.9336 GB, free: 5.633 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.082e-06/0.2228, allocations: 0 / 0.9336 GB, free: 5.633 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 6.582e-06/0.2228, allocations: 0 / 0.9336 GB, free: 5.633 MB / 0.8855 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.001228/0.2241, allocations: 0.6522 MB / 0.9342 GB, free: 4.949 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 3.409e-05/0.2241, allocations: 8.031 kB / 0.9342 GB, free: 4.941 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001063/0.2251, allocations: 171.5 kB / 0.9344 GB, free: 4.773 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006955/0.2258, allocations: 380 kB / 0.9347 GB, free: 4.379 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.587e-05/0.2259, allocations: 20.5 kB / 0.9347 GB, free: 4.359 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.48e-05/0.2259, allocations: 28 kB / 0.9348 GB, free: 4.332 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005951/0.2265, allocations: 377.6 kB / 0.9351 GB, free: 3.93 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.269e-05/0.2265, allocations: 0 / 0.9351 GB, free: 3.93 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.376e-05/0.2266, allocations: 12 kB / 0.9351 GB, free: 3.918 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.654e-05/0.2266, allocations: 12.48 kB / 0.9352 GB, free: 3.906 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003794/0.227, allocations: 197.8 kB / 0.9353 GB, free: 3.711 MB / 0.8855 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.001729/0.2287, allocations: 0.8004 MB / 0.9361 GB, free: 2.879 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004398/0.2292, allocations: 190.8 kB / 0.9363 GB, free: 2.684 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001553/0.2293, allocations: 80.83 kB / 0.9364 GB, free: 2.602 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 1.916e-05/0.2293, allocations: 4 kB / 0.9364 GB, free: 2.598 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.955e-05/0.2294, allocations: 38.91 kB / 0.9364 GB, free: 2.551 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=19): time 1.223e-06/0.2294, allocations: 0 / 0.9364 GB, free: 2.551 MB / 0.8855 GB Notification: Performance of matching and sorting (n=19): time 0.001014/0.2304, allocations: 332 kB / 0.9367 GB, free: 2.219 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.018e-05/0.2304, allocations: 59.34 kB / 0.9368 GB, free: 2.148 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003986/0.2308, allocations: 296.5 kB / 0.9371 GB, free: 1.848 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 3.471e-05/0.2309, allocations: 29.7 kB / 0.9371 GB, free: 1.812 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001797/0.2311, allocations: 196.6 kB / 0.9373 GB, free: 1.613 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 8.88e-05/0.2311, allocations: 79.36 kB / 0.9374 GB, free: 1.535 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.926e-05/0.2312, allocations: 37.72 kB / 0.9374 GB, free: 1.492 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0002065/0.2314, allocations: 342.8 kB / 0.9377 GB, free: 1.148 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001239/0.2316, allocations: 67.91 kB / 0.9378 GB, free: 1.082 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001644/0.2317, allocations: 120.1 kB / 0.9379 GB, free: 0.9453 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003044/0.232, allocations: 195.4 kB / 0.9381 GB, free: 0.7344 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.232, allocations: 0 / 0.9381 GB, free: 0.7344 MB / 0.8855 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004413/0.2325, allocations: 254.3 kB / 0.9383 GB, free: 492 kB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.599e-05/0.2325, allocations: 8.188 kB / 0.9384 GB, free: 484 kB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.2325, allocations: 4 kB / 0.9384 GB, free: 480 kB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.025e-05/0.2325, allocations: 4 kB / 0.9384 GB, free: 476 kB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002044/0.2327, allocations: 39.92 kB / 0.9384 GB, free: 436 kB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.315e-05/0.2327, allocations: 15.91 kB / 0.9384 GB, free: 420 kB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002723/0.233, allocations: 19.84 kB / 0.9384 GB, free: 400 kB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.072e-05/0.233, allocations: 12 kB / 0.9384 GB, free: 388 kB / 0.8855 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.0001835/0.2332, allocations: 157.8 kB / 0.9386 GB, free: 220 kB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.691e-05/0.2333, allocations: 31.86 kB / 0.9386 GB, free: 188 kB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.227e-05/0.2334, allocations: 38.3 kB / 0.9387 GB, free: 152 kB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.534e-06/0.2334, allocations: 4 kB / 0.9387 GB, free: 148 kB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.154e-05/0.2334, allocations: 7.938 kB / 0.9387 GB, free: 140 kB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.2334, allocations: 0 / 0.9387 GB, free: 140 kB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005662/0.234, allocations: 285 kB / 0.9389 GB, free: 15.83 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.234, allocations: 0 / 0.9389 GB, free: 15.83 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001864/0.2341, allocations: 31.98 kB / 0.939 GB, free: 15.8 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002876/0.2344, allocations: 64.73 kB / 0.939 GB, free: 15.73 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.034e-05/0.2344, allocations: 8 kB / 0.939 GB, free: 15.72 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001479/0.2359, allocations: 1.381 MB / 0.9404 GB, free: 14.24 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.178e-06/0.2359, allocations: 4.031 kB / 0.9404 GB, free: 14.24 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006646/0.2366, allocations: 397.7 kB / 0.9408 GB, free: 13.83 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001407/0.2367, allocations: 59.77 kB / 0.9408 GB, free: 13.77 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.354e-05/0.2368, allocations: 64 / 0.9408 GB, free: 13.77 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002553/0.237, allocations: 15.98 kB / 0.9408 GB, free: 13.76 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.341e-05/0.2371, allocations: 11.92 kB / 0.9409 GB, free: 13.75 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.845e-05/0.2371, allocations: 8 kB / 0.9409 GB, free: 13.74 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.0002619/0.2373, allocations: 211.1 kB / 0.9411 GB, free: 13.53 MB / 0.9011 GB Notification: Performance of sort global known variables: time 7e-08/0.2373, allocations: 0 / 0.9411 GB, free: 13.53 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0004385/0.2378, allocations: 107.8 kB / 0.9412 GB, free: 13.43 MB / 0.9011 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.0001902/0.238, allocations: 115.5 kB / 0.9413 GB, free: 13.3 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.0003322/0.2383, allocations: 162.1 kB / 0.9414 GB, free: 13.14 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.2383, allocations: 0 / 0.9414 GB, free: 13.14 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0003271/0.2386, allocations: 198.5 kB / 0.9416 GB, free: 12.94 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001011/0.2396, allocations: 201.1 kB / 0.9418 GB, free: 12.75 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001272/0.2409, allocations: 0.6647 MB / 0.9425 GB, free: 12.06 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000222/0.2411, allocations: 194 kB / 0.9427 GB, free: 11.85 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.000232/0.2414, allocations: 66.92 kB / 0.9427 GB, free: 11.78 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.401e-05/0.2414, allocations: 24.5 kB / 0.9427 GB, free: 11.76 MB / 0.9011 GB Notification: Performance of SimCode: time 4.21e-07/0.2414, allocations: 0 / 0.9427 GB, free: 11.76 MB / 0.9011 GB Notification: Performance of Templates: time 0.01255/0.254, allocations: 6.477 MB / 0.9491 GB, free: 5.465 MB / 0.9011 GB " [Timeout remaining time 300] 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: 8.043866435065866]