Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.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.001916/0.001916, allocations: 113.9 kB / 17.61 MB, free: 4.684 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.002162/0.002162, allocations: 185.9 kB / 20.78 MB, free: 1.52 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.428/1.428, allocations: 225.6 MB / 249.4 MB, free: 3.145 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.739/2.739, allocations: 476.7 MB / 0.7628 GB, free: 15.09 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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.SimpleHouse2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|walCap.T",fileNamePrefix="Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2") translateModel(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|walCap.T",fileNamePrefix="Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001993/0.001993, allocations: 71.88 kB / 1.107 GB, free: 4.531 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9839/0.9859, allocations: 168.7 MB / 1.272 GB, free: 7.883 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2): time 0.007106/0.993, allocations: 5.295 MB / 1.277 GB, free: 4.148 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.2212/1.214, allocations: 151.2 MB / 1.425 GB, free: 3.566 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001347/1.216, allocations: 20.62 kB / 1.425 GB, free: 3.559 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.0007577/1.216, allocations: 202.2 kB / 1.425 GB, free: 3.379 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.002167/1.219, allocations: 0.5785 MB / 1.426 GB, free: 2.941 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.002505/1.221, allocations: 0.8679 MB / 1.426 GB, free: 2.277 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.001933/1.223, allocations: 1.454 MB / 1.428 GB, free: 1.371 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008368/1.224, allocations: 432 kB / 1.428 GB, free: 1.055 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008261/1.225, allocations: 0.5044 MB / 1.429 GB, free: 0.75 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007168/1.225, allocations: 0.5308 MB / 1.429 GB, free: 380 kB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.0001747/1.226, allocations: 120.8 kB / 1.429 GB, free: 380 kB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001109/1.227, allocations: 488.2 kB / 1.43 GB, free: 196 kB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.00033/1.227, allocations: 311.6 kB / 1.43 GB, free: 15.95 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.000598/1.228, allocations: 0.5812 MB / 1.431 GB, free: 15.52 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.00254/1.23, allocations: 1.7 MB / 1.432 GB, free: 14.3 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/1.23, allocations: 0 / 1.432 GB, free: 14.3 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.904e-06/1.23, allocations: 4 kB / 1.432 GB, free: 14.29 MB / 1.123 GB Notification: Performance of Transformations before backend: time 2.635e-05/1.23, allocations: 3.984 kB / 1.432 GB, free: 14.29 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: 224 * Number of variables: 224 Notification: Performance of Generate backend data structure: time 0.003125/1.233, allocations: 1.522 MB / 1.434 GB, free: 13.09 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 5.633e-05/1.233, allocations: 9.125 kB / 1.434 GB, free: 13.09 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00101/1.234, allocations: 199.8 kB / 1.434 GB, free: 13 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001359/1.236, allocations: 0.7906 MB / 1.435 GB, free: 12.35 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.927e-05/1.236, allocations: 67.12 kB / 1.435 GB, free: 12.32 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000144/1.236, allocations: 84.38 kB / 1.435 GB, free: 12.29 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001768/1.238, allocations: 0.9485 MB / 1.436 GB, free: 11.68 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.548e-05/1.238, allocations: 1 kB / 1.436 GB, free: 11.68 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.914e-05/1.238, allocations: 40.7 kB / 1.436 GB, free: 11.65 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.989e-05/1.238, allocations: 21.62 kB / 1.436 GB, free: 11.65 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001972/1.24, allocations: 1.138 MB / 1.437 GB, free: 11.11 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.004433/1.244, allocations: 2.788 MB / 1.44 GB, free: 8.445 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001619/1.246, allocations: 0.8006 MB / 1.441 GB, free: 7.637 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005624/1.246, allocations: 297.8 kB / 1.441 GB, free: 7.34 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 7.927e-05/1.246, allocations: 28.69 kB / 1.441 GB, free: 7.312 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009203/1.247, allocations: 0.514 MB / 1.441 GB, free: 6.785 MB / 1.123 GB Notification: Performance of pre-optimization done (n=85): time 2.655e-06/1.247, allocations: 0 / 1.441 GB, free: 6.785 MB / 1.123 GB Notification: Performance of matching and sorting (n=85): time 0.003372/1.251, allocations: 1.247 MB / 1.443 GB, free: 5.516 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001391/1.251, allocations: 192.9 kB / 1.443 GB, free: 5.281 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009156/1.252, allocations: 0.6528 MB / 1.443 GB, free: 4.621 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 7.25e-05/1.252, allocations: 41.7 kB / 1.443 GB, free: 4.574 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003713/1.252, allocations: 429.1 kB / 1.444 GB, free: 4.148 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002606/1.253, allocations: 289.5 kB / 1.444 GB, free: 3.863 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002867/1.253, allocations: 170.6 kB / 1.444 GB, free: 3.691 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0002128/1.253, allocations: 390.7 kB / 1.445 GB, free: 3.301 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005499/1.254, allocations: 273.9 kB / 1.445 GB, free: 3.035 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006628/1.254, allocations: 379.1 kB / 1.445 GB, free: 2.648 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001199/1.255, allocations: 0.6281 MB / 1.446 GB, free: 2.012 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/1.255, allocations: 0 / 1.446 GB, free: 2.012 MB / 1.123 GB Notification: Performance of matching and sorting (n=102) (initialization): time 0.00206/1.258, allocations: 0.892 MB / 1.447 GB, free: 1.105 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 2.373e-05/1.258, allocations: 8.094 kB / 1.447 GB, free: 1.098 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.123e-06/1.258, allocations: 0 / 1.447 GB, free: 1.098 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006114/1.258, allocations: 84.77 kB / 1.447 GB, free: 1.012 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006965/1.259, allocations: 175.8 kB / 1.447 GB, free: 0.8398 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002276/1.261, allocations: 1.634 MB / 1.449 GB, free: 15.06 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007903/1.262, allocations: 95.45 kB / 1.449 GB, free: 14.96 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.834e-05/1.262, allocations: 31.98 kB / 1.449 GB, free: 14.93 MB / 1.139 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 (100): * Single equations (assignments): 99 * 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.0004964/1.262, allocations: 268 kB / 1.449 GB, free: 14.66 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001685/1.263, allocations: 95.44 kB / 1.449 GB, free: 14.57 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00247/1.265, allocations: 1.097 MB / 1.45 GB, free: 13.46 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.239e-05/1.265, allocations: 12 kB / 1.45 GB, free: 13.45 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.525e-06/1.265, allocations: 0 / 1.45 GB, free: 13.45 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.073e-05/1.265, allocations: 3.984 kB / 1.45 GB, free: 13.44 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001218/1.266, allocations: 0.9308 MB / 1.451 GB, free: 12.46 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.781e-06/1.266, allocations: 4 kB / 1.451 GB, free: 12.46 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006545/1.267, allocations: 167.6 kB / 1.451 GB, free: 12.29 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004528/1.267, allocations: 68.8 kB / 1.451 GB, free: 12.22 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.267e-05/1.268, allocations: 27.97 kB / 1.451 GB, free: 12.2 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002021/1.27, allocations: 1.65 MB / 1.453 GB, free: 10.4 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.163e-06/1.27, allocations: 0 / 1.453 GB, free: 10.4 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002852/1.272, allocations: 1.375 MB / 1.454 GB, free: 9.004 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004474/1.273, allocations: 288.1 kB / 1.455 GB, free: 8.703 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001319/1.273, allocations: 19.94 kB / 1.455 GB, free: 8.684 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006099/1.274, allocations: 76.05 kB / 1.455 GB, free: 8.609 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001758/1.274, allocations: 68.89 kB / 1.455 GB, free: 8.543 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.818e-05/1.274, allocations: 35.98 kB / 1.455 GB, free: 8.508 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.0006566/1.275, allocations: 471 kB / 1.455 GB, free: 8.051 MB / 1.139 GB Notification: Performance of sort global known variables: time 1.3e-07/1.275, allocations: 3.938 kB / 1.455 GB, free: 8.047 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.001001/1.276, allocations: 335.2 kB / 1.456 GB, free: 7.719 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 (96): * Single equations (assignments): 90 * 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.001986/1.278, allocations: 0.6105 MB / 1.456 GB, free: 7.277 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.001837/1.279, allocations: 0.8274 MB / 1.457 GB, free: 6.434 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 3.536e-06/1.279, allocations: 0 / 1.457 GB, free: 6.434 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.0009614/1.28, allocations: 0.4924 MB / 1.457 GB, free: 5.93 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001277/1.282, allocations: 318 kB / 1.458 GB, free: 5.645 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003734/1.285, allocations: 1.88 MB / 1.46 GB, free: 3.738 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007132/1.286, allocations: 1.032 MB / 1.461 GB, free: 2.68 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.0008247/1.287, allocations: 270.8 kB / 1.461 GB, free: 2.41 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000275/1.287, allocations: 111.4 kB / 1.461 GB, free: 2.301 MB / 1.139 GB Notification: Performance of SimCode: time 9.52e-07/1.287, allocations: 0 / 1.461 GB, free: 2.301 MB / 1.139 GB Notification: Performance of Templates: time 0.02793/1.315, allocations: 15.91 MB / 1.477 GB, free: 2.559 MB / 1.154 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe ; mkfifo Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe ; head -c 1048576 < Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe >> ../files/Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.sim & ./Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.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.883379200473428]