Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.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.002535/0.002535, allocations: 79.7 kB / 20.23 MB, free: 4.195 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.002977/0.002977, allocations: 161.7 kB / 23.55 MB, free: 0.8789 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.594/1.594, allocations: 177.1 MB / 203.9 MB, free: 5.609 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 3.019/3.019, allocations: 377.9 MB / 0.6232 GB, free: 8.543 MB / 0.5886 GB " [Timeout remaining time 176] 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.SimpleHouse3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|zon.T",fileNamePrefix="Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3") translateModel(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|zon.T",fileNamePrefix="Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.413e-06/1.413e-06, allocations: 0 / 0.8108 GB, free: 2.102 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.621e-05/2.762e-05, allocations: 3.031 kB / 0.8108 GB, free: 2.098 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3): time 0.2215/0.2216, allocations: 162 MB / 0.969 GB, free: 15.62 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.01465/0.2362, allocations: 8.066 MB / 0.9768 GB, free: 7.531 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001224/0.2374, allocations: 43.69 kB / 0.9769 GB, free: 7.488 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 0.001219/0.2387, allocations: 408.8 kB / 0.9773 GB, free: 7.086 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 0.003966/0.2426, allocations: 1.402 MB / 0.9786 GB, free: 5.676 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.003091/0.2457, allocations: 1.223 MB / 0.9798 GB, free: 4.449 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 0.003416/0.2491, allocations: 2.468 MB / 0.9822 GB, free: 1.973 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001735/0.2509, allocations: 1.023 MB / 0.9832 GB, free: 0.9297 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002034/0.2529, allocations: 1.247 MB / 0.9845 GB, free: 15.68 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001613/0.2545, allocations: 0.6729 MB / 0.9851 GB, free: 15.01 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 0.0002975/0.2548, allocations: 160 kB / 0.9853 GB, free: 14.86 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002361/0.2572, allocations: 1.033 MB / 0.9863 GB, free: 13.82 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 0.000529/0.2577, allocations: 470.4 kB / 0.9867 GB, free: 13.36 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 0.0007634/0.2585, allocations: 0.5455 MB / 0.9873 GB, free: 12.81 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.003835/0.2623, allocations: 2.593 MB / 0.9898 GB, free: 10.21 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.2623, allocations: 0 / 0.9898 GB, free: 10.21 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.352e-06/0.2623, allocations: 0 / 0.9898 GB, free: 10.21 MB / 0.948 GB Notification: Performance of Transformations before backend: time 1.884e-05/0.2623, allocations: 0 / 0.9898 GB, free: 10.21 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 284 * Number of variables: 284 Notification: Performance of Generate backend data structure: time 0.003912/0.2662, allocations: 2.108 MB / 0.9918 GB, free: 8.051 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.986e-05/0.2663, allocations: 12.03 kB / 0.9919 GB, free: 8.039 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002517/0.2688, allocations: 0.498 MB / 0.9923 GB, free: 7.539 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001938/0.2707, allocations: 0.993 MB / 0.9933 GB, free: 6.516 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.542e-05/0.2708, allocations: 90.22 kB / 0.9934 GB, free: 6.426 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002097/0.271, allocations: 124 kB / 0.9935 GB, free: 6.305 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002457/0.2735, allocations: 1.557 MB / 0.995 GB, free: 4.578 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.18e-05/0.2735, allocations: 0 / 0.995 GB, free: 4.578 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001171/0.2736, allocations: 48 kB / 0.9951 GB, free: 4.531 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.945e-05/0.2737, allocations: 38.17 kB / 0.9951 GB, free: 4.492 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00226/0.276, allocations: 1.179 MB / 0.9963 GB, free: 3.305 MB / 0.948 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.007062/0.283, allocations: 3.877 MB / 1 GB, free: 15.31 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001806/0.2848, allocations: 0.8952 MB / 1.001 GB, free: 14.42 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000677/0.2855, allocations: 351.6 kB / 1.001 GB, free: 14.07 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 9.572e-05/0.2856, allocations: 36.97 kB / 1.001 GB, free: 14.04 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001245/0.2868, allocations: 0.8062 MB / 1.002 GB, free: 13.16 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=110): time 2.866e-06/0.2868, allocations: 0 / 1.002 GB, free: 13.16 MB / 0.9636 GB Notification: Performance of matching and sorting (n=110): time 0.003818/0.2907, allocations: 1.296 MB / 1.003 GB, free: 11.85 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001495/0.2908, allocations: 204.9 kB / 1.004 GB, free: 11.61 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001497/0.2923, allocations: 0.9994 MB / 1.005 GB, free: 10.59 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 9.165e-05/0.2924, allocations: 53.7 kB / 1.005 GB, free: 10.54 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006348/0.293, allocations: 0.6446 MB / 1.005 GB, free: 9.883 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004258/0.2935, allocations: 404.8 kB / 1.006 GB, free: 9.484 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004207/0.2939, allocations: 268.5 kB / 1.006 GB, free: 9.211 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0003262/0.2942, allocations: 0.5511 MB / 1.006 GB, free: 8.652 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006432/0.2949, allocations: 294.5 kB / 1.007 GB, free: 8.367 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009745/0.2958, allocations: 0.6243 MB / 1.007 GB, free: 7.664 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001495/0.2973, allocations: 0.7833 MB / 1.008 GB, free: 6.836 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.546e-06/0.2973, allocations: 7.984 kB / 1.008 GB, free: 6.828 MB / 0.9636 GB Notification: Performance of matching and sorting (n=139) (initialization): time 0.002619/0.2999, allocations: 1.078 MB / 1.009 GB, free: 5.738 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.792e-05/0.3, allocations: 4 kB / 1.009 GB, free: 5.734 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.305e-06/0.3, allocations: 4 kB / 1.009 GB, free: 5.73 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009907/0.301, allocations: 151.7 kB / 1.009 GB, free: 5.578 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009884/0.302, allocations: 239.6 kB / 1.009 GB, free: 5.344 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002711/0.3047, allocations: 2.031 MB / 1.011 GB, free: 3.184 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009538/0.3056, allocations: 103.5 kB / 1.012 GB, free: 3.082 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.93e-05/0.3057, allocations: 43.97 kB / 1.012 GB, free: 3.039 MB / 0.9636 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (137): * Single equations (assignments): 136 * 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.0005714/0.3063, allocations: 327.1 kB / 1.012 GB, free: 2.707 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002991/0.3066, allocations: 159.2 kB / 1.012 GB, free: 2.551 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002815/0.3094, allocations: 1.169 MB / 1.013 GB, free: 1.371 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.268e-05/0.3094, allocations: 12 kB / 1.013 GB, free: 1.359 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.345e-06/0.3094, allocations: 0 / 1.013 GB, free: 1.359 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.881e-05/0.3094, allocations: 11.91 kB / 1.013 GB, free: 1.348 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00485/0.3143, allocations: 2.428 MB / 1.016 GB, free: 14.86 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.929e-06/0.3143, allocations: 0 / 1.016 GB, free: 14.86 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009486/0.3152, allocations: 207.8 kB / 1.016 GB, free: 14.66 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007912/0.316, allocations: 127.6 kB / 1.016 GB, free: 14.53 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.052e-05/0.3161, allocations: 27.98 kB / 1.016 GB, free: 14.5 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002566/0.3187, allocations: 2.062 MB / 1.018 GB, free: 12.32 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.557e-06/0.3187, allocations: 3.938 kB / 1.018 GB, free: 12.31 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003281/0.322, allocations: 1.61 MB / 1.02 GB, free: 10.68 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006111/0.3226, allocations: 258.7 kB / 1.02 GB, free: 10.43 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001757/0.3227, allocations: 31.98 kB / 1.02 GB, free: 10.39 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007527/0.3235, allocations: 49.84 kB / 1.02 GB, free: 10.35 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002139/0.3237, allocations: 92.89 kB / 1.02 GB, free: 10.25 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.072e-05/0.3238, allocations: 43.97 kB / 1.02 GB, free: 10.21 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.0009218/0.3247, allocations: 0.62 MB / 1.021 GB, free: 9.594 MB / 0.9792 GB Notification: Performance of sort global known variables: time 8e-08/0.3247, allocations: 0 / 1.021 GB, free: 9.594 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.001196/0.3259, allocations: 458.8 kB / 1.021 GB, free: 9.145 MB / 0.9792 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: 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 (121): * Single equations (assignments): 110 * 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.003443/0.3294, allocations: 0.693 MB / 1.022 GB, free: 8.66 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.002153/0.3315, allocations: 1.034 MB / 1.023 GB, free: 7.602 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 2.856e-06/0.3315, allocations: 0 / 1.023 GB, free: 7.602 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.001194/0.3327, allocations: 0.6532 MB / 1.023 GB, free: 6.93 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002208/0.3349, allocations: 0.5116 MB / 1.024 GB, free: 6.438 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004429/0.3394, allocations: 2.321 MB / 1.026 GB, free: 4.07 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006993/0.3401, allocations: 0.5684 MB / 1.027 GB, free: 3.469 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.0009918/0.341, allocations: 305.3 kB / 1.027 GB, free: 3.168 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003624/0.3414, allocations: 136.4 kB / 1.027 GB, free: 3.035 MB / 0.9792 GB Notification: Performance of SimCode: time 9.52e-07/0.3414, allocations: 0 / 1.027 GB, free: 3.035 MB / 0.9792 GB Notification: Performance of Templates: time 0.3553/0.6967, allocations: 22.14 MB / 1.049 GB, free: 272.8 MB / 0.9948 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.pipe ; mkfifo Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.pipe ; head -c 1048576 < Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.pipe >> ../files/Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.sim & ./Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.701027871109545]