Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001661/0.001661, allocations: 115.7 kB / 18.89 MB, free: 2.898 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.001979/0.001979, allocations: 201 kB / 22.17 MB, free: 5.211 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.449/1.449, allocations: 225.6 MB / 250.9 MB, free: 13.26 MB / 206.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.841/2.841, allocations: 476.7 MB / 0.7645 GB, free: 10.1 MB / 0.6231 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.SimpleHouse3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|zon.T",fileNamePrefix="Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3") translateModel(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|zon.T",fileNamePrefix="Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001982/0.001982, allocations: 67.88 kB / 1.109 GB, free: 6.52 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.729/0.731, allocations: 168.7 MB / 1.274 GB, free: 4.395 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3): time 0.201/0.9319, allocations: 166.8 MB / 1.437 GB, free: 12.99 MB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.01325/0.9452, allocations: 7.965 MB / 1.445 GB, free: 5 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00124/0.9464, allocations: 31.81 kB / 1.445 GB, free: 4.969 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.001166/0.9476, allocations: 420.9 kB / 1.445 GB, free: 4.555 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.003913/0.9515, allocations: 1.34 MB / 1.446 GB, free: 3.211 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.00299/0.9545, allocations: 1.209 MB / 1.448 GB, free: 2.008 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.003335/0.9578, allocations: 2.357 MB / 1.45 GB, free: 15.64 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001538/0.9594, allocations: 0.9715 MB / 1.451 GB, free: 14.64 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001321/0.9607, allocations: 0.8213 MB / 1.452 GB, free: 13.82 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001632/0.9623, allocations: 0.8168 MB / 1.452 GB, free: 13 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0002383/0.9626, allocations: 155.9 kB / 1.453 GB, free: 12.85 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002406/0.965, allocations: 1.162 MB / 1.454 GB, free: 11.69 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0004584/0.9654, allocations: 438.6 kB / 1.454 GB, free: 11.26 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0008576/0.9663, allocations: 0.7774 MB / 1.455 GB, free: 10.48 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.003532/0.9698, allocations: 2.417 MB / 1.457 GB, free: 8.051 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 3.958e-06/0.9698, allocations: 4 kB / 1.457 GB, free: 8.047 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.323e-06/0.9698, allocations: 0 / 1.457 GB, free: 8.047 MB / 1.154 GB Notification: Performance of Transformations before backend: time 2.799e-05/0.9699, allocations: 0 / 1.457 GB, free: 8.047 MB / 1.154 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.004516/0.9744, allocations: 1.927 MB / 1.459 GB, free: 6.059 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 3.936e-05/0.9744, allocations: 8.031 kB / 1.459 GB, free: 6.051 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00206/0.9765, allocations: 334.7 kB / 1.46 GB, free: 5.723 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001921/0.9784, allocations: 1.027 MB / 1.461 GB, free: 4.648 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.191e-05/0.9785, allocations: 82.2 kB / 1.461 GB, free: 4.566 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001736/0.9787, allocations: 111.9 kB / 1.461 GB, free: 4.457 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002211/0.9809, allocations: 1.172 MB / 1.462 GB, free: 3.215 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.966e-05/0.9809, allocations: 4 kB / 1.462 GB, free: 3.211 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001165/0.981, allocations: 48 kB / 1.462 GB, free: 3.164 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.758e-05/0.9811, allocations: 42.06 kB / 1.462 GB, free: 3.121 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002359/0.9834, allocations: 1.312 MB / 1.463 GB, free: 1.801 MB / 1.154 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.006337/0.9898, allocations: 3.816 MB / 1.467 GB, free: 13.78 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001921/0.9917, allocations: 0.9461 MB / 1.468 GB, free: 12.83 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007258/0.9924, allocations: 366.2 kB / 1.468 GB, free: 12.47 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 9.216e-05/0.9925, allocations: 37.02 kB / 1.468 GB, free: 12.44 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001117/0.9936, allocations: 0.5865 MB / 1.469 GB, free: 11.83 MB / 1.17 GB Notification: Performance of pre-optimization done (n=102): time 2.786e-06/0.9936, allocations: 3.938 kB / 1.469 GB, free: 11.83 MB / 1.17 GB Notification: Performance of matching and sorting (n=102): time 0.00404/0.9977, allocations: 1.447 MB / 1.47 GB, free: 10.36 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001322/0.9978, allocations: 192.9 kB / 1.47 GB, free: 10.12 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001255/0.9991, allocations: 0.8337 MB / 1.471 GB, free: 9.266 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 9.739e-05/0.9991, allocations: 45.7 kB / 1.471 GB, free: 9.215 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005261/0.9997, allocations: 0.5324 MB / 1.472 GB, free: 8.676 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003753/1, allocations: 361 kB / 1.472 GB, free: 8.32 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003392/1, allocations: 198.5 kB / 1.472 GB, free: 8.121 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001787/1.001, allocations: 345.9 kB / 1.473 GB, free: 7.777 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007168/1.001, allocations: 337.8 kB / 1.473 GB, free: 7.445 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000877/1.002, allocations: 488.1 kB / 1.473 GB, free: 6.938 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001536/1.004, allocations: 0.7971 MB / 1.474 GB, free: 6.109 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.369e-06/1.004, allocations: 0 / 1.474 GB, free: 6.109 MB / 1.17 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.002617/1.006, allocations: 1.075 MB / 1.475 GB, free: 5.023 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 3.079e-05/1.006, allocations: 14.27 kB / 1.475 GB, free: 5.012 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.817e-06/1.006, allocations: 4 kB / 1.475 GB, free: 5.008 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006263/1.007, allocations: 80.84 kB / 1.475 GB, free: 4.926 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009321/1.008, allocations: 223.7 kB / 1.476 GB, free: 4.707 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002396/1.01, allocations: 1.634 MB / 1.477 GB, free: 2.926 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001192/1.012, allocations: 111.3 kB / 1.477 GB, free: 2.816 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.786e-05/1.012, allocations: 47.97 kB / 1.477 GB, free: 2.77 MB / 1.17 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.0006652/1.012, allocations: 315.3 kB / 1.478 GB, free: 2.449 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002571/1.013, allocations: 123.2 kB / 1.478 GB, free: 2.328 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002851/1.015, allocations: 1.248 MB / 1.479 GB, free: 1.066 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.338e-05/1.015, allocations: 12 kB / 1.479 GB, free: 1.055 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.396e-06/1.015, allocations: 0 / 1.479 GB, free: 1.055 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.617e-05/1.015, allocations: 7.969 kB / 1.479 GB, free: 1.047 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001698/1.017, allocations: 1.158 MB / 1.48 GB, free: 15.84 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.499e-06/1.017, allocations: 0 / 1.48 GB, free: 15.84 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009165/1.018, allocations: 211.8 kB / 1.48 GB, free: 15.63 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004639/1.018, allocations: 76.73 kB / 1.48 GB, free: 15.55 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.347e-05/1.019, allocations: 27.97 kB / 1.48 GB, free: 15.53 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002425/1.021, allocations: 1.654 MB / 1.482 GB, free: 13.72 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.99e-06/1.021, allocations: 3.938 kB / 1.482 GB, free: 13.72 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003578/1.025, allocations: 1.578 MB / 1.484 GB, free: 12.12 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008918/1.025, allocations: 332.1 kB / 1.484 GB, free: 11.78 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002696/1.026, allocations: 27.94 kB / 1.484 GB, free: 11.75 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009934/1.027, allocations: 75.91 kB / 1.484 GB, free: 11.68 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002222/1.027, allocations: 80.89 kB / 1.484 GB, free: 11.59 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001077/1.027, allocations: 39.97 kB / 1.484 GB, free: 11.55 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.001227/1.028, allocations: 0.5819 MB / 1.485 GB, free: 10.96 MB / 1.186 GB Notification: Performance of sort global known variables: time 1.01e-07/1.028, allocations: 0 / 1.485 GB, free: 10.96 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.001487/1.03, allocations: 431 kB / 1.485 GB, free: 10.54 MB / 1.186 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.002161/1.032, allocations: 0.6267 MB / 1.486 GB, free: 10.1 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.002296/1.034, allocations: 0.9639 MB / 1.487 GB, free: 9.125 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 3.927e-06/1.034, allocations: 0 / 1.487 GB, free: 9.125 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.001249/1.035, allocations: 0.5709 MB / 1.487 GB, free: 8.543 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002131/1.038, allocations: 499.1 kB / 1.488 GB, free: 8.078 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004861/1.042, allocations: 2.484 MB / 1.49 GB, free: 5.566 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001217/1.044, allocations: 1.154 MB / 1.491 GB, free: 4.379 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.00117/1.045, allocations: 329.2 kB / 1.492 GB, free: 4.055 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003954/1.045, allocations: 123.4 kB / 1.492 GB, free: 3.934 MB / 1.186 GB Notification: Performance of SimCode: time 8.92e-07/1.045, allocations: 0 / 1.492 GB, free: 3.934 MB / 1.186 GB Notification: Performance of Templates: time 0.04127/1.087, allocations: 21.48 MB / 1.513 GB, free: 14.72 MB / 1.217 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.pipe ; mkfifo Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.pipe ; head -c 1048576 < Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.pipe >> ../files/Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.sim & ./Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3 -abortSlowSimulation -alarm=400 -s cvode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_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.744388794992119]