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.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.001644/0.001644, allocations: 109.5 kB / 17.08 MB, free: 5.938 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.001708/0.001708, allocations: 194.7 kB / 20.03 MB, free: 3.012 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.436/1.436, allocations: 222.9 MB / 245.7 MB, free: 4.188 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.967/2.967, allocations: 490 MB / 0.7695 GB, free: 3.078 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.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: Performance of FrontEnd - loaded program: time 0.002181/0.002181, allocations: 71.83 kB / 1.104 GB, free: 15.75 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9918/0.994, allocations: 164 MB / 1.264 GB, free: 7.309 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3): time 0.2089/1.203, allocations: 166.1 MB / 1.426 GB, free: 11.5 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.01453/1.218, allocations: 7.808 MB / 1.434 GB, free: 5.172 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002299/1.22, allocations: 38.66 kB / 1.434 GB, free: 5.156 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.001741/1.222, allocations: 400.5 kB / 1.434 GB, free: 4.816 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.005051/1.227, allocations: 1.317 MB / 1.435 GB, free: 3.805 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.00377/1.231, allocations: 1.176 MB / 1.437 GB, free: 2.898 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.00455/1.235, allocations: 2.355 MB / 1.439 GB, free: 1.477 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002592/1.238, allocations: 1.197 MB / 1.44 GB, free: 0.668 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002207/1.24, allocations: 0.8399 MB / 1.441 GB, free: 168 kB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002396/1.242, allocations: 0.7849 MB / 1.442 GB, free: 15.63 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 0.0006656/1.243, allocations: 150.6 kB / 1.442 GB, free: 15.63 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003535/1.247, allocations: 1.125 MB / 1.443 GB, free: 15.1 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.0008105/1.247, allocations: 439.8 kB / 1.443 GB, free: 14.76 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.001861/1.249, allocations: 0.7793 MB / 1.444 GB, free: 14.21 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.005725/1.255, allocations: 2.411 MB / 1.446 GB, free: 12.16 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 5.651e-06/1.255, allocations: 0 / 1.446 GB, free: 12.16 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.703e-06/1.255, allocations: 4 kB / 1.446 GB, free: 12.15 MB / 1.139 GB Notification: Performance of Transformations before backend: time 7.168e-05/1.255, allocations: 0 / 1.446 GB, free: 12.15 MB / 1.139 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.004909/1.26, allocations: 1.935 MB / 1.448 GB, free: 10.16 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 3.964e-05/1.26, allocations: 8.031 kB / 1.448 GB, free: 10.15 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002131/1.262, allocations: 334.6 kB / 1.449 GB, free: 9.82 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002082/1.264, allocations: 1.023 MB / 1.45 GB, free: 8.75 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.529e-05/1.264, allocations: 78.2 kB / 1.45 GB, free: 8.672 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002275/1.265, allocations: 112 kB / 1.45 GB, free: 8.562 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002493/1.267, allocations: 1.172 MB / 1.451 GB, free: 7.32 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.33e-05/1.267, allocations: 0 / 1.451 GB, free: 7.32 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001226/1.267, allocations: 48 kB / 1.451 GB, free: 7.273 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.187e-05/1.267, allocations: 46.05 kB / 1.451 GB, free: 7.227 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00244/1.27, allocations: 1.312 MB / 1.452 GB, free: 5.906 MB / 1.139 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.006686/1.277, allocations: 3.891 MB / 1.456 GB, free: 1.789 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002061/1.279, allocations: 0.9968 MB / 1.457 GB, free: 0.7891 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007404/1.279, allocations: 399.2 kB / 1.457 GB, free: 408 kB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 9.085e-05/1.28, allocations: 41.03 kB / 1.458 GB, free: 368 kB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001112/1.281, allocations: 0.5826 MB / 1.458 GB, free: 15.75 MB / 1.154 GB Notification: Performance of pre-optimization done (n=102): time 3.466e-06/1.281, allocations: 0 / 1.458 GB, free: 15.75 MB / 1.154 GB Notification: Performance of matching and sorting (n=102): time 0.003982/1.285, allocations: 1.447 MB / 1.459 GB, free: 14.29 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001405/1.285, allocations: 192.9 kB / 1.46 GB, free: 14.05 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001484/1.286, allocations: 0.8454 MB / 1.461 GB, free: 13.18 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 0.0001046/1.286, allocations: 49.7 kB / 1.461 GB, free: 13.13 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005456/1.287, allocations: 0.5285 MB / 1.461 GB, free: 12.59 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003675/1.287, allocations: 353 kB / 1.461 GB, free: 12.25 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003412/1.288, allocations: 202.5 kB / 1.462 GB, free: 12.04 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001658/1.288, allocations: 345.9 kB / 1.462 GB, free: 11.7 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006766/1.289, allocations: 333.8 kB / 1.462 GB, free: 11.37 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008299/1.289, allocations: 476.2 kB / 1.463 GB, free: 10.88 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001452/1.291, allocations: 0.8049 MB / 1.463 GB, free: 10.04 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.328e-06/1.291, allocations: 0 / 1.463 GB, free: 10.04 MB / 1.154 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.002556/1.293, allocations: 1.079 MB / 1.465 GB, free: 8.949 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 2.555e-05/1.294, allocations: 5.562 kB / 1.465 GB, free: 8.945 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.416e-05/1.294, allocations: 4 kB / 1.465 GB, free: 8.941 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006123/1.294, allocations: 81 kB / 1.465 GB, free: 8.859 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008738/1.295, allocations: 219.7 kB / 1.465 GB, free: 8.645 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002321/1.297, allocations: 1.634 MB / 1.466 GB, free: 6.863 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001105/1.298, allocations: 115.4 kB / 1.467 GB, free: 6.75 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.042e-05/1.299, allocations: 39.98 kB / 1.467 GB, free: 6.711 MB / 1.154 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.0006274/1.299, allocations: 331.8 kB / 1.467 GB, free: 6.379 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002436/1.299, allocations: 119.2 kB / 1.467 GB, free: 6.262 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002847/1.302, allocations: 1.244 MB / 1.468 GB, free: 5.004 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.396e-05/1.302, allocations: 12 kB / 1.468 GB, free: 4.992 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.888e-06/1.302, allocations: 0 / 1.468 GB, free: 4.992 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.402e-05/1.302, allocations: 7.969 kB / 1.468 GB, free: 4.984 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001617/1.304, allocations: 1.173 MB / 1.469 GB, free: 3.758 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.987e-06/1.304, allocations: 0 / 1.469 GB, free: 3.758 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008897/1.305, allocations: 207.7 kB / 1.47 GB, free: 3.555 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004675/1.305, allocations: 76.78 kB / 1.47 GB, free: 3.477 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.86e-05/1.305, allocations: 27.98 kB / 1.47 GB, free: 3.449 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00214/1.308, allocations: 1.643 MB / 1.471 GB, free: 1.664 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.551e-06/1.308, allocations: 3.938 kB / 1.471 GB, free: 1.66 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003239/1.311, allocations: 1.586 MB / 1.473 GB, free: 52 kB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005806/1.311, allocations: 331.9 kB / 1.473 GB, free: 15.71 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001675/1.312, allocations: 24 kB / 1.473 GB, free: 15.68 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008098/1.312, allocations: 71.98 kB / 1.473 GB, free: 15.61 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001824/1.313, allocations: 92.75 kB / 1.473 GB, free: 15.52 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.754e-05/1.313, allocations: 44.22 kB / 1.473 GB, free: 15.48 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.0008647/1.314, allocations: 0.5819 MB / 1.474 GB, free: 14.89 MB / 1.17 GB Notification: Performance of sort global known variables: time 1.2e-07/1.314, allocations: 0 / 1.474 GB, free: 14.89 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.001104/1.315, allocations: 438.9 kB / 1.474 GB, free: 14.46 MB / 1.17 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.002002/1.317, allocations: 0.6112 MB / 1.475 GB, free: 14.02 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.002215/1.319, allocations: 1.003 MB / 1.476 GB, free: 13 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 3.626e-06/1.319, allocations: 0 / 1.476 GB, free: 13 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.001121/1.32, allocations: 0.5978 MB / 1.477 GB, free: 12.39 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002114/1.322, allocations: 492.7 kB / 1.477 GB, free: 11.93 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004537/1.327, allocations: 2.53 MB / 1.479 GB, free: 9.359 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008774/1.328, allocations: 1.158 MB / 1.481 GB, free: 8.176 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004695/1.328, allocations: 139.3 kB / 1.481 GB, free: 8.039 MB / 1.17 GB Notification: Performance of SimCode: time 6.71e-07/1.328, allocations: 0 / 1.481 GB, free: 8.039 MB / 1.17 GB Notification: Performance of Templates: time 0.03628/1.364, allocations: 24.74 MB / 1.505 GB, free: 15.38 MB / 1.201 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 -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: 15.581202575005591]