Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001398/0.001398, allocations: 88.39 kB / 20.23 MB, free: 4.172 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001542/0.001542, allocations: 161.3 kB / 23.55 MB, free: 0.8633 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.5/1.5, allocations: 177.1 MB / 203.9 MB, free: 5.59 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.826/2.826, allocations: 377.8 MB / 0.6232 GB, free: 8.527 MB / 0.5886 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0") translateModel(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|TOut.T",fileNamePrefix="Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.943e-06/1.943e-06, allocations: 0 / 0.8108 GB, free: 2.172 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.775e-05/2.97e-05, allocations: 4.703 kB / 0.8108 GB, free: 2.168 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0): time 0.007491/0.007521, allocations: 4.522 MB / 0.8152 GB, free: 13.65 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.1868/0.1943, allocations: 132.7 MB / 0.9448 GB, free: 8.469 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008251/0.1951, allocations: 27.81 kB / 0.9448 GB, free: 8.441 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 0.0008268/0.1959, allocations: 202.1 kB / 0.945 GB, free: 8.242 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 0.002253/0.1982, allocations: 0.5786 MB / 0.9456 GB, free: 7.66 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.002364/0.2006, allocations: 0.853 MB / 0.9464 GB, free: 6.805 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.002306/0.2029, allocations: 1.47 MB / 0.9478 GB, free: 5.324 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001017/0.2039, allocations: 401.9 kB / 0.9482 GB, free: 4.914 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001461/0.2053, allocations: 0.7328 MB / 0.9489 GB, free: 4.18 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008486/0.2062, allocations: 413.2 kB / 0.9493 GB, free: 3.777 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 0.0002785/0.2065, allocations: 120 kB / 0.9494 GB, free: 3.66 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001139/0.2076, allocations: 0.4915 MB / 0.9499 GB, free: 3.168 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 0.0003593/0.208, allocations: 311 kB / 0.9502 GB, free: 2.863 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 0.0006192/0.2086, allocations: 391 kB / 0.9506 GB, free: 2.48 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.002786/0.2114, allocations: 1.795 MB / 0.9523 GB, free: 0.6797 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.2114, allocations: 0 / 0.9523 GB, free: 0.6797 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.283e-06/0.2114, allocations: 0 / 0.9523 GB, free: 0.6797 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 3.575e-05/0.2114, allocations: 0 / 0.9523 GB, free: 0.6797 MB / 0.9011 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 214 * Number of variables: 214 Notification: Performance of Generate backend data structure: time 0.003216/0.2146, allocations: 1.439 MB / 0.9538 GB, free: 15.2 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.621e-05/0.2147, allocations: 8.031 kB / 0.9538 GB, free: 15.19 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001669/0.2163, allocations: 331.6 kB / 0.9541 GB, free: 14.87 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001583/0.2179, allocations: 0.7453 MB / 0.9548 GB, free: 14.1 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.13e-05/0.218, allocations: 74.11 kB / 0.9549 GB, free: 14.03 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001522/0.2181, allocations: 92 kB / 0.955 GB, free: 13.94 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002105/0.2202, allocations: 1.182 MB / 0.9561 GB, free: 12.65 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.072e-05/0.2203, allocations: 0 / 0.9561 GB, free: 12.65 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001009/0.2204, allocations: 40 kB / 0.9562 GB, free: 12.61 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.35e-05/0.2204, allocations: 20 kB / 0.9562 GB, free: 12.59 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002071/0.2225, allocations: 1.057 MB / 0.9572 GB, free: 11.54 MB / 0.9167 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.004853/0.2273, allocations: 2.315 MB / 0.9595 GB, free: 9.16 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00173/0.229, allocations: 0.7781 MB / 0.9602 GB, free: 8.379 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006353/0.2297, allocations: 296.4 kB / 0.9605 GB, free: 8.086 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 8.466e-05/0.2298, allocations: 28.64 kB / 0.9605 GB, free: 8.059 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001077/0.2308, allocations: 0.5969 MB / 0.9611 GB, free: 7.422 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=86): time 2.325e-06/0.2308, allocations: 0 / 0.9611 GB, free: 7.422 MB / 0.9167 GB Notification: Performance of matching and sorting (n=86): time 0.003756/0.2346, allocations: 1.176 MB / 0.9623 GB, free: 6.242 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001584/0.2348, allocations: 208.8 kB / 0.9625 GB, free: 5.992 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001014/0.2358, allocations: 0.6174 MB / 0.9631 GB, free: 5.367 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 0.0001027/0.2359, allocations: 53.69 kB / 0.9631 GB, free: 5.309 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.000464/0.2363, allocations: 409.2 kB / 0.9635 GB, free: 4.902 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003111/0.2367, allocations: 289.5 kB / 0.9638 GB, free: 4.617 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003199/0.237, allocations: 170.6 kB / 0.964 GB, free: 4.445 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0002568/0.2372, allocations: 390.7 kB / 0.9643 GB, free: 4.055 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006692/0.2379, allocations: 285.8 kB / 0.9646 GB, free: 3.777 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00089/0.2388, allocations: 0.5122 MB / 0.9651 GB, free: 3.211 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001339/0.2401, allocations: 0.6451 MB / 0.9657 GB, free: 2.555 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.566e-06/0.2401, allocations: 0 / 0.9657 GB, free: 2.555 MB / 0.9167 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.002488/0.2426, allocations: 0.9584 MB / 0.9667 GB, free: 1.582 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/0.2426, allocations: 4 kB / 0.9667 GB, free: 1.578 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.456e-06/0.2426, allocations: 0 / 0.9667 GB, free: 1.578 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001037/0.2437, allocations: 136.9 kB / 0.9668 GB, free: 1.441 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007499/0.2444, allocations: 155.8 kB / 0.9669 GB, free: 1.289 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002571/0.247, allocations: 1.508 MB / 0.9684 GB, free: 15.68 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008137/0.2478, allocations: 97.78 kB / 0.9685 GB, free: 15.58 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.875e-05/0.2479, allocations: 43.97 kB / 0.9686 GB, free: 15.54 MB / 0.9323 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 27 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.decAng.k,$PRE.weaDat.decAng.k,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.k,$PRE.weaDat.eqnTim.k,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.k,$PRE.weaDat.conTim.k,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.k,$PRE.weaDat.conTimMin.k,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.k,$PRE.weaDat.locTim.k,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 (106): * Single equations (assignments): 105 * 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.0005199/0.2484, allocations: 272.2 kB / 0.9688 GB, free: 15.26 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002751/0.2487, allocations: 115.4 kB / 0.9689 GB, free: 15.15 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002773/0.2515, allocations: 1.078 MB / 0.97 GB, free: 14.05 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.073e-05/0.2515, allocations: 8 kB / 0.97 GB, free: 14.04 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.2515, allocations: 4 kB / 0.97 GB, free: 14.04 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.444e-05/0.2515, allocations: 15.89 kB / 0.97 GB, free: 14.02 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004047/0.2556, allocations: 1.875 MB / 0.9718 GB, free: 12.1 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.228e-06/0.2556, allocations: 0 / 0.9718 GB, free: 12.1 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006193/0.2562, allocations: 147.8 kB / 0.972 GB, free: 11.95 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008021/0.257, allocations: 116.8 kB / 0.9721 GB, free: 11.84 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.265e-05/0.2571, allocations: 27.97 kB / 0.9721 GB, free: 11.81 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002316/0.2594, allocations: 1.528 MB / 0.9736 GB, free: 10.17 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.881e-06/0.2594, allocations: 4 kB / 0.9736 GB, free: 10.17 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00244/0.2618, allocations: 1.049 MB / 0.9746 GB, free: 9.098 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005146/0.2623, allocations: 211 kB / 0.9748 GB, free: 8.891 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001606/0.2625, allocations: 24 kB / 0.9749 GB, free: 8.867 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000745/0.2632, allocations: 67.92 kB / 0.9749 GB, free: 8.801 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001763/0.2634, allocations: 68.86 kB / 0.975 GB, free: 8.734 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.277e-05/0.2635, allocations: 43.91 kB / 0.975 GB, free: 8.691 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.0008009/0.2643, allocations: 439 kB / 0.9754 GB, free: 8.266 MB / 0.9323 GB Notification: Performance of sort global known variables: time 8e-08/0.2643, allocations: 0 / 0.9754 GB, free: 8.266 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.001072/0.2654, allocations: 339.2 kB / 0.9758 GB, free: 7.934 MB / 0.9323 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.locTim.k,weaDat.conTimMin.tNext,weaDat.conTimMin.k,weaDat.conTim.tNext,weaDat.conTim.k,weaDat.eqnTim.tNext,weaDat.eqnTim.k,weaDat.decAng.tNext,weaDat.decAng.k) * Number of discrete states: 10 (weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.locTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext,weaDat.decAng.k,weaDat.eqnTim.k,weaDat.conTim.k,weaDat.conTimMin.k,weaDat.locTim.k) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (97): * Single equations (assignments): 86 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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.002571/0.2679, allocations: 0.6574 MB / 0.9764 GB, free: 7.477 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.002076/0.27, allocations: 0.843 MB / 0.9772 GB, free: 6.621 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 5.8e-06/0.27, allocations: 4 kB / 0.9772 GB, free: 6.617 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.001093/0.2711, allocations: 0.4962 MB / 0.9777 GB, free: 6.105 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00143/0.2725, allocations: 325.9 kB / 0.978 GB, free: 5.812 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003596/0.2761, allocations: 1.731 MB / 0.9797 GB, free: 4.047 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005649/0.2767, allocations: 448.4 kB / 0.9802 GB, free: 3.578 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.0008791/0.2776, allocations: 262.7 kB / 0.9804 GB, free: 3.316 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003385/0.2779, allocations: 112.4 kB / 0.9805 GB, free: 3.207 MB / 0.9323 GB Notification: Performance of SimCode: time 1.382e-06/0.2779, allocations: 0 / 0.9805 GB, free: 3.207 MB / 0.9323 GB Notification: Performance of Templates: time 0.03068/0.3086, allocations: 15.7 MB / 0.9958 GB, free: 3.793 MB / 0.948 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.pipe ; mkfifo Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.pipe ; head -c 1048576 < Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.pipe >> ../files/Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.sim & ./Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse0.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 8.532543051056564]