Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.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.001393/0.001393, allocations: 88.72 kB / 19.44 MB, free: 356 kB / 13.93 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.001575/0.001575, allocations: 157.7 kB / 22.75 MB, free: 1.684 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.466/1.466, allocations: 177.1 MB / 203.1 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.259/3.259, allocations: 429.6 MB / 0.673 GB, free: 3.887 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.SimpleHouse1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|walCap.T",fileNamePrefix="Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1") translateModel(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|walCap.T",fileNamePrefix="Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.964e-06/1.964e-06, allocations: 0 / 0.8776 GB, free: 6.512 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.035e-05/3.231e-05, allocations: 4.094 kB / 0.8776 GB, free: 6.508 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1): time 0.00823/0.008262, allocations: 4.678 MB / 0.8821 GB, free: 1.832 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.1895/0.1978, allocations: 132.8 MB / 1.012 GB, free: 12.55 MB / 0.9792 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008652/0.1986, allocations: 23.81 kB / 1.012 GB, free: 12.53 MB / 0.9792 GB Notification: Performance of NFTyping.typeComponents: time 0.0008487/0.1995, allocations: 206.1 kB / 1.012 GB, free: 12.32 MB / 0.9792 GB Notification: Performance of NFTyping.typeBindings: time 0.002362/0.2019, allocations: 0.5862 MB / 1.013 GB, free: 11.73 MB / 0.9792 GB Notification: Performance of NFTyping.typeClassSections: time 0.003637/0.2055, allocations: 0.8763 MB / 1.013 GB, free: 10.86 MB / 0.9792 GB Notification: Performance of NFFlatten.flatten: time 0.00304/0.2085, allocations: 1.517 MB / 1.015 GB, free: 9.328 MB / 0.9792 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001145/0.2097, allocations: 398.2 kB / 1.015 GB, free: 8.922 MB / 0.9792 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001654/0.2113, allocations: 0.7641 MB / 1.016 GB, free: 8.156 MB / 0.9792 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008827/0.2122, allocations: 425.4 kB / 1.016 GB, free: 7.742 MB / 0.9792 GB Notification: Performance of NFPackage.collectConstants: time 0.0003104/0.2125, allocations: 124 kB / 1.017 GB, free: 7.621 MB / 0.9792 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00132/0.2138, allocations: 0.5032 MB / 1.017 GB, free: 7.117 MB / 0.9792 GB Notification: Performance of NFScalarize.scalarize: time 0.000451/0.2143, allocations: 318.9 kB / 1.017 GB, free: 6.805 MB / 0.9792 GB Notification: Performance of NFVerifyModel.verify: time 0.000773/0.2151, allocations: 407 kB / 1.018 GB, free: 6.406 MB / 0.9792 GB Notification: Performance of NFConvertDAE.convert: time 0.003173/0.2182, allocations: 1.842 MB / 1.02 GB, free: 4.559 MB / 0.9792 GB Notification: Performance of FrontEnd - DAE generated: time 8.716e-06/0.2182, allocations: 7.984 kB / 1.02 GB, free: 4.551 MB / 0.9792 GB Notification: Performance of FrontEnd: time 1.844e-06/0.2182, allocations: 0 / 1.02 GB, free: 4.551 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 5.398e-05/0.2183, allocations: 0 / 1.02 GB, free: 4.551 MB / 0.9792 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 224 * Number of variables: 224 Notification: Performance of Generate backend data structure: time 0.004025/0.2223, allocations: 1.455 MB / 1.021 GB, free: 3.055 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 4.155e-05/0.2224, allocations: 12.03 kB / 1.021 GB, free: 3.043 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001853/0.2242, allocations: 347.4 kB / 1.021 GB, free: 2.703 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001637/0.2259, allocations: 0.7494 MB / 1.022 GB, free: 1.93 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.907e-05/0.2259, allocations: 74.12 kB / 1.022 GB, free: 1.859 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001944/0.2261, allocations: 95.98 kB / 1.022 GB, free: 1.766 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002277/0.2284, allocations: 1.208 MB / 1.023 GB, free: 464 kB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.848e-05/0.2284, allocations: 3.953 kB / 1.023 GB, free: 460 kB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001048/0.2286, allocations: 39.98 kB / 1.023 GB, free: 420 kB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.805e-05/0.2286, allocations: 27.98 kB / 1.023 GB, free: 392 kB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002153/0.2307, allocations: 1.089 MB / 1.025 GB, free: 15.3 MB / 0.9948 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.005027/0.2358, allocations: 2.272 MB / 1.027 GB, free: 12.97 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001843/0.2376, allocations: 0.8134 MB / 1.028 GB, free: 12.15 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006595/0.2383, allocations: 307.6 kB / 1.028 GB, free: 11.85 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 8.85e-05/0.2384, allocations: 28.98 kB / 1.028 GB, free: 11.82 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001113/0.2395, allocations: 0.6283 MB / 1.028 GB, free: 11.15 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=90): time 2.755e-06/0.2395, allocations: 0 / 1.028 GB, free: 11.15 MB / 0.9948 GB Notification: Performance of matching and sorting (n=90): time 0.003738/0.2432, allocations: 1.207 MB / 1.03 GB, free: 9.938 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001588/0.2434, allocations: 200.9 kB / 1.03 GB, free: 9.695 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009985/0.2444, allocations: 0.6252 MB / 1.03 GB, free: 9.062 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 9.587e-05/0.2445, allocations: 53.7 kB / 1.031 GB, free: 9.004 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004293/0.2449, allocations: 409.2 kB / 1.031 GB, free: 8.598 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003263/0.2452, allocations: 305.4 kB / 1.031 GB, free: 8.297 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000318/0.2455, allocations: 178.6 kB / 1.031 GB, free: 8.117 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.0002582/0.2458, allocations: 394.7 kB / 1.032 GB, free: 7.723 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006676/0.2465, allocations: 293.8 kB / 1.032 GB, free: 7.438 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008865/0.2473, allocations: 0.5191 MB / 1.033 GB, free: 6.871 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001376/0.2487, allocations: 0.656 MB / 1.033 GB, free: 6.203 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/0.2487, allocations: 0 / 1.033 GB, free: 6.203 MB / 0.9948 GB Notification: Performance of matching and sorting (n=112) (initialization): time 0.002504/0.2512, allocations: 0.9702 MB / 1.034 GB, free: 5.223 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 2.295e-05/0.2513, allocations: 11.98 kB / 1.034 GB, free: 5.211 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.895e-06/0.2513, allocations: 0 / 1.034 GB, free: 5.211 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001024/0.2523, allocations: 128.8 kB / 1.034 GB, free: 5.082 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008822/0.2532, allocations: 179.7 kB / 1.034 GB, free: 4.906 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00245/0.2556, allocations: 1.5 MB / 1.036 GB, free: 3.297 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008044/0.2564, allocations: 95.58 kB / 1.036 GB, free: 3.203 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.981e-05/0.2565, allocations: 40.16 kB / 1.036 GB, free: 3.164 MB / 0.9948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (110): * Single equations (assignments): 109 * 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.0005024/0.257, allocations: 284.2 kB / 1.036 GB, free: 2.875 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002789/0.2573, allocations: 123.4 kB / 1.036 GB, free: 2.754 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002782/0.2601, allocations: 1.089 MB / 1.037 GB, free: 1.645 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.449e-05/0.2601, allocations: 12 kB / 1.037 GB, free: 1.633 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.477e-06/0.2601, allocations: 0 / 1.037 GB, free: 1.633 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.064e-05/0.2601, allocations: 3.984 kB / 1.037 GB, free: 1.629 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0041/0.2642, allocations: 1.911 MB / 1.039 GB, free: 15.67 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.328e-06/0.2642, allocations: 0 / 1.039 GB, free: 15.67 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006908/0.2649, allocations: 155.7 kB / 1.04 GB, free: 15.52 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007855/0.2657, allocations: 132.7 kB / 1.04 GB, free: 15.39 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.897e-05/0.2658, allocations: 23.98 kB / 1.04 GB, free: 15.36 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002241/0.268, allocations: 1.524 MB / 1.041 GB, free: 13.73 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.268, allocations: 0 / 1.041 GB, free: 13.73 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003328/0.2713, allocations: 1.481 MB / 1.043 GB, free: 12.23 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004655/0.2718, allocations: 211 kB / 1.043 GB, free: 12.02 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001658/0.272, allocations: 23.94 kB / 1.043 GB, free: 12 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007194/0.2727, allocations: 71.98 kB / 1.043 GB, free: 11.93 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001875/0.2729, allocations: 72.86 kB / 1.043 GB, free: 11.86 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.111e-05/0.273, allocations: 39.97 kB / 1.043 GB, free: 11.82 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0006763/0.2736, allocations: 447 kB / 1.043 GB, free: 11.39 MB / 1.01 GB Notification: Performance of sort global known variables: time 6e-08/0.2736, allocations: 0 / 1.043 GB, free: 11.39 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.001065/0.2747, allocations: 351.1 kB / 1.044 GB, free: 11.04 MB / 1.01 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (walCap.T) * 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 (100): * Single equations (assignments): 89 * 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.002564/0.2773, allocations: 0.6606 MB / 1.044 GB, free: 10.59 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.002066/0.2793, allocations: 0.8625 MB / 1.045 GB, free: 9.715 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.2793, allocations: 0 / 1.045 GB, free: 9.715 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.001092/0.2804, allocations: 0.5039 MB / 1.046 GB, free: 9.195 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001411/0.2818, allocations: 333.8 kB / 1.046 GB, free: 8.895 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003772/0.2856, allocations: 1.818 MB / 1.048 GB, free: 7.043 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006083/0.2862, allocations: 461.1 kB / 1.048 GB, free: 6.562 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0009319/0.2871, allocations: 262.8 kB / 1.049 GB, free: 6.301 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004556/0.2876, allocations: 112.4 kB / 1.049 GB, free: 6.191 MB / 1.01 GB Notification: Performance of SimCode: time 1.052e-06/0.2876, allocations: 0 / 1.049 GB, free: 6.191 MB / 1.01 GB Notification: Performance of Templates: time 0.3976/0.6851, allocations: 15.88 MB / 1.064 GB, free: 217.1 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.pipe ; mkfifo Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.pipe ; head -c 1048576 < Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.pipe >> ../files/Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.sim & ./Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1 -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.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.40611161396373]