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.002007/0.002007, allocations: 88.39 kB / 20.23 MB, free: 4.168 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.002549/0.002549, allocations: 161.3 kB / 23.54 MB, free: 0.8594 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.484/1.484, allocations: 177.1 MB / 203.9 MB, free: 5.598 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.866/2.866, allocations: 377.8 MB / 0.6232 GB, free: 8.527 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.303e-06/1.303e-06, allocations: 0 / 0.8108 GB, free: 2.105 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.568e-05/2.698e-05, allocations: 4.25 kB / 0.8108 GB, free: 2.102 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3): time 0.2083/0.2083, allocations: 146.3 MB / 0.9537 GB, free: 15.32 MB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.01414/0.2225, allocations: 7.552 MB / 0.961 GB, free: 7.742 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00125/0.2237, allocations: 47.69 kB / 0.9611 GB, free: 7.695 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.001344/0.2251, allocations: 400.8 kB / 0.9615 GB, free: 7.301 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.004423/0.2295, allocations: 1.414 MB / 0.9629 GB, free: 5.879 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.003399/0.2329, allocations: 1.215 MB / 0.964 GB, free: 4.66 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.003855/0.2367, allocations: 2.483 MB / 0.9665 GB, free: 2.168 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001985/0.2387, allocations: 1.011 MB / 0.9675 GB, free: 1.137 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002605/0.2413, allocations: 1.255 MB / 0.9687 GB, free: 15.88 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001849/0.2432, allocations: 0.6678 MB / 0.9693 GB, free: 15.21 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 0.0003698/0.2436, allocations: 156 kB / 0.9695 GB, free: 15.06 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002397/0.246, allocations: 1.037 MB / 0.9705 GB, free: 14.02 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 0.0005801/0.2465, allocations: 458.5 kB / 0.9709 GB, free: 13.57 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 0.0009903/0.2475, allocations: 0.5455 MB / 0.9715 GB, free: 13.03 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.004482/0.252, allocations: 2.586 MB / 0.974 GB, free: 10.43 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.252, allocations: 0 / 0.974 GB, free: 10.43 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.292e-06/0.252, allocations: 4 kB / 0.974 GB, free: 10.43 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 6.297e-05/0.2521, allocations: 4 kB / 0.974 GB, free: 10.43 MB / 0.9323 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.004424/0.2565, allocations: 1.891 MB / 0.9758 GB, free: 8.488 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 3.764e-05/0.2565, allocations: 8.031 kB / 0.9759 GB, free: 8.48 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002821/0.2594, allocations: 0.5058 MB / 0.9763 GB, free: 7.973 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002102/0.2615, allocations: 1.018 MB / 0.9773 GB, free: 6.926 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001123/0.2616, allocations: 86.23 kB / 0.9774 GB, free: 6.84 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002249/0.2618, allocations: 120 kB / 0.9775 GB, free: 6.723 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0028/0.2646, allocations: 1.551 MB / 0.9791 GB, free: 5.016 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.119e-05/0.2646, allocations: 0 / 0.9791 GB, free: 5.016 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001305/0.2648, allocations: 51.94 kB / 0.9791 GB, free: 4.965 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.347e-05/0.2648, allocations: 38.17 kB / 0.9791 GB, free: 4.926 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002499/0.2673, allocations: 1.269 MB / 0.9804 GB, free: 3.648 MB / 0.9323 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.006449/0.2738, allocations: 2.937 MB / 0.9832 GB, free: 0.6484 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002082/0.2758, allocations: 0.9957 MB / 0.9842 GB, free: 15.65 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007906/0.2766, allocations: 387.2 kB / 0.9846 GB, free: 15.27 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 9.582e-05/0.2767, allocations: 32.98 kB / 0.9846 GB, free: 15.24 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001349/0.2781, allocations: 0.8108 MB / 0.9854 GB, free: 14.36 MB / 0.948 GB Notification: Performance of pre-optimization done (n=110): time 2.675e-06/0.2781, allocations: 0 / 0.9854 GB, free: 14.36 MB / 0.948 GB Notification: Performance of matching and sorting (n=110): time 0.004165/0.2822, allocations: 1.438 MB / 0.9868 GB, free: 12.91 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001641/0.2824, allocations: 208.9 kB / 0.987 GB, free: 12.67 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001284/0.2837, allocations: 0.8101 MB / 0.9878 GB, free: 11.85 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001121/0.2838, allocations: 57.69 kB / 0.9879 GB, free: 11.79 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005678/0.2844, allocations: 0.5365 MB / 0.9884 GB, free: 11.25 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003976/0.2848, allocations: 376.9 kB / 0.9887 GB, free: 10.88 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000376/0.2851, allocations: 218.9 kB / 0.989 GB, free: 10.65 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0002148/0.2854, allocations: 345.9 kB / 0.9893 GB, free: 10.31 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00088/0.2862, allocations: 362.4 kB / 0.9896 GB, free: 9.957 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001063/0.2873, allocations: 0.6329 MB / 0.9902 GB, free: 9.258 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001702/0.289, allocations: 0.8493 MB / 0.9911 GB, free: 8.379 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.36e-06/0.289, allocations: 0 / 0.9911 GB, free: 8.379 MB / 0.948 GB Notification: Performance of matching and sorting (n=139) (initialization): time 0.002918/0.2919, allocations: 1.2 MB / 0.9922 GB, free: 7.168 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.182e-05/0.292, allocations: 4 kB / 0.9922 GB, free: 7.164 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.362e-05/0.292, allocations: 7.828 kB / 0.9923 GB, free: 7.16 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00103/0.293, allocations: 144.9 kB / 0.9924 GB, free: 7.016 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001016/0.294, allocations: 219.7 kB / 0.9926 GB, free: 6.801 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002486/0.2965, allocations: 1.504 MB / 0.9941 GB, free: 5.184 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001133/0.2976, allocations: 111.5 kB / 0.9942 GB, free: 5.074 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001227/0.2978, allocations: 48.05 kB / 0.9942 GB, free: 5.027 MB / 0.948 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.0006775/0.2984, allocations: 332.2 kB / 0.9945 GB, free: 4.695 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003827/0.2988, allocations: 151.2 kB / 0.9947 GB, free: 4.547 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003184/0.302, allocations: 1.272 MB / 0.9959 GB, free: 3.266 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.509e-05/0.302, allocations: 12 kB / 0.9959 GB, free: 3.254 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/0.302, allocations: 0 / 0.9959 GB, free: 3.254 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.411e-05/0.302, allocations: 7.922 kB / 0.9959 GB, free: 3.246 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005213/0.3072, allocations: 2.289 MB / 0.9982 GB, free: 0.9023 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.841e-06/0.3072, allocations: 0 / 0.9982 GB, free: 0.9023 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001006/0.3083, allocations: 215.8 kB / 0.9984 GB, free: 0.6914 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008326/0.3091, allocations: 124.7 kB / 0.9985 GB, free: 0.5664 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001148/0.3092, allocations: 27.98 kB / 0.9985 GB, free: 0.5391 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002361/0.3116, allocations: 1.524 MB / 1 GB, free: 14.9 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.1e-05/0.3116, allocations: 11.95 kB / 1 GB, free: 14.89 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003913/0.3155, allocations: 1.728 MB / 1.002 GB, free: 13.15 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000715/0.3162, allocations: 254.9 kB / 1.002 GB, free: 12.9 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002312/0.3164, allocations: 31.98 kB / 1.002 GB, free: 12.87 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001003/0.3174, allocations: 73.95 kB / 1.002 GB, free: 12.8 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002053/0.3176, allocations: 80.84 kB / 1.002 GB, free: 12.72 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001034/0.3177, allocations: 47.97 kB / 1.002 GB, free: 12.67 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.000969/0.3187, allocations: 0.5615 MB / 1.003 GB, free: 12.12 MB / 0.9636 GB Notification: Performance of sort global known variables: time 1e-07/0.3187, allocations: 4 kB / 1.003 GB, free: 12.11 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.001362/0.3201, allocations: 450.9 kB / 1.003 GB, free: 11.67 MB / 0.9636 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.002751/0.3228, allocations: 0.6908 MB / 1.004 GB, free: 11.18 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.002431/0.3253, allocations: 1.005 MB / 1.005 GB, free: 10.16 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 8.356e-06/0.3253, allocations: 8.516 kB / 1.005 GB, free: 10.16 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.001252/0.3265, allocations: 0.582 MB / 1.005 GB, free: 9.562 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002319/0.3288, allocations: 0.5089 MB / 1.006 GB, free: 9.078 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004891/0.3337, allocations: 2.423 MB / 1.008 GB, free: 6.613 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007844/0.3345, allocations: 0.5762 MB / 1.009 GB, free: 6 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.00117/0.3357, allocations: 333.2 kB / 1.009 GB, free: 5.672 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004168/0.3361, allocations: 132.4 kB / 1.009 GB, free: 5.543 MB / 0.9636 GB Notification: Performance of SimCode: time 7.21e-07/0.3361, allocations: 0 / 1.009 GB, free: 5.543 MB / 0.9636 GB Notification: Performance of Templates: time 0.04383/0.3799, allocations: 21.93 MB / 1.031 GB, free: 44 kB / 0.9792 GB " [Timeout remaining time 300] 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=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.pipe 2>&1) [Timeout 400] 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: 8.957980889012106]