Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.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.001794/0.001794, allocations: 113.1 kB / 17.6 MB, free: 4.703 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.002001/0.002001, allocations: 186.7 kB / 20.78 MB, free: 1.547 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.408/1.408, allocations: 225.6 MB / 249.4 MB, free: 3.148 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.702/2.702, allocations: 476.7 MB / 0.7628 GB, free: 15.14 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.SimpleHouse0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|TOut.T",fileNamePrefix="Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0") translateModel(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|TOut.T",fileNamePrefix="Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.0019/0.0019, allocations: 67.89 kB / 1.107 GB, free: 4.617 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8956/0.8975, allocations: 168.7 MB / 1.272 GB, free: 7.926 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0): time 0.005798/0.9033, allocations: 4.997 MB / 1.277 GB, free: 4.402 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.1924/1.096, allocations: 151.2 MB / 1.424 GB, free: 3.906 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009347/1.097, allocations: 19.28 kB / 1.424 GB, free: 3.898 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.0006315/1.097, allocations: 190.2 kB / 1.425 GB, free: 3.73 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.001899/1.099, allocations: 0.553 MB / 1.425 GB, free: 3.316 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.00219/1.101, allocations: 0.852 MB / 1.426 GB, free: 2.668 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.001912/1.103, allocations: 1.367 MB / 1.427 GB, free: 1.816 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007591/1.104, allocations: 422.5 kB / 1.428 GB, free: 1.504 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007942/1.105, allocations: 483.7 kB / 1.428 GB, free: 1.219 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006335/1.105, allocations: 497.6 kB / 1.429 GB, free: 0.875 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.0001561/1.106, allocations: 114.7 kB / 1.429 GB, free: 0.875 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001125/1.107, allocations: 489.3 kB / 1.429 GB, free: 0.6875 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.0003039/1.107, allocations: 289.2 kB / 1.43 GB, free: 472 kB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.0005771/1.108, allocations: 0.5549 MB / 1.43 GB, free: 52 kB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.002347/1.11, allocations: 1.617 MB / 1.432 GB, free: 14.89 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 4.608e-06/1.11, allocations: 7.938 kB / 1.432 GB, free: 14.88 MB / 1.123 GB Notification: Performance of FrontEnd: time 2.043e-06/1.11, allocations: 1.375 kB / 1.432 GB, free: 14.88 MB / 1.123 GB Notification: Performance of Transformations before backend: time 1.837e-05/1.11, allocations: 0 / 1.432 GB, free: 14.88 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: 209 * Number of variables: 209 Notification: Performance of Generate backend data structure: time 0.00299/1.113, allocations: 1.456 MB / 1.433 GB, free: 13.72 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 4.118e-05/1.113, allocations: 13.47 kB / 1.433 GB, free: 13.72 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001154/1.114, allocations: 187.9 kB / 1.433 GB, free: 13.63 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001721/1.116, allocations: 0.765 MB / 1.434 GB, free: 13 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.619e-05/1.116, allocations: 59.5 kB / 1.434 GB, free: 12.97 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001282/1.116, allocations: 84.83 kB / 1.434 GB, free: 12.94 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001706/1.118, allocations: 0.9167 MB / 1.435 GB, free: 12.34 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.274e-05/1.118, allocations: 0 / 1.435 GB, free: 12.34 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.221e-05/1.118, allocations: 32.25 kB / 1.435 GB, free: 12.32 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.036e-05/1.118, allocations: 20.62 kB / 1.435 GB, free: 12.32 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001815/1.12, allocations: 1.097 MB / 1.436 GB, free: 11.79 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.004251/1.124, allocations: 2.755 MB / 1.439 GB, free: 9.488 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00147/1.125, allocations: 0.7284 MB / 1.44 GB, free: 8.762 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005396/1.126, allocations: 274.6 kB / 1.44 GB, free: 8.492 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 9.048e-05/1.126, allocations: 32.59 kB / 1.44 GB, free: 8.457 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009069/1.127, allocations: 491.3 kB / 1.44 GB, free: 7.961 MB / 1.123 GB Notification: Performance of pre-optimization done (n=78): time 2.575e-06/1.127, allocations: 0 / 1.44 GB, free: 7.961 MB / 1.123 GB Notification: Performance of matching and sorting (n=78): time 0.003424/1.13, allocations: 1.182 MB / 1.441 GB, free: 6.75 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001298/1.131, allocations: 192.6 kB / 1.442 GB, free: 6.52 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008849/1.131, allocations: 0.6332 MB / 1.442 GB, free: 5.883 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 7.112e-05/1.131, allocations: 41.7 kB / 1.442 GB, free: 5.836 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003826/1.132, allocations: 409 kB / 1.443 GB, free: 5.43 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002468/1.132, allocations: 261.8 kB / 1.443 GB, free: 5.172 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002777/1.132, allocations: 170.6 kB / 1.443 GB, free: 5 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.000217/1.133, allocations: 386.7 kB / 1.443 GB, free: 4.613 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005684/1.133, allocations: 261.9 kB / 1.444 GB, free: 4.355 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006928/1.134, allocations: 360 kB / 1.444 GB, free: 3.988 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001161/1.135, allocations: 0.6042 MB / 1.445 GB, free: 3.371 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.446e-06/1.135, allocations: 0 / 1.445 GB, free: 3.371 MB / 1.123 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.002114/1.137, allocations: 0.8453 MB / 1.446 GB, free: 2.516 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 1.879e-05/1.137, allocations: 12.12 kB / 1.446 GB, free: 2.504 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.314e-06/1.137, allocations: 0 / 1.446 GB, free: 2.504 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00065/1.138, allocations: 84.7 kB / 1.446 GB, free: 2.418 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006686/1.138, allocations: 167.7 kB / 1.446 GB, free: 2.254 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002405/1.141, allocations: 1.63 MB / 1.447 GB, free: 488 kB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008302/1.142, allocations: 102.2 kB / 1.447 GB, free: 388 kB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.075e-05/1.142, allocations: 35.97 kB / 1.447 GB, free: 352 kB / 1.123 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (93): * Single equations (assignments): 92 * 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.0005739/1.142, allocations: 267.3 kB / 1.448 GB, free: 72 kB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002018/1.143, allocations: 91.86 kB / 1.448 GB, free: 15.98 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002592/1.145, allocations: 1.046 MB / 1.449 GB, free: 14.91 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.958e-06/1.145, allocations: 8 kB / 1.449 GB, free: 14.9 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/1.145, allocations: 3.75 kB / 1.449 GB, free: 14.9 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.098e-05/1.145, allocations: 3.984 kB / 1.449 GB, free: 14.89 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001247/1.146, allocations: 0.8841 MB / 1.45 GB, free: 13.96 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.637e-06/1.146, allocations: 0 / 1.45 GB, free: 13.96 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005956/1.147, allocations: 139.8 kB / 1.45 GB, free: 13.82 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000469/1.147, allocations: 76.78 kB / 1.45 GB, free: 13.75 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.192e-05/1.148, allocations: 23.98 kB / 1.45 GB, free: 13.72 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002365/1.15, allocations: 1.662 MB / 1.452 GB, free: 11.91 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/1.15, allocations: 0 / 1.452 GB, free: 11.91 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002183/1.152, allocations: 0.9204 MB / 1.452 GB, free: 10.98 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005008/1.153, allocations: 268.2 kB / 1.453 GB, free: 10.7 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001411/1.153, allocations: 24 kB / 1.453 GB, free: 10.67 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006127/1.153, allocations: 67.86 kB / 1.453 GB, free: 10.61 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002187/1.154, allocations: 68.84 kB / 1.453 GB, free: 10.54 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.305e-05/1.154, allocations: 39.97 kB / 1.453 GB, free: 10.5 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.0006507/1.154, allocations: 459 kB / 1.453 GB, free: 10.05 MB / 1.139 GB Notification: Performance of sort global known variables: time 8e-08/1.154, allocations: 0 / 1.453 GB, free: 10.05 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.0009506/1.155, allocations: 331 kB / 1.454 GB, free: 9.73 MB / 1.139 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * 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 (89): * Single equations (assignments): 83 * 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.001965/1.157, allocations: 0.5901 MB / 1.454 GB, free: 9.312 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.001839/1.159, allocations: 0.7843 MB / 1.455 GB, free: 8.516 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 3.476e-06/1.159, allocations: 4.25 kB / 1.455 GB, free: 8.512 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.0009633/1.16, allocations: 484.2 kB / 1.455 GB, free: 8.027 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001271/1.161, allocations: 303.1 kB / 1.456 GB, free: 7.754 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00331/1.165, allocations: 1.701 MB / 1.457 GB, free: 6.023 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008961/1.166, allocations: 1.023 MB / 1.458 GB, free: 4.977 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.0008357/1.166, allocations: 254.6 kB / 1.459 GB, free: 4.723 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002901/1.167, allocations: 107.4 kB / 1.459 GB, free: 4.617 MB / 1.139 GB Notification: Performance of SimCode: time 1.032e-06/1.167, allocations: 0 / 1.459 GB, free: 4.617 MB / 1.139 GB Notification: Performance of Templates: time 0.0299/1.197, allocations: 15.46 MB / 1.474 GB, free: 5.316 MB / 1.154 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.pipe ; mkfifo Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.pipe ; head -c 1048576 < Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.pipe >> ../files/Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.sim & ./Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse0.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.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.503988132812083]