Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.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.001385/0.001385, allocations: 113.5 kB / 17.08 MB, free: 5.988 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.001385/0.001385, allocations: 191.7 kB / 20.03 MB, free: 3.059 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.42/1.42, allocations: 222.9 MB / 245.7 MB, free: 4.223 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 2.924/2.924, allocations: 489.3 MB / 0.7687 GB, free: 3.766 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.SimpleHouse.SimpleHouse1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|walCap.T",fileNamePrefix="Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1") translateModel(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|walCap.T",fileNamePrefix="Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002235/0.002236, allocations: 67.91 kB / 1.103 GB, free: 0.7734 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9475/0.9498, allocations: 163.8 MB / 1.263 GB, free: 7.984 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1): time 0.006197/0.956, allocations: 5.123 MB / 1.268 GB, free: 4.359 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.1903/1.146, allocations: 150.6 MB / 1.415 GB, free: 4.617 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001358/1.148, allocations: 15.5 kB / 1.415 GB, free: 4.613 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.0009488/1.149, allocations: 199.9 kB / 1.415 GB, free: 4.438 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.003045/1.152, allocations: 0.5547 MB / 1.415 GB, free: 4.02 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.002831/1.155, allocations: 0.8396 MB / 1.416 GB, free: 3.383 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.002417/1.157, allocations: 1.43 MB / 1.418 GB, free: 2.492 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001424/1.159, allocations: 0.5959 MB / 1.418 GB, free: 2.121 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001128/1.16, allocations: 497.6 kB / 1.419 GB, free: 1.828 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001075/1.161, allocations: 0.5109 MB / 1.419 GB, free: 1.465 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.0004118/1.161, allocations: 117.8 kB / 1.419 GB, free: 1.465 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00157/1.163, allocations: 494.7 kB / 1.42 GB, free: 1.277 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.0005003/1.163, allocations: 298.2 kB / 1.42 GB, free: 1.043 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.000981/1.164, allocations: 0.5797 MB / 1.421 GB, free: 0.6172 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.003331/1.168, allocations: 1.664 MB / 1.422 GB, free: 15.42 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 6.873e-06/1.168, allocations: 1.156 kB / 1.422 GB, free: 15.42 MB / 1.123 GB Notification: Performance of FrontEnd: time 2.084e-06/1.168, allocations: 0 / 1.422 GB, free: 15.42 MB / 1.123 GB Notification: Performance of Transformations before backend: time 7.771e-05/1.168, allocations: 0 / 1.422 GB, free: 15.42 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: 219 * Number of variables: 219 Notification: Performance of Generate backend data structure: time 0.004085/1.172, allocations: 1.504 MB / 1.424 GB, free: 14.23 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 4.215e-05/1.172, allocations: 9.875 kB / 1.424 GB, free: 14.23 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001142/1.173, allocations: 193.9 kB / 1.424 GB, free: 14.14 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00163/1.175, allocations: 0.7842 MB / 1.425 GB, free: 13.5 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.281e-05/1.175, allocations: 69.94 kB / 1.425 GB, free: 13.46 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001585/1.175, allocations: 79.56 kB / 1.425 GB, free: 13.44 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001969/1.177, allocations: 0.9369 MB / 1.426 GB, free: 12.84 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.639e-05/1.177, allocations: 1.062 kB / 1.426 GB, free: 12.84 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001131/1.177, allocations: 36.94 kB / 1.426 GB, free: 12.81 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.515e-05/1.177, allocations: 21.03 kB / 1.426 GB, free: 12.81 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002058/1.179, allocations: 1.126 MB / 1.427 GB, free: 12.27 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.00544/1.185, allocations: 2.82 MB / 1.43 GB, free: 9.977 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001757/1.186, allocations: 0.8178 MB / 1.43 GB, free: 9.559 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006054/1.187, allocations: 307.9 kB / 1.431 GB, free: 9.402 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 8.959e-05/1.187, allocations: 39.91 kB / 1.431 GB, free: 9.379 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009555/1.188, allocations: 497.8 kB / 1.431 GB, free: 9.062 MB / 1.123 GB Notification: Performance of pre-optimization done (n=82): time 3.397e-06/1.188, allocations: 0 / 1.431 GB, free: 9.062 MB / 1.123 GB Notification: Performance of matching and sorting (n=82): time 0.003552/1.192, allocations: 1.208 MB / 1.432 GB, free: 8.414 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001396/1.192, allocations: 201.2 kB / 1.433 GB, free: 8.184 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00123/1.193, allocations: 0.6434 MB / 1.433 GB, free: 7.805 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 0.0001157/1.193, allocations: 38.89 kB / 1.433 GB, free: 7.766 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004012/1.194, allocations: 413.3 kB / 1.434 GB, free: 7.402 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003007/1.194, allocations: 283.7 kB / 1.434 GB, free: 7.156 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003068/1.194, allocations: 164 kB / 1.434 GB, free: 7.055 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.000208/1.195, allocations: 390 kB / 1.434 GB, free: 6.684 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000597/1.195, allocations: 272.9 kB / 1.435 GB, free: 6.551 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000724/1.196, allocations: 362.6 kB / 1.435 GB, free: 6.348 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00125/1.197, allocations: 0.6153 MB / 1.436 GB, free: 6.012 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.141e-06/1.197, allocations: 0 / 1.436 GB, free: 6.012 MB / 1.123 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002265/1.199, allocations: 0.8719 MB / 1.437 GB, free: 5.5 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 2.621e-05/1.199, allocations: 8 kB / 1.437 GB, free: 5.492 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.297e-06/1.199, allocations: 0 / 1.437 GB, free: 5.492 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006248/1.2, allocations: 84.86 kB / 1.437 GB, free: 5.406 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007033/1.201, allocations: 171.8 kB / 1.437 GB, free: 5.238 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002487/1.203, allocations: 1.626 MB / 1.438 GB, free: 3.465 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009941/1.204, allocations: 95.47 kB / 1.438 GB, free: 3.371 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001235/1.204, allocations: 40.05 kB / 1.439 GB, free: 3.332 MB / 1.123 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (97): * Single equations (assignments): 96 * 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.0006263/1.205, allocations: 267.4 kB / 1.439 GB, free: 3.059 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003358/1.205, allocations: 87.44 kB / 1.439 GB, free: 2.973 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002777/1.208, allocations: 1.078 MB / 1.44 GB, free: 1.879 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.634e-05/1.208, allocations: 8 kB / 1.44 GB, free: 1.871 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.035e-06/1.208, allocations: 4 kB / 1.44 GB, free: 1.867 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.248e-05/1.208, allocations: 3.984 kB / 1.44 GB, free: 1.863 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001883/1.21, allocations: 0.9035 MB / 1.441 GB, free: 0.9102 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-05/1.21, allocations: 0 / 1.441 GB, free: 0.9102 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007013/1.211, allocations: 159.8 kB / 1.441 GB, free: 0.7539 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004995/1.211, allocations: 76.67 kB / 1.441 GB, free: 0.6758 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001002/1.212, allocations: 27.97 kB / 1.441 GB, free: 0.6484 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002423/1.214, allocations: 1.654 MB / 1.443 GB, free: 14.85 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.708e-06/1.214, allocations: 4.062 kB / 1.443 GB, free: 14.85 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003184/1.217, allocations: 1.348 MB / 1.444 GB, free: 13.48 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006242/1.218, allocations: 276.2 kB / 1.444 GB, free: 13.19 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002591/1.218, allocations: 23.88 kB / 1.444 GB, free: 13.16 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007709/1.219, allocations: 63.94 kB / 1.444 GB, free: 13.1 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001863/1.219, allocations: 68.89 kB / 1.444 GB, free: 13.04 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.907e-05/1.219, allocations: 36.05 kB / 1.444 GB, free: 13 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.0007742/1.22, allocations: 471 kB / 1.445 GB, free: 12.54 MB / 1.139 GB Notification: Performance of sort global known variables: time 1.31e-07/1.22, allocations: 0 / 1.445 GB, free: 12.54 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.001224/1.221, allocations: 335.1 kB / 1.445 GB, free: 12.21 MB / 1.139 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (walCap.T) * 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 (93): * Single equations (assignments): 87 * 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.002162/1.223, allocations: 0.6001 MB / 1.446 GB, free: 11.8 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.002139/1.226, allocations: 0.8429 MB / 1.447 GB, free: 10.95 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 5.64e-06/1.226, allocations: 0 / 1.447 GB, free: 10.95 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.001078/1.227, allocations: 0.5199 MB / 1.447 GB, free: 10.41 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001602/1.228, allocations: 303.7 kB / 1.447 GB, free: 10.14 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003737/1.232, allocations: 1.839 MB / 1.449 GB, free: 8.262 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008285/1.233, allocations: 1.033 MB / 1.45 GB, free: 7.199 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004506/1.233, allocations: 119.3 kB / 1.45 GB, free: 7.082 MB / 1.139 GB Notification: Performance of SimCode: time 6.62e-07/1.233, allocations: 0 / 1.45 GB, free: 7.082 MB / 1.139 GB Notification: Performance of Templates: time 0.02986/1.263, allocations: 18.88 MB / 1.469 GB, free: 4.242 MB / 1.154 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.pipe ; mkfifo Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.pipe ; head -c 1048576 < Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.pipe >> ../files/Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.sim & ./Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1 -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.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: 14.352605594089255]