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.002405/0.002405, allocations: 79.7 kB / 20.23 MB, free: 4.191 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.002065/0.002065, allocations: 157.3 kB / 23.55 MB, free: 0.8789 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.529/1.529, allocations: 177.1 MB / 203.9 MB, free: 5.602 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.925/2.925, allocations: 359 MB / 0.6048 GB, free: 10.94 MB / 0.573 GB " [Timeout remaining time 176] 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.523e-06/1.523e-06, allocations: 0 / 0.7863 GB, free: 12.85 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.798e-05/2.951e-05, allocations: 3.438 kB / 0.7863 GB, free: 12.84 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SpaceCooling.System1): time 0.2295/0.2295, allocations: 158.4 MB / 0.9411 GB, free: 13.9 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.006092/0.2356, allocations: 2.934 MB / 0.9439 GB, free: 10.96 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000478/0.2361, allocations: 23.81 kB / 0.9439 GB, free: 10.93 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 0.0007804/0.2369, allocations: 198.8 kB / 0.9441 GB, free: 10.74 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 0.002206/0.2391, allocations: 0.8394 MB / 0.9449 GB, free: 9.895 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009016/0.24, allocations: 359 kB / 0.9453 GB, free: 9.543 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.001509/0.2415, allocations: 0.9816 MB / 0.9462 GB, free: 8.559 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003899/0.2419, allocations: 223.3 kB / 0.9465 GB, free: 8.332 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000813/0.2427, allocations: 470.6 kB / 0.9469 GB, free: 7.871 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009618/0.2437, allocations: 283 kB / 0.9472 GB, free: 7.605 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 7.462e-05/0.2437, allocations: 36 kB / 0.9472 GB, free: 7.57 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001243/0.245, allocations: 0.5296 MB / 0.9477 GB, free: 7.039 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 0.0002108/0.2452, allocations: 143.5 kB / 0.9479 GB, free: 6.898 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 0.000236/0.2454, allocations: 151.6 kB / 0.948 GB, free: 6.75 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.001367/0.2468, allocations: 0.7478 MB / 0.9487 GB, free: 6 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 1.359e-05/0.2468, allocations: 8 kB / 0.9488 GB, free: 5.992 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.523e-06/0.2468, allocations: 0 / 0.9488 GB, free: 5.992 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 7.574e-06/0.2468, allocations: 0 / 0.9488 GB, free: 5.992 MB / 0.9011 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.001415/0.2482, allocations: 0.783 MB / 0.9495 GB, free: 5.172 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.018e-05/0.2483, allocations: 12.03 kB / 0.9495 GB, free: 5.16 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00106/0.2493, allocations: 167.5 kB / 0.9497 GB, free: 4.996 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007123/0.25, allocations: 370.8 kB / 0.95 GB, free: 4.609 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.824e-05/0.2501, allocations: 20.5 kB / 0.9501 GB, free: 4.59 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.751e-05/0.2501, allocations: 24 kB / 0.9501 GB, free: 4.566 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008182/0.2509, allocations: 363.2 kB / 0.9504 GB, free: 4.176 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.487e-05/0.251, allocations: 0 / 0.9504 GB, free: 4.176 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.438e-05/0.251, allocations: 15.94 kB / 0.9504 GB, free: 4.16 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.362e-05/0.251, allocations: 8.5 kB / 0.9505 GB, free: 4.152 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003595/0.2514, allocations: 153.9 kB / 0.9506 GB, free: 4 MB / 0.9011 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.001932/0.2533, allocations: 0.9986 MB / 0.9516 GB, free: 2.957 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00044/0.2537, allocations: 179.3 kB / 0.9517 GB, free: 2.77 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001457/0.2539, allocations: 79.48 kB / 0.9518 GB, free: 2.688 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 1.909e-05/0.2539, allocations: 4 kB / 0.9518 GB, free: 2.684 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.738e-05/0.254, allocations: 41.39 kB / 0.9519 GB, free: 2.633 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=19): time 1.272e-06/0.254, allocations: 0 / 0.9519 GB, free: 2.633 MB / 0.9011 GB Notification: Performance of matching and sorting (n=19): time 0.001139/0.2551, allocations: 286.9 kB / 0.9521 GB, free: 2.344 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.483e-05/0.2551, allocations: 59.34 kB / 0.9522 GB, free: 2.273 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004838/0.2556, allocations: 386.3 kB / 0.9526 GB, free: 1.879 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 4.463e-05/0.2557, allocations: 29.7 kB / 0.9526 GB, free: 1.844 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002482/0.2559, allocations: 267.3 kB / 0.9528 GB, free: 1.578 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001078/0.256, allocations: 75.42 kB / 0.9529 GB, free: 1.504 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001153/0.2561, allocations: 63.31 kB / 0.953 GB, free: 1.434 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0003456/0.2565, allocations: 0.5274 MB / 0.9535 GB, free: 0.8945 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001071/0.2566, allocations: 47.92 kB / 0.9535 GB, free: 0.8477 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001887/0.2568, allocations: 120 kB / 0.9537 GB, free: 0.7031 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000311/0.2571, allocations: 196.2 kB / 0.9538 GB, free: 496 kB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.524e-06/0.2571, allocations: 0 / 0.9538 GB, free: 496 kB / 0.9011 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003804/0.2575, allocations: 213.3 kB / 0.954 GB, free: 276 kB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.715e-05/0.2575, allocations: 12.19 kB / 0.9541 GB, free: 264 kB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.034e-06/0.2575, allocations: 3.984 kB / 0.9541 GB, free: 260 kB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.736e-05/0.2575, allocations: 4 kB / 0.9541 GB, free: 256 kB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002179/0.2577, allocations: 51.91 kB / 0.9541 GB, free: 204 kB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.226e-06/0.2578, allocations: 3.938 kB / 0.9541 GB, free: 200 kB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002679/0.258, allocations: 15.89 kB / 0.9541 GB, free: 184 kB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.495e-05/0.258, allocations: 8 kB / 0.9541 GB, free: 176 kB / 0.9011 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.0002159/0.2583, allocations: 192.5 kB / 0.9543 GB, free: 15.97 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.119e-05/0.2583, allocations: 39.81 kB / 0.9544 GB, free: 15.93 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.654e-05/0.2584, allocations: 38.3 kB / 0.9544 GB, free: 15.89 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.139e-06/0.2584, allocations: 8 kB / 0.9544 GB, free: 15.89 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.486e-06/0.2584, allocations: 3.938 kB / 0.9544 GB, free: 15.88 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.447e-06/0.2584, allocations: 0 / 0.9544 GB, free: 15.88 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005634/0.259, allocations: 336.4 kB / 0.9547 GB, free: 15.52 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.259, allocations: 0 / 0.9547 GB, free: 15.52 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001828/0.2592, allocations: 35.86 kB / 0.9548 GB, free: 15.48 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003082/0.2595, allocations: 55.66 kB / 0.9548 GB, free: 15.43 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.625e-05/0.2595, allocations: 0 / 0.9548 GB, free: 15.43 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002201/0.2617, allocations: 1.861 MB / 0.9566 GB, free: 13.44 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.2617, allocations: 0 / 0.9566 GB, free: 13.44 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006476/0.2624, allocations: 427.5 kB / 0.957 GB, free: 13 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001503/0.2625, allocations: 55.72 kB / 0.9571 GB, free: 12.95 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.794e-05/0.2626, allocations: 8.031 kB / 0.9571 GB, free: 12.94 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002446/0.2628, allocations: 8 kB / 0.9571 GB, free: 12.93 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.514e-05/0.2628, allocations: 11.97 kB / 0.9571 GB, free: 12.92 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.89e-05/0.2629, allocations: 8 kB / 0.9571 GB, free: 12.91 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0002832/0.2631, allocations: 259 kB / 0.9574 GB, free: 12.66 MB / 0.9167 GB Notification: Performance of sort global known variables: time 7e-08/0.2631, allocations: 0 / 0.9574 GB, free: 12.66 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0004441/0.2636, allocations: 107.8 kB / 0.9575 GB, free: 12.55 MB / 0.9167 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.0002061/0.2638, allocations: 111.2 kB / 0.9576 GB, free: 12.44 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0003198/0.2641, allocations: 147.5 kB / 0.9577 GB, free: 12.29 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.2641, allocations: 0 / 0.9577 GB, free: 12.29 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0004099/0.2645, allocations: 263.9 kB / 0.958 GB, free: 12.01 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001068/0.2656, allocations: 200.5 kB / 0.9582 GB, free: 11.82 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001233/0.2668, allocations: 0.6535 MB / 0.9588 GB, free: 11.14 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002356/0.2671, allocations: 194 kB / 0.959 GB, free: 10.93 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.0002232/0.2673, allocations: 54.92 kB / 0.959 GB, free: 10.88 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.543e-05/0.2674, allocations: 28.5 kB / 0.9591 GB, free: 10.85 MB / 0.9167 GB Notification: Performance of SimCode: time 6.12e-07/0.2674, allocations: 0 / 0.9591 GB, free: 10.85 MB / 0.9167 GB Notification: Performance of Templates: time 0.01428/0.2817, allocations: 6.636 MB / 0.9656 GB, free: 4.402 MB / 0.9167 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=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe 2>&1) [Timeout 240] 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.46918790298514]