Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.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.001723/0.001723, allocations: 79.73 kB / 19.76 MB, free: 1.879 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.001963/0.001963, allocations: 161.2 kB / 23.01 MB, free: 4.574 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.471/1.471, allocations: 177.2 MB / 203.4 MB, free: 8.961 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.887/2.887, allocations: 394.2 MB / 0.6386 GB, free: 11.91 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.SimpleHouse.SimpleHouse3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|zon.T",fileNamePrefix="Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3") translateModel(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|zon.T",fileNamePrefix="Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3") [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.002123/0.002123, allocations: 67.89 kB / 1.009 GB, free: 14.46 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8901/0.8922, allocations: 181.8 MB / 1.187 GB, free: 16.19 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3): time 0.1972/1.089, allocations: 146.3 MB / 1.33 GB, free: 3.508 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.01359/1.103, allocations: 7.526 MB / 1.337 GB, free: 11.96 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0016/1.105, allocations: 47.62 kB / 1.337 GB, free: 11.91 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.001298/1.106, allocations: 401 kB / 1.337 GB, free: 11.52 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.00419/1.11, allocations: 1.378 MB / 1.339 GB, free: 10.14 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.00325/1.113, allocations: 1.202 MB / 1.34 GB, free: 8.941 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.004093/1.117, allocations: 2.403 MB / 1.342 GB, free: 6.531 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001826/1.119, allocations: 0.9562 MB / 1.343 GB, free: 5.555 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001542/1.121, allocations: 0.8953 MB / 1.344 GB, free: 4.656 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001641/1.122, allocations: 0.7471 MB / 1.345 GB, free: 3.91 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0002557/1.123, allocations: 156 kB / 1.345 GB, free: 3.758 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002266/1.125, allocations: 1.022 MB / 1.346 GB, free: 2.734 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0005024/1.125, allocations: 442.5 kB / 1.346 GB, free: 2.301 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0008207/1.126, allocations: 0.6415 MB / 1.347 GB, free: 1.656 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.003907/1.13, allocations: 2.452 MB / 1.349 GB, free: 15.2 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/1.13, allocations: 4 kB / 1.349 GB, free: 15.19 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.563e-06/1.13, allocations: 0 / 1.349 GB, free: 15.19 MB / 1.201 GB Notification: Performance of Transformations before backend: time 2.594e-05/1.13, allocations: 0 / 1.349 GB, free: 15.19 MB / 1.201 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 279 * Number of variables: 279 Notification: Performance of Generate backend data structure: time 0.00373/1.134, allocations: 1.879 MB / 1.351 GB, free: 13.27 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 5.91e-05/1.134, allocations: 12.03 kB / 1.351 GB, free: 13.26 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002543/1.137, allocations: 382.6 kB / 1.351 GB, free: 12.88 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001879/1.138, allocations: 0.9512 MB / 1.352 GB, free: 11.89 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.649e-05/1.139, allocations: 86.2 kB / 1.353 GB, free: 11.81 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000172/1.139, allocations: 115.9 kB / 1.353 GB, free: 11.7 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002412/1.141, allocations: 1.527 MB / 1.354 GB, free: 10.01 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.286e-05/1.141, allocations: 3.953 kB / 1.354 GB, free: 10.01 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001138/1.141, allocations: 55.97 kB / 1.354 GB, free: 9.953 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.797e-05/1.141, allocations: 42.06 kB / 1.354 GB, free: 9.91 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0023/1.144, allocations: 1.261 MB / 1.355 GB, free: 8.641 MB / 1.201 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.005471/1.149, allocations: 2.757 MB / 1.358 GB, free: 5.824 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001908/1.151, allocations: 0.9403 MB / 1.359 GB, free: 4.883 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007153/1.152, allocations: 359.7 kB / 1.359 GB, free: 4.527 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 8.861e-05/1.152, allocations: 32.91 kB / 1.359 GB, free: 4.496 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001202/1.153, allocations: 0.7912 MB / 1.36 GB, free: 3.637 MB / 1.201 GB Notification: Performance of pre-optimization done (n=102): time 2.935e-06/1.153, allocations: 0 / 1.36 GB, free: 3.637 MB / 1.201 GB Notification: Performance of matching and sorting (n=102): time 0.003944/1.157, allocations: 1.368 MB / 1.362 GB, free: 2.262 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001244/1.157, allocations: 192.9 kB / 1.362 GB, free: 2.031 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001175/1.158, allocations: 0.8024 MB / 1.363 GB, free: 1.219 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 8.863e-05/1.158, allocations: 45.7 kB / 1.363 GB, free: 1.168 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005072/1.159, allocations: 0.5402 MB / 1.363 GB, free: 0.6211 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003283/1.159, allocations: 360.9 kB / 1.363 GB, free: 272 kB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000319/1.159, allocations: 202.6 kB / 1.364 GB, free: 60 kB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.000176/1.16, allocations: 349.9 kB / 1.364 GB, free: 15.71 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006929/1.16, allocations: 333.8 kB / 1.364 GB, free: 15.39 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009087/1.161, allocations: 0.5943 MB / 1.365 GB, free: 14.73 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001549/1.163, allocations: 0.801 MB / 1.366 GB, free: 13.9 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.438e-06/1.163, allocations: 0 / 1.366 GB, free: 13.9 MB / 1.217 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.002554/1.165, allocations: 1.075 MB / 1.367 GB, free: 12.81 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 1.93e-05/1.165, allocations: 4 kB / 1.367 GB, free: 12.81 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.129e-05/1.165, allocations: 4.219 kB / 1.367 GB, free: 12.8 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006454/1.166, allocations: 92.7 kB / 1.367 GB, free: 12.71 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009029/1.167, allocations: 215.7 kB / 1.367 GB, free: 12.5 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002212/1.169, allocations: 1.496 MB / 1.368 GB, free: 10.89 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001092/1.17, allocations: 107.5 kB / 1.369 GB, free: 10.79 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.847e-05/1.17, allocations: 47.97 kB / 1.369 GB, free: 10.74 MB / 1.217 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 17 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (124): * Single equations (assignments): 123 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0006048/1.171, allocations: 331.5 kB / 1.369 GB, free: 10.41 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002337/1.171, allocations: 119.2 kB / 1.369 GB, free: 10.29 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002836/1.174, allocations: 1.236 MB / 1.37 GB, free: 9.051 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.12e-05/1.174, allocations: 16 kB / 1.37 GB, free: 9.035 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.005e-06/1.174, allocations: 0 / 1.37 GB, free: 9.035 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.427e-05/1.174, allocations: 7.969 kB / 1.37 GB, free: 9.027 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001309/1.175, allocations: 0.8331 MB / 1.371 GB, free: 8.16 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.637e-06/1.175, allocations: 0 / 1.371 GB, free: 8.16 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009377/1.176, allocations: 203.8 kB / 1.371 GB, free: 7.961 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004663/1.177, allocations: 72.78 kB / 1.371 GB, free: 7.887 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.403e-05/1.177, allocations: 35.92 kB / 1.371 GB, free: 7.852 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002082/1.179, allocations: 1.525 MB / 1.373 GB, free: 6.219 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.143e-06/1.179, allocations: 0 / 1.373 GB, free: 6.219 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003402/1.182, allocations: 1.582 MB / 1.374 GB, free: 4.617 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006627/1.183, allocations: 246.9 kB / 1.375 GB, free: 4.375 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001443/1.183, allocations: 24 kB / 1.375 GB, free: 4.352 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008541/1.184, allocations: 75.86 kB / 1.375 GB, free: 4.277 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000175/1.184, allocations: 88.78 kB / 1.375 GB, free: 4.191 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.715e-05/1.184, allocations: 39.97 kB / 1.375 GB, free: 4.152 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.0008448/1.185, allocations: 0.5654 MB / 1.375 GB, free: 3.59 MB / 1.217 GB Notification: Performance of sort global known variables: time 9e-08/1.185, allocations: 0 / 1.375 GB, free: 3.59 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.001141/1.186, allocations: 438.9 kB / 1.376 GB, free: 3.16 MB / 1.217 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (walCap.T,zon.dynBal.medium.Xi[1],zon.dynBal.U,zon.dynBal.m) * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (113): * Single equations (assignments): 107 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002133/1.188, allocations: 0.6626 MB / 1.376 GB, free: 2.699 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.002129/1.191, allocations: 0.9565 MB / 1.377 GB, free: 1.73 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/1.191, allocations: 0 / 1.377 GB, free: 1.73 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.001117/1.192, allocations: 0.5666 MB / 1.378 GB, free: 1.152 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002012/1.194, allocations: 482.8 kB / 1.378 GB, free: 0.707 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004566/1.198, allocations: 2.481 MB / 1.381 GB, free: 14.19 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006487/1.199, allocations: 0.5758 MB / 1.381 GB, free: 13.58 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.001152/1.2, allocations: 320.8 kB / 1.382 GB, free: 13.27 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003402/1.2, allocations: 132.4 kB / 1.382 GB, free: 13.14 MB / 1.232 GB Notification: Performance of SimCode: time 1.012e-06/1.2, allocations: 0 / 1.382 GB, free: 13.14 MB / 1.232 GB Notification: Performance of Templates: time 0.04012/1.24, allocations: 21.41 MB / 1.403 GB, free: 8.105 MB / 1.248 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.pipe ; mkfifo Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.pipe ; head -c 1048576 < Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.pipe >> ../files/Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.sim & ./Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3 -abortSlowSimulation -alarm=800 -s ida -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.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.94526486902032]